mirror of
https://github.com/ai/visibilityjs.git
synced 2026-01-14 07:47:57 -05:00
22 lines
939 B
Ruby
22 lines
939 B
Ruby
# -*- encoding: utf-8 -*-
|
||
|
||
Gem::Specification.new do |s|
|
||
s.name = 'visibility'
|
||
s.version = '0.2'
|
||
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 = Dir.glob('vendor/**/*') + %w(LICENSE README.md ChangeLog)
|
||
s.extra_rdoc_files = %w(LICENSE README.md)
|
||
end
|