Rakefile in renum-1.0.2 vs Rakefile in renum-1.2.0

- old
+ new

@@ -1,7 +1,22 @@ -require 'config/requirements' -require 'config/hoe' # setup Hoe + all gem configuration +require 'rubygems' +require 'spec/rake/spectask' -Dir['tasks/**/*.rake'].each { |rake| load rake } +Spec::Rake::SpecTask.new do |t| +end -Rake::Task[:default].prerequisites.clear -task :default => :spec \ No newline at end of file +task :default => :spec + +begin + require 'jeweler' + Jeweler::Tasks.new do |s| + s.name = "renum" + s.summary = "provides a readable but terse enum facility for Ruby" + s.email = "duelin.markers@gmail.com" + s.homepage = "http://github.com/duelinmarkers/renum" + s.description = "provides a readable but terse enum facility for Ruby" + s.authors = ["John Hume"] + s.rubyforge_project = "renum" + end +rescue LoadError + puts "Jeweler or a dependency not available. To install: sudo gem install technicalpickles-jeweler -s http://gems.github.com" +end