Permalink
Browse files

Update appraisals / tests to run on jruby and rubinius implementations

  • Loading branch information...
1 parent 8f65ad5 commit d3ecba8e43559e22eff7df591f0a286ebe1ac8e8 @obrie obrie committed Feb 25, 2013
Showing with 354 additions and 127 deletions.
  1. +103 −84 Appraisals
  2. +1 −0 gemfiles/active_model-3.0.0.gemfile.lock
  3. +1 −0 gemfiles/active_model-3.0.5.gemfile.lock
  4. +1 −0 gemfiles/active_model-3.1.1.gemfile.lock
  5. +1 −0 gemfiles/active_model-3.2.12.gemfile.lock
  6. +3 −0 gemfiles/active_model-4.0.0.gemfile.lock
  7. +2 −1 gemfiles/active_record-2.0.0.gemfile
  8. +7 −0 gemfiles/active_record-2.0.0.gemfile.lock
  9. +2 −1 gemfiles/active_record-2.0.5.gemfile
  10. +7 −0 gemfiles/active_record-2.0.5.gemfile.lock
  11. +2 −1 gemfiles/active_record-2.1.0.gemfile
  12. +7 −0 gemfiles/active_record-2.1.0.gemfile.lock
  13. +2 −1 gemfiles/active_record-2.1.2.gemfile
  14. +7 −0 gemfiles/active_record-2.1.2.gemfile.lock
  15. +2 −1 gemfiles/active_record-2.2.3.gemfile
  16. +7 −0 gemfiles/active_record-2.2.3.gemfile.lock
  17. +2 −1 gemfiles/active_record-2.3.12.gemfile
  18. +7 −0 gemfiles/active_record-2.3.12.gemfile.lock
  19. +2 −1 gemfiles/active_record-3.0.0.gemfile
  20. +9 −4 gemfiles/active_record-3.0.0.gemfile.lock
  21. +2 −1 gemfiles/active_record-3.0.5.gemfile
  22. +9 −4 gemfiles/active_record-3.0.5.gemfile.lock
  23. +2 −1 gemfiles/active_record-3.1.1.gemfile
  24. +9 −4 gemfiles/active_record-3.1.1.gemfile.lock
  25. +2 −1 gemfiles/active_record-3.2.12.gemfile
  26. +9 −4 gemfiles/active_record-3.2.12.gemfile.lock
  27. +3 −0 gemfiles/active_record-4.0.0.gemfile.lock
  28. +8 −0 gemfiles/data_mapper-0.10.2.gemfile.lock
  29. +4 −0 gemfiles/data_mapper-0.9.11.gemfile.lock
  30. +8 −0 gemfiles/data_mapper-1.0.0.gemfile.lock
  31. +8 −0 gemfiles/data_mapper-1.0.1.gemfile.lock
  32. +8 −0 gemfiles/data_mapper-1.0.2.gemfile.lock
  33. +8 −0 gemfiles/data_mapper-1.1.0.gemfile.lock
  34. +8 −0 gemfiles/data_mapper-1.2.0.gemfile.lock
  35. +1 −0 gemfiles/graphviz-0.9.17.gemfile.lock
  36. +1 −0 gemfiles/graphviz-1.0.3.gemfile.lock
  37. +1 −0 gemfiles/graphviz-1.0.8.gemfile.lock
  38. +2 −0 gemfiles/mongo_mapper-0.11.2.gemfile.lock
  39. +2 −0 gemfiles/mongo_mapper-0.12.0.gemfile.lock
  40. +2 −0 gemfiles/mongoid-2.0.0.gemfile.lock
  41. +2 −0 gemfiles/mongoid-2.1.4.gemfile.lock
  42. +2 −0 gemfiles/mongoid-2.2.4.gemfile.lock
  43. +2 −0 gemfiles/mongoid-2.3.3.gemfile.lock
  44. +2 −0 gemfiles/mongoid-2.4.0.gemfile.lock
  45. +2 −0 gemfiles/mongoid-2.4.10.gemfile.lock
  46. +2 −0 gemfiles/mongoid-2.5.2.gemfile.lock
  47. +2 −0 gemfiles/mongoid-2.6.0.gemfile.lock
  48. +1 −0 gemfiles/mongoid-3.0.0.gemfile.lock
  49. +1 −0 gemfiles/mongoid-3.0.22.gemfile.lock
  50. +1 −0 gemfiles/mongoid-3.1.0.gemfile.lock
  51. +2 −1 gemfiles/sequel-2.11.0.gemfile
  52. +3 −0 gemfiles/sequel-2.11.0.gemfile.lock
  53. +2 −1 gemfiles/sequel-2.12.0.gemfile
  54. +3 −0 gemfiles/sequel-2.12.0.gemfile.lock
  55. +2 −1 gemfiles/sequel-2.8.0.gemfile
  56. +3 −0 gemfiles/sequel-2.8.0.gemfile.lock
  57. +2 −1 gemfiles/sequel-3.0.0.gemfile
  58. +3 −0 gemfiles/sequel-3.0.0.gemfile.lock
  59. +2 −1 gemfiles/sequel-3.13.0.gemfile
  60. +3 −0 gemfiles/sequel-3.13.0.gemfile.lock
  61. +2 −1 gemfiles/sequel-3.14.0.gemfile
  62. +3 −0 gemfiles/sequel-3.14.0.gemfile.lock
  63. +2 −1 gemfiles/sequel-3.23.0.gemfile
  64. +3 −0 gemfiles/sequel-3.23.0.gemfile.lock
  65. +2 −1 gemfiles/sequel-3.24.0.gemfile
  66. +3 −0 gemfiles/sequel-3.24.0.gemfile.lock
  67. +2 −1 gemfiles/sequel-3.29.0.gemfile
  68. +3 −0 gemfiles/sequel-3.29.0.gemfile.lock
  69. +2 −1 gemfiles/sequel-3.34.0.gemfile
  70. +3 −0 gemfiles/sequel-3.34.0.gemfile.lock
  71. +2 −1 gemfiles/sequel-3.35.0.gemfile
  72. +3 −0 gemfiles/sequel-3.35.0.gemfile.lock
  73. +2 −1 gemfiles/sequel-3.44.0.gemfile
  74. +3 −0 gemfiles/sequel-3.44.0.gemfile.lock
  75. +1 −1 test/unit/integrations/active_model_test.rb
  76. +1 −1 test/unit/integrations/active_record_test.rb
  77. +1 −1 test/unit/integrations/data_mapper_test.rb
  78. +2 −2 test/unit/integrations/sequel_test.rb
