diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-04-03 23:36:32 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-04-03 23:36:32 +0000 |
commit | 5d50d5c80ea510d153136390b1e43e0dca69396d (patch) | |
tree | e4a9172cb853651747a19cc76692e1903a095964 /mahoro.gemspec | |
parent | ec0b5b656e6cad27a70d1e0dac8ca8ecfa203e4e (diff) | |
download | mahoro-5d50d5c80ea510d153136390b1e43e0dca69396d.tar.gz |
gemspec: cleanup and update rdoc options
In case users want to install documentation with their RubyGems
Diffstat (limited to 'mahoro.gemspec')
-rw-r--r-- | mahoro.gemspec | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mahoro.gemspec b/mahoro.gemspec index b21d4ba..f33b488 100644 --- a/mahoro.gemspec +++ b/mahoro.gemspec @@ -5,7 +5,6 @@ Gem::Specification.new do |s| 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. @@ -20,6 +19,8 @@ source: http://bogomips.org/mahoro.git/ s.summary = 'An interface to libmagic' s.test_files = %w(test.rb) s.extensions = %w(extconf.rb) + s.extra_rdoc_files = %w(mahoro.c) + s.rdoc_options = %w(--exclude \.o --exclude \.so) - s.license = "Public Domain" # disabled for compatibility with older RubyGems + s.license = "Public Domain" end |