From 5d50d5c80ea510d153136390b1e43e0dca69396d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 3 Apr 2013 23:36:32 +0000 Subject: gemspec: cleanup and update rdoc options In case users want to install documentation with their RubyGems --- mahoro.gemspec | 5 +++-- 1 file 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 -- cgit v1.2.3-24-ge0c7