View
@@ -25,55 +25,69 @@ end
# ActiveRecord integrations
if RUBY_VERSION < "1.9.1"
appraise "active_record-2.0.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
gem "activerecord", "2.0.0"
+ gem "activerecord-jdbcsqlite3-adapter", "1.2.7", :platform => :jruby
end
appraise "active_record-2.0.5" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
gem "activerecord", "2.0.5"
+ gem "activerecord-jdbcsqlite3-adapter", "1.2.7", :platform => :jruby
end
appraise "active_record-2.1.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
gem "activerecord", "2.1.0"
+ gem "activerecord-jdbcsqlite3-adapter", "1.2.7", :platform => :jruby
end
appraise "active_record-2.1.2" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
gem "activerecord", "2.1.2"
+ gem "activerecord-jdbcsqlite3-adapter", "1.2.7", :platform => :jruby
end
appraise "active_record-2.2.3" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
gem "activerecord", "2.2.3"
+ gem "activerecord-jdbcsqlite3-adapter", "1.2.7", :platform => :jruby
end
end
-appraise "active_record-2.3.12" do
- gem "sqlite3-ruby", "1.3.1"
- gem "activerecord", "2.3.12"
+if RUBY_VERSION < "2.0.0"
+ appraise "active_record-2.3.12" do
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "activerecord", "2.3.12"
+ gem "activerecord-jdbcsqlite3-adapter", "1.2.7", :platform => :jruby
+ end
end
if RUBY_VERSION > "1.8.6"
appraise "active_record-3.0.0" do
- gem "sqlite3-ruby"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
gem "activerecord", "3.0.0"
+ gem "activerecord-jdbcsqlite3-adapter", "1.2.7", :platform => :jruby
end
appraise "active_record-3.0.5" do
- gem "sqlite3-ruby"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
gem "activerecord", "3.0.5"
+ gem "activerecord-jdbcsqlite3-adapter", "1.2.7", :platform => :jruby
end
+end
+if RUBY_VERSION > "1.8.6" && RUBY_VERSION != "1.9.1"
appraise "active_record-3.1.1" do
- gem "sqlite3-ruby"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
gem "activerecord", "3.1.1"
+ gem "activerecord-jdbcsqlite3-adapter", "1.2.7", :platform => :jruby
end
appraise "active_record-3.2.12" do
- gem "sqlite3-ruby"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
gem "activerecord", "3.2.12"
+ gem "activerecord-jdbcsqlite3-adapter", "1.2.7", :platform => :jruby
end
end
@@ -122,7 +136,7 @@ if RUBY_VERSION > "1.8.6" && RUBY_VERSION < "1.9.1"
end
end
-if RUBY_VERSION > "1.8.6"
+if RUBY_VERSION > "1.8.6" && RUBY_VERSION < "2.0.0"
appraise "mongo_mapper-0.5.8" do
gem "activesupport", "2.3.11"
gem "mongo_mapper", "0.5.8"
@@ -171,26 +185,28 @@ if RUBY_VERSION > "1.8.6"
gem "activesupport", "2.3.11"
gem "mongo_mapper", "0.8.6"
end
+end
- # MongoMapper 0.9.0+ breaks on Ruby 1.9.1
- if RUBY_VERSION != "1.9.1"
- appraise "mongo_mapper-0.9.0" do
- gem "mongo_mapper", "0.9.0"
- end
-
- appraise "mongo_mapper-0.10.0" do
- gem "mongo_mapper", "0.10.0"
- end
-
- appraise "mongo_mapper-0.11.2" do
- gem "mongo", "~> 1.7.0"
- gem "mongo_mapper", "0.11.2"
- end
-
- appraise "mongo_mapper-0.12.0" do
- gem "mongo", "~> 1.7.0"
- gem "mongo_mapper", "0.12.0"
- end
+if RUBY_VERSION > "1.8.6" && RUBY_VERSION != "1.9.1" && RUBY_VERSION < "2.0.0"
+ appraise "mongo_mapper-0.9.0" do
+ gem "mongo_mapper", "0.9.0"
+ end
+end
+
+# MongoMapper 0.9.0+ breaks on Ruby 1.9.1
+if RUBY_VERSION > "1.8.6" && RUBY_VERSION != "1.9.1"
+ appraise "mongo_mapper-0.10.0" do
+ gem "mongo_mapper", "0.10.0"
+ end
+
+ appraise "mongo_mapper-0.11.2" do
+ gem "mongo", "~> 1.7.0"
+ gem "mongo_mapper", "0.11.2"
+ end
+
+ appraise "mongo_mapper-0.12.0" do
+ gem "mongo", "~> 1.7.0"
+ gem "mongo_mapper", "0.12.0"
end
end
@@ -239,105 +255,115 @@ if RUBY_VERSION > "1.8.6"
gem "mongo", "~> 1.7.0"
gem "mongoid", "2.6.0"
end
+end
+
+if RUBY_VERSION > "1.9.2"
+ appraise "mongoid-3.0.0" do
+ gem "mongoid", "3.0.0"
+ end
- if RUBY_VERSION > "1.9.2"
- appraise "mongoid-3.0.0" do
- gem "mongoid", "3.0.0"
- end
-
- appraise "mongoid-3.0.22" do
- gem "mongoid", "3.0.22"
- end
-
- appraise "mongoid-3.1.0" do
- gem "mongoid", "3.1.0"
- end
+ appraise "mongoid-3.0.22" do
+ gem "mongoid", "3.0.22"
+ end
+
+ appraise "mongoid-3.1.0" do
+ gem "mongoid", "3.1.0"
end
end
# Sequel integrations
appraise "sequel-2.8.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "2.8.0"
end
appraise "sequel-2.11.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "2.11.0"
end
appraise "sequel-2.12.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "2.12.0"
end
appraise "sequel-3.0.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "3.0.0"
end
appraise "sequel-3.13.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "3.13.0"
end
appraise "sequel-3.14.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "3.14.0"
end
appraise "sequel-3.23.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "3.23.0"
end
appraise "sequel-3.24.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "3.24.0"
end
appraise "sequel-3.29.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "3.29.0"
end
appraise "sequel-3.34.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "3.34.0"
end
if RUBY_VERSION > "1.8.6"
appraise "sequel-3.35.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "3.35.0"
end
appraise "sequel-3.44.0" do
- gem "sqlite3-ruby", "1.3.1"
+ gem "sqlite3-ruby", "1.3.1", :platform => [:ruby, :mswin, :mingw]
+ gem "jdbc-sqlite3", "3.7.2", :platform => :jruby
gem "sequel", "3.44.0"
end
end
# DataMapper
-if RUBY_VERSION < "1.9.1"
- if RUBY_PLATFORM != 'java'
- appraise "data_mapper-0.9.4" do
- gem "dm-core", "0.9.4"
- gem "dm-migrations", "0.9.4"
- gem "dm-validations", "0.9.4"
- gem "dm-observer", "0.9.4"
- gem "data_objects", "0.9.4"
- gem "do_sqlite3", "0.9.4"
- end
-
- appraise "data_mapper-0.9.7" do
- gem "dm-core", "0.9.7"
- gem "dm-migrations", "0.9.7"
- gem "dm-validations", "0.9.7"
- gem "dm-observer", "0.9.7"
- gem "data_objects", "0.9.7"
- gem "do_sqlite3", "0.9.7"
- end
+if RUBY_VERSION < "1.9.1" && RUBY_PLATFORM != 'java' && (!defined?(RUBY_ENGINE) || RUBY_ENGINE != 'rbx')
+ appraise "data_mapper-0.9.4" do
+ gem "dm-core", "0.9.4"
+ gem "dm-migrations", "0.9.4"
+ gem "dm-validations", "0.9.4"
+ gem "dm-observer", "0.9.4"
+ gem "data_objects", "0.9.4"
+ gem "do_sqlite3", "0.9.4"
+ end
+
+ appraise "data_mapper-0.9.7" do
+ gem "dm-core", "0.9.7"
+ gem "dm-migrations", "0.9.7"
+ gem "dm-validations", "0.9.7"
+ gem "dm-observer", "0.9.7"
+ gem "data_objects", "0.9.7"
+ gem "do_sqlite3", "0.9.7"
end
appraise "data_mapper-0.9.11" do
@@ -348,16 +374,9 @@ if RUBY_VERSION < "1.9.1"
gem "data_objects", "0.9.11"
gem "do_sqlite3", "0.9.11"
end
+end
- appraise "data_mapper-0.10.2" do
- gem "dm-core", "0.10.2"
- gem "dm-migrations", "0.10.2"
- gem "dm-validations", "0.10.2"
- gem "dm-observer", "0.10.2"
- gem "data_objects", "0.10.2"
- gem "do_sqlite3", "0.10.2"
- end
-
+if RUBY_VERSION < "1.9.1" && RUBY_PLATFORM != 'java'
appraise "data_mapper-0.10.2" do
gem "dm-core", "0.10.2"
gem "dm-migrations", "0.10.2"
@@ -24,6 +24,7 @@ GEM
simplecov-html (0.7.1)
PLATFORMS
+ java
ruby
DEPENDENCIES
@@ -24,6 +24,7 @@ GEM
simplecov-html (0.7.1)
PLATFORMS
+ java
ruby
DEPENDENCIES
@@ -25,6 +25,7 @@ GEM
simplecov-html (0.7.1)
PLATFORMS
+ java
ruby
DEPENDENCIES
@@ -25,6 +25,7 @@ GEM
simplecov-html (0.7.1)
PLATFORMS
+ java
ruby
DEPENDENCIES
@@ -36,10 +36,12 @@ GEM
bundler
rake
atomic (1.0.1)
+ atomic (1.0.1-java)
builder (3.1.4)
erubis (2.7.0)
i18n (0.6.1)
json (1.7.7)
+ json (1.7.7-java)
minitest (4.6.1)
multi_json (1.6.1)
protected_attributes (1.0.0)
@@ -62,6 +64,7 @@ GEM
tzinfo (0.3.35)
PLATFORMS
+ java
ruby
DEPENDENCIES
@@ -2,7 +2,8 @@
source "http://www.rubygems.org"
-gem "sqlite3-ruby", "1.3.1"
+gem "sqlite3-ruby", "1.3.1", :platform=>[:ruby, :mswin, :mingw]
gem "activerecord", "2.0.0"
+gem "activerecord-jdbcsqlite3-adapter", "1.2.7", :platform=>:jruby
gemspec :path=>"../"
Oops, something went wrong.

0 comments on commit d3ecba8

Please sign in to comment.