/usr/share/rubygems-integration/all/specifications/rack-mobile-detect-0.4.0.gemspec is in ruby-rack-mobile-detect 0.4.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | # -*- encoding: utf-8 -*-
# stub: rack-mobile-detect 0.4.0 ruby lib
Gem::Specification.new do |s|
s.name = "rack-mobile-detect"
s.version = "0.4.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Tom Alison"]
s.date = "2016-03-04"
s.description = "Rack::MobileDetect detects mobile devices and adds an\n X_MOBILE_DEVICE header to the request if a mobile device is detected. Specific\n devices can be targeted with custom Regexps and redirect support is available."
s.email = "accounts@majortom.fastmail.us"
s.extra_rdoc_files = ["LICENSE", "README.md", "TODO"]
s.files = [".document", "CHANGELOG.md", "LICENSE", "README.md", "Rakefile", "TODO", "VERSION.yml", "lib/rack/mobile-detect.rb", "rack-mobile-detect.gemspec", "test/helper.rb", "test/test_rack-mobile-detect.rb", "util/echo_env.rb"]
s.homepage = "http://github.com/talison/rack-mobile-detect"
s.rubygems_version = "2.5.1"
s.summary = "Rack middleware for ruby webapps to detect mobile devices."
s.test_files = ["test/helper.rb", "test/test_rack-mobile-detect.rb"]
if s.respond_to? :specification_version then
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<shoulda>, [">= 0"])
s.add_runtime_dependency(%q<rack>, [">= 0"])
else
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<rack>, [">= 0"])
end
else
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<rack>, [">= 0"])
end
end
|