Permalink
Browse files

update rakefile to work with hoe 2

  • Loading branch information...
1 parent 94832dd commit 1f14b15e9e429906875cdaa1b40ec818a9f972fd Joseph A Holsten committed Jun 18, 2009
Showing with 11 additions and 10 deletions.
  1. +11 −10 Rakefile
View
@@ -4,16 +4,17 @@ require 'rubygems'
require 'hoe'
require './lib/qrencoder.rb'
-Hoe.new('qrencoder', QRCode::GEM_VERSION) do |p|
- p.rubyforge_name = 'nycrb'
- p.author = 'Jacob Harris'
- p.email = 'harrisj@schizopolis.net'
- p.summary = 'A gem for creating 2-dimensional barcodes following the QR Code specification.'
- # p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
- p.url = 'http://nycrb.rubyforge.org/qrencoder'
- p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
- p.extra_deps << ['RubyInline', '>=3.6.2']
- p.extra_deps << ['png', '>=1.0.0']
+Hoe.spec 'qrencoder' do
+ self.version = QRCode::GEM_VERSION
+ self.rubyforge_name = 'nycrb'
+ self.author = 'Jacob Harris'
+ self.email = 'harrisj@schizopolis.net'
+ self.summary = 'A gem for creating 2-dimensional barcodes following the QR Code specification.'
+ # self.description = self.paragraphs_of('README.txt', 2..5).join("\n\n")
+ self.url = 'http://nycrb.rubyforge.org/qrencoder'
+ self.changes = self.paragraphs_of('History.txt', 0..1).join("\n\n")
+ self.extra_deps << ['RubyInline', '>=3.6.2']
+ self.extra_deps << ['png', '>=1.0.0']
end
# vim: syntax=Ruby

0 comments on commit 1f14b15

Please sign in to comment.