Appraisals in cancancan-1.7.1 vs Appraisals in cancancan-1.8.0
- old
+ new
@@ -1,8 +1,8 @@
-appraise "rails_3.0" do
+appraise "activerecord_3.0" do
gem "activerecord", "~> 3.0.20", :require => "active_record"
- gem "with_model", "~> 0.2.5"
+ gem 'activesupport', '~> 3.0.20', :require => 'active_support/all'
gem "meta_where"
gemfile.platforms :jruby do
gem "activerecord-jdbcsqlite3-adapter"
gem "jdbc-sqlite3"
@@ -11,18 +11,64 @@
gemfile.platforms :ruby, :mswin, :mingw do
gem "sqlite3"
end
end
-appraise "rails_3.0_datamapper" do
+appraise "activerecord_3.1" do
+ gem "activerecord", "~> 3.1.0", :require => "active_record"
+
+ gemfile.platforms :jruby do
+ gem "activerecord-jdbcsqlite3-adapter"
+ gem "jdbc-sqlite3"
+ end
+
+ gemfile.platforms :ruby, :mswin, :mingw do
+ gem "sqlite3"
+ end
+end
+
+appraise "activerecord_3.2" do
+ gem "activerecord", "~> 3.2.0", :require => "active_record"
+
+ gemfile.platforms :jruby do
+ gem "activerecord-jdbcsqlite3-adapter"
+ gem "jdbc-sqlite3"
+ end
+
+ gemfile.platforms :ruby, :mswin, :mingw do
+ gem "sqlite3"
+ end
+end
+
+appraise "datamapper_1.x" do
+ gem 'activesupport', '~> 3.0', :require => 'active_support/all'
gem "dm-core", "~> 1.0.2"
gem "dm-sqlite-adapter", "~> 1.0.2"
gem "dm-migrations", "~> 1.0.2"
end
-appraise "rails_3.0_mongoid" do
+appraise "mongoid_2.x" do
+ gem 'activesupport', '~> 3.0', :require => 'active_support/all'
gem "mongoid", "~> 2.0.0"
gemfile.platforms :ruby, :mswin, :mingw do
gem "bson_ext", "~> 1.1"
+ end
+
+ gemfile.platforms :jruby do
+ gem "mongo", "~> 1.9.2"
+ end
+end
+
+appraise "sequel_3.x" do
+ gem "sequel", "~> 3.47.0"
+ gem 'activesupport', '~> 3.0', :require => 'active_support/all'
+
+ gemfile.platforms :jruby do
+ gem "activerecord-jdbcsqlite3-adapter"
+ gem "jdbc-sqlite3"
+ end
+
+ gemfile.platforms :ruby, :mswin, :mingw do
+ gem "sqlite3"
end
end