Rakefile in pxpay-0.2.3 vs Rakefile in pxpay-0.2.4

- old
+ new

@@ -1,5 +1,7 @@ +# encoding: utf-8 + require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e @@ -20,33 +22,31 @@ gem.email = "bradleypriest@gmail.com" gem.authors = ["Bradley Priest"] gem.add_dependency 'nokogiri' gem.add_dependency 'rest-client' gem.add_dependency 'builder' - # Include your dependencies below. Runtime dependencies are required when using your gem, - # and development dependencies are only needed for development (ie running rake tasks, tests, etc) - # gem.add_runtime_dependency 'jabber4r', '> 0.1' - # gem.add_development_dependency 'rspec', '> 1.2.3' + # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' - test.pattern = 'test/**/test_*.rb' + test.pattern = 'test/**/*_test.rb' test.verbose = true end require 'rcov/rcovtask' Rcov::RcovTask.new do |test| test.libs << 'test' - test.pattern = 'test/**/test_*.rb' + test.pattern = 'test/**/*_test.rb' test.verbose = true + test.rcov_opts << '--exclude "gems/*"' end task :default => :test -require 'rake/rdoctask' +require 'rdoc/task' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "pxpay #{version}"