Rakefile in pg_ha_migrations-1.1.0 vs Rakefile in pg_ha_migrations-1.2.0
- old
+ new
@@ -1,8 +1,13 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
+require "appraisal"
require_relative File.join("lib", "pg_ha_migrations")
RSpec::Core::RakeTask.new(:spec)
+
+if !ENV["APPRAISAL_INITIALIZED"] && !ENV["TRAVIS"]
+ task :default => :appraisal
+end
task :default => :spec