# -*- encoding: utf-8 -*- # stub: magic 0.2.1 ruby lib Gem::Specification.new do |s| s.name = "magic".freeze s.version = "0.2.1".freeze s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["Jakub Ku\u00C5\u00BAma".freeze] s.date = "2010-01-11" s.description = "Ruby FFI bindings to libmagic".freeze s.email = "qoobaa@gmail.com".freeze s.extra_rdoc_files = ["LICENSE".freeze, "README.rdoc".freeze] s.files = [".document".freeze, ".gitignore".freeze, "LICENSE".freeze, "README.rdoc".freeze, "Rakefile".freeze, "VERSION".freeze, "lib/magic.rb".freeze, "lib/magic/api.rb".freeze, "lib/magic/constants.rb".freeze, "lib/magic/database.rb".freeze, "lib/magic/errors.rb".freeze, "test/fixtures/filelogo.jpg".freeze, "test/fixtures/magic.txt".freeze, "test/fixtures/magic_empty".freeze, "test/fixtures/magic_jpeg".freeze, "test/helper.rb".freeze, "test/test_magic.rb".freeze] s.homepage = "http://github.com/qoobaa/magic".freeze 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 |\n| |\n| find / -name libmagic.1.dylib |\n| |\n| You need to install it via port command |\n| |\n| sudo port install file |\n| |\n| Sometimes you'll also need to set your DYLD_FALLBACK_LIBRARY_PATH |\n| environment variable to the directory of the libmagic.1.dylib |\n| |\n| export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib |\n| |\n+-------------------------------------------------------------------+\n".freeze s.rdoc_options = ["--charset=UTF-8".freeze] s.rubygems_version = "3.5.10".freeze s.summary = "Determine file type and encoding using \"magic\" numbers".freeze s.test_files = ["test/test_magic.rb".freeze, "test/helper.rb".freeze] s.specification_version = 3 s.add_runtime_dependency(%q.freeze, [">= 0.5.1".freeze]) s.add_development_dependency(%q.freeze, [">= 2.0".freeze]) end