# encoding: utf-8 Gem::Specification.new do |s| s.name = 'visibilityjs' s.version = '0.3' s.platform = Gem::Platform::RUBY s.authors = ['Andrey “A.I.” Sitnik'] s.email = ['andrey@sitnik.ru'] s.homepage = 'https://github.com/evilmartians/visibility.js' s.summary = 'Visibility.js – a wrapper for the Page Visibility API.' s.description = 'Visibility.js allow you to determine whether ' + 'your web page is visible to an user, is hidden in ' + 'background tab or is prerendering. It allows you use ' + 'the page visibility state in JavaScript logic and improve ' + 'browser performance or improve user interface experience.' s.add_dependency 'sprockets', '>= 2.0.0.beta.5' s.files = ['vendor/assets/javascripts/visibility.js', 'lib/visibilityjs.rb', 'LICENSE', 'README.md', 'ChangeLog'] s.extra_rdoc_files = ['LICENSE', 'README.md', 'ChangeLog'] s.require_path = 'lib' end