mirror of
https://github.com/ai/visibilityjs.git
synced 2026-01-14 07:47:57 -05:00
26 lines
1.1 KiB
Ruby
26 lines
1.1 KiB
Ruby
# encoding: utf-8
|
||
|
||
Gem::Specification.new do |s|
|
||
s.name = 'visibilityjs'
|
||
s.version = '0.4'
|
||
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',
|
||
'vendor/assets/javascripts/visibility.fallback.js',
|
||
'lib/visibilityjs.rb',
|
||
'LICENSE', 'README.md', 'ChangeLog']
|
||
s.extra_rdoc_files = ['LICENSE', 'README.md', 'ChangeLog']
|
||
s.require_path = 'lib'
|
||
end
|