/usr/share/rubygems-integration/2.0/specifications/magic-0.2.6.gemspec is in ruby-magic 0.2.6-2.
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 | # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = "magic"
s.version = "0.2.6"
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.6") if s.respond_to? :required_rubygems_version=
s.authors = ["Jakub Ku\u{17a}ma"]
s.date = "2014-01-13"
s.description = "Ruby FFI bindings to libmagic"
s.email = "qoobaa@gmail.com"
s.files = ["lib/magic", "lib/magic/database.rb", "lib/magic/errors.rb", "lib/magic/constants.rb", "lib/magic/version.rb", "lib/magic/api.rb", "lib/magic.rb", "LICENSE", "README.rdoc"]
s.homepage = "http://jah.pl/projects/magic.html"
s.post_install_message = "+-NOTE FOR LINUX USERS----------------------------------------------+\n| |\n| Install libmagic using your package manager, e.g. |\n| |\n| sudo apt-get install file |\n| |\n+-NOTE FOR WINDOWS USERS -------------------------------------------+\n| |\n| Install File for Windows from |\n| |\n| http://gnuwin32.sourceforge.net/packages/file.htm |\n| |\n| You'll also need to set your PATH environment variable to the |\n| directory of the magic1.dll file |\n| |\n| set PATH=C:\\Program Files\\GnuWin32\\bin;%PATH% |\n| |\n+-NOTE FOR MAC OS USERS --------------------------------------------+\n| |\n| If you don't have libmagic.1.dylib file in your system, you need |\n| to install it using port command |\n| |\n| sudo port install file |\n| |\n+-------------------------------------------------------------------+\n"
s.require_paths = ["lib"]
s.rubygems_version = "1.8.23"
s.summary = "Determine file type and encoding using \"magic\" numbers"
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_runtime_dependency(%q<ffi>, [">= 0.6.3"])
s.add_development_dependency(%q<test-unit>, [">= 2.0"])
else
s.add_dependency(%q<ffi>, [">= 0.6.3"])
s.add_dependency(%q<test-unit>, [">= 2.0"])
end
else
s.add_dependency(%q<ffi>, [">= 0.6.3"])
s.add_dependency(%q<test-unit>, [">= 2.0"])
end
end
|