Rakefile in avro-builder-0.10.0 vs Rakefile in avro-builder-0.11.0
- old
+ new
@@ -1,6 +1,14 @@
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
+require 'appraisal/task'
-RSpec::Core::RakeTask.new(:spec)
+RSpec::Core::RakeTask.new(:default_spec)
-task default: :spec
+Appraisal::Task.new
+
+if !ENV['APPRAISAL_INITIALIZED']
+ task default: :appraisal
+ task spec: :appraisal
+else
+ task default: :default_spec
+end