From 8a50c79ca431f42ed3dcc41d8a789505ddf2cf89 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 31 Jan 2011 09:10:21 +0000 Subject: add gemspec for RubyGems.org This allows other RubyGems to depend on us more easily. --- mahoro.gemspec | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 mahoro.gemspec diff --git a/mahoro.gemspec b/mahoro.gemspec new file mode 100644 index 0000000..b21d4ba --- /dev/null +++ b/mahoro.gemspec @@ -0,0 +1,25 @@ +ENV["VERSION"] or abort "VERSION= must be specified" + +Gem::Specification.new do |s| + s.name = %q{mahoro} + s.version = ENV["VERSION"].dup + s.homepage = "http://mahoro.rubyforge.org/" + s.authors = [ "Shu-yu Guo", "Eric Wong" ] + s.date = Time.now.utc.strftime('%Y-%m-%d') + s.description = %{ +An interface to libmagic to determine file types using "magic" numbers. +This can be used in place of calling the file(1) command in Ruby scripts. +Shu-yu Guo is the original author but all maintenance is handled by +Eric Wong nowadays. + +source: http://bogomips.org/mahoro.git/ + }.strip + s.email = %q{normalperson@yhbt.net} + s.files = `git ls-files`.split(/\n/) + s.rubyforge_project = %q{mahoro} + s.summary = 'An interface to libmagic' + s.test_files = %w(test.rb) + s.extensions = %w(extconf.rb) + + s.license = "Public Domain" # disabled for compatibility with older RubyGems +end -- cgit v1.2.3-24-ge0c7