Rakefile in pagarme-0.15 vs Rakefile in pagarme-1.0
- old
+ new
@@ -1,16 +1,32 @@
require "bundler/gem_tasks"
+
+task :default => [:all]
+
+task :test do
+ ret = true
+ Dir["test/**/*.rb"].each do |f|
+ ret = ret && ruby(f, '')
+ end
+end
+
+task :all do
+ Rake::Task["test"].invoke
+ require 'active_support/all'
+ Rake::Task["test"].reenable
+ Rake::Task["test"].invoke
+end