Rakefile in closure_tree-4.0.1 vs Rakefile in closure_tree-4.1.0

- old
+ new

@@ -14,12 +14,16 @@ require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) task :default => :spec -task :specs_with_db_ixes do +task :all_spec_flavors do [["", ""], ["db_prefix_", ""], ["", "_db_suffix"], ["abc_", "_123"]].each do |prefix, suffix| fail unless system("rake spec DB_PREFIX=#{prefix} DB_SUFFIX=#{suffix}") + end + require 'active_record/version' + if ActiveRecord::VERSION::MAJOR == 3 + system("rake spec ATTR_ACCESSIBLE=1") end end # Run the specs using all the different database engines: # for DB in sqlite3 mysql postgresql ; do rake ; done