Rakefile in geocerts-0.0.25 vs Rakefile in geocerts-1.0.0

- old
+ new

@@ -1,31 +1,8 @@ -require 'rubygems' -require 'rake' +require 'bundler' +Bundler::GemHelper.install_tasks -begin - require 'jeweler' - Jeweler::Tasks.new do |gem| - gem.name = "geocerts" - gem.summary = %Q{A Ruby library for interfacing with the GeoCerts REST API} - gem.description = %Q{A Ruby library for interfacing with the GeoCerts REST API} - gem.email = "sslsupport@geocerts.com" - gem.homepage = "http://www.geocerts.com/" - gem.authors = ["GeoCerts, Inc."] - - gem.add_dependency('relax', '>=0.1.2') - - gem.add_development_dependency('shoulda', '>=2.10.2') - gem.add_development_dependency('factory_girl', '>=1.2.2') - gem.add_development_dependency('mocha', '>=0.9.5') - gem.add_development_dependency('fakeweb', '>=1.2.2') - - end - -rescue LoadError - puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" -end - require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true @@ -43,12 +20,10 @@ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end - - task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| if File.exist?('VERSION.yml') @@ -65,6 +40,5 @@ rdoc.main = "README.rdoc" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('LICENSE*') rdoc.rdoc_files.include('lib/**/*.rb') end -