about summary refs log tree commit homepage
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/Rakefile b/Rakefile
index 5d434b3..f18cffa 100644
--- a/Rakefile
+++ b/Rakefile
@@ -3,16 +3,14 @@ require 'hoe'
 
 $:.unshift 'lib'
 require 'mogilefs'
+Hoe.plugin :seattlerb
 
-Hoe.new 'mogilefs-client', MogileFS::VERSION do |p|
-  p.rubyforge_name = 'seattlerb'
-  p.author = [ 'Eric Wong', 'Eric Hodel' ]
-  p.email = 'normalperson@yhbt.net' # (Eric Wong)
-  # p.email = 'drbrain@segment7.net' # (Eric Hodel)
-  p.summary = p.paragraphs_of('README.txt', 1).first
-  p.description = p.paragraphs_of('README.txt', 9).first
-  p.url = p.paragraphs_of('README.txt', 5).first
-  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
+Hoe.spec 'mogilefs-client' do
+  self.rubyforge_name = 'seattlerb'
+  developer 'Eric Wong', 'normalperson@yhbt.net'
+  # developer 'drbrain@segment7.net', 'Eric Hodel'
+  self.readme_file = "README"
+  self.history_file = "History"
 end
 
 task :fix_perms do