```ruby
# encoding: utf-8

Gem::Specification.new do |s|
  s.name        = 'visibilityjs'
  s.version     = '0.4.3'
  s.platform    = Gem::Platform::RUBY
  s.authors     = ['Andrey “A.I.” Sitnik']
  s.email       = ['andrey@sitnik.ru']
  s.homepage    = 'https://github.com/ai/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'

  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
```

Replace quotes by ASCII7 so gem tool doesn't barf when running on JRuby
user
```ruby
# encoding: utf-8

Gem::Specification.new do |s|
  s.name        = 'visibilityjs'
  s.version     = '0.4.3'
  s.platform    = Gem::Platform::RUBY
  s.authors     = ['Andrey "A.I" Sitnik']
  s.email       = ['andrey@sitnik.ru']
  s.homepage    = 'https://github.com/ai/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'

  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
```
assistant