[hikidoc-commits] [128] trunk/Rakefile: fix failure of `rake -T' with hoe 1.9.0 or later.

nobody at rubyforge.org nobody at rubyforge.org
Tue Aug 10 10:43:22 EDT 2010


Revision: 128
Author:   kimuraw
Date:     2010-08-10 10:43:21 -0400 (Tue, 10 Aug 2010)

Log Message:
-----------
fix failure of `rake -T' with hoe 1.9.0 or later. [hikidoc:155]

Modified Paths:
--------------
    trunk/Rakefile

Modified: trunk/Rakefile
===================================================================
--- trunk/Rakefile	2010-02-19 14:11:30 UTC (rev 127)
+++ trunk/Rakefile	2010-08-10 14:43:21 UTC (rev 128)
@@ -37,14 +37,15 @@
 end
 
 ENV["VERSION"] ||= HikiDoc::VERSION
-project = Hoe.new('hikidoc', HikiDoc::VERSION) do |project|
+project = Hoe.spec('hikidoc') do |project|
+  project.version = HikiDoc::VERSION
   project.author = ['Kazuhiko']
   project.email = ['kazuhiko at fdiary.net']
   project.description = project.paragraphs_of('README', 2).join
   project.summary = project.description.split(/(\.)/, 3)[0, 2].join
   project.url = 'http://rubyforge.org/projects/hikidoc/'
   project.test_globs = ['test/test_*.rb']
-  project.rdoc_pattern = /(?:^(?:lib|bin)|\AREADME\z)/
+  project.extra_rdoc_files = %w(README COPYING NEWS TextFormattingRules)
   project.changes = File.read("NEWS").split(/^!! .*$/)[1].strip
 end
 




More information about the hikidoc-commits mailing list