Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Test against more versions of ORMs
Browse files Browse the repository at this point in the history
  • Loading branch information
laserlemon committed Feb 19, 2016
1 parent c042f76 commit 6692140
Show file tree
Hide file tree
Showing 34 changed files with 153 additions and 99 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ gemfile:
- gemfiles/active_record/3-2.gemfile
- gemfiles/active_record/4-0.gemfile
- gemfiles/active_record/4-1.gemfile
- gemfiles/active_record/4-2.gemfile
- gemfiles/active_record/5-0.gemfile
- gemfiles/data_mapper/1-0.gemfile
- gemfiles/data_mapper/1-1.gemfile
- gemfiles/data_mapper/1-2.gemfile
Expand All @@ -30,6 +32,8 @@ gemfile:
- gemfiles/mongoid/3-0.gemfile
- gemfiles/mongoid/3-1.gemfile
- gemfiles/mongoid/4-0.gemfile
- gemfiles/mongoid/5-0.gemfile
- gemfiles/mongoid/5-1.gemfile
language: ruby
matrix:
allow_failures:
Expand Down
12 changes: 6 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ gemspec name: "periscope-mongoid"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.5"
gem "dm-migrations", "~> 1.2"
gem "dm-sqlite-adapter", "~> 1.2"
gem "factory_girl", "~> 4.5"
gem "rspec", "~> 3.4"
gem "sqlite3", "~> 1.3"
gem "database_cleaner"
gem "dm-migrations"
gem "dm-sqlite-adapter"
gem "factory_girl"
gem "rspec"
gem "sqlite3"
end
8 changes: 4 additions & 4 deletions gemfiles/active_record/3-0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ gemspec name: "periscope-activerecord", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "sqlite3", "~> 1.3"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
gem "sqlite3"
end
8 changes: 4 additions & 4 deletions gemfiles/active_record/3-1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ gemspec name: "periscope-activerecord", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "sqlite3", "~> 1.3"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
gem "sqlite3"
end
8 changes: 4 additions & 4 deletions gemfiles/active_record/3-2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ gemspec name: "periscope-activerecord", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "sqlite3", "~> 1.3"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
gem "sqlite3"
end
8 changes: 4 additions & 4 deletions gemfiles/active_record/4-0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ gemspec name: "periscope-activerecord", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "sqlite3", "~> 1.3"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
gem "sqlite3"
end
8 changes: 4 additions & 4 deletions gemfiles/active_record/4-1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ gemspec name: "periscope-activerecord", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "sqlite3", "~> 1.3"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
gem "sqlite3"
end
13 changes: 13 additions & 0 deletions gemfiles/active_record/4-2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
source "https://rubygems.org"

gem "activerecord", "~> 4.2.0"

gemspec name: "periscope-activerecord", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
gem "sqlite3"
end
13 changes: 13 additions & 0 deletions gemfiles/active_record/5-0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
source "https://rubygems.org"

gem "activerecord", "> 5.beta", "< 5.1"

gemspec name: "periscope-activerecord", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
gem "sqlite3"
end
12 changes: 6 additions & 6 deletions gemfiles/data_mapper/1-0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ gemspec name: "periscope-data_mapper", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.2.0"
gem "dm-migrations", "~> 1.0.0"
gem "dm-sqlite-adapter", "~> 1.0.0"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "sqlite3", "~> 1.3"
gem "database_cleaner"
gem "dm-migrations"
gem "dm-sqlite-adapter"
gem "factory_girl"
gem "rspec"
gem "sqlite3"
end
12 changes: 6 additions & 6 deletions gemfiles/data_mapper/1-1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ gemspec name: "periscope-data_mapper", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.2.0"
gem "dm-migrations", "~> 1.1.0"
gem "dm-sqlite-adapter", "~> 1.1.0"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "sqlite3", "~> 1.3"
gem "database_cleaner"
gem "dm-migrations"
gem "dm-sqlite-adapter"
gem "factory_girl"
gem "rspec"
gem "sqlite3"
end
12 changes: 6 additions & 6 deletions gemfiles/data_mapper/1-2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ gemspec name: "periscope-data_mapper", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.2.0"
gem "dm-migrations", "~> 1.2.0"
gem "dm-sqlite-adapter", "~> 1.2.0"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "sqlite3", "~> 1.3"
gem "database_cleaner"
gem "dm-migrations"
gem "dm-sqlite-adapter"
gem "factory_girl"
gem "rspec"
gem "sqlite3"
end
6 changes: 3 additions & 3 deletions gemfiles/mongo_mapper/0-10.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongo_mapper", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongo_mapper/0-11.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongo_mapper", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongo_mapper/0-12.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongo_mapper", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongo_mapper/0-13.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongo_mapper", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongo_mapper/0-9.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongo_mapper", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/2-0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/2-1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/2-2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/2-3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/2-4.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/2-5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/2-6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/2-7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/2-8.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/3-0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/3-1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
6 changes: 3 additions & 3 deletions gemfiles/mongoid/4-0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner", "~> 1.3"
gem "factory_girl", "~> 4.4"
gem "rspec", "~> 3.0"
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
12 changes: 12 additions & 0 deletions gemfiles/mongoid/5-0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
source "https://rubygems.org"

gem "mongoid", "~> 5.0.0"

gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
12 changes: 12 additions & 0 deletions gemfiles/mongoid/5-1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
source "https://rubygems.org"

gem "mongoid", "~> 5.1.0"

gemspec name: "periscope-mongoid", path: "../../"

group :test do
gem "codeclimate-test-reporter", require: false
gem "database_cleaner"
gem "factory_girl"
gem "rspec"
end
Loading

0 comments on commit 6692140

Please sign in to comment.