-
Notifications
You must be signed in to change notification settings - Fork 801
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MODEL] Added support for ActiveRecord/Mongoid 3 and 4 via separate G…
…emfiles Example: $ BUNDLE_GEMFILE=./gemfiles/3.gemfile bundle install $ BUNDLE_GEMFILE=./gemfiles/3.gemfile bundle exec rake test:integration The syntax and support is modeled after <https://github.com/thoughtbot/appraisal>
- Loading branch information
Showing
7 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,6 @@ spec/reports | |
test/tmp | ||
test/version_tmp | ||
tmp | ||
|
||
gemfiles/3.gemfile.lock | ||
gemfiles/4.gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Usage: | ||
# | ||
# $ BUNDLE_GEMFILE=./gemfiles/3.gemfile bundle install | ||
# $ BUNDLE_GEMFILE=./gemfiles/3.gemfile bundle exec rake test:integration | ||
|
||
source 'https://rubygems.org' | ||
|
||
gem 'activerecord', '~> 3.2' | ||
gem 'mongoid', '>= 3.0' | ||
|
||
gemspec path: '../' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Usage: | ||
# | ||
# $ BUNDLE_GEMFILE=./gemfiles/4.gemfile bundle install | ||
# $ BUNDLE_GEMFILE=./gemfiles/4.gemfile bundle exec rake test:integration | ||
|
||
source 'https://rubygems.org' | ||
|
||
gem 'activerecord', '~> 4' | ||
gem 'mongoid', '~> 4.0.0.alpha1' | ||
|
||
gemspec path: '../' |
2 changes: 2 additions & 0 deletions
2
elasticsearch-model/test/integration/active_record_basic_test.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters