Skip to content

Commit

Permalink
changes on mongoid.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Okamoto committed Jul 2, 2019
1 parent f29c090 commit 9529ae2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
5 changes: 0 additions & 5 deletions Appraisals
@@ -1,8 +1,3 @@
appraise 'rails-3' do
gem 'rails', '~> 3.2.21'
gem 'mongoid', '~> 3.1.6'
end

appraise 'rails-4' do
gem 'rails', '~> 4.0'
gem 'mongoid', '~> 4'
Expand Down
2 changes: 1 addition & 1 deletion re_track.gemspec
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.require_paths = ['lib']

s.add_runtime_dependency 'rails'
s.add_runtime_dependency 'mongoid', '>= 6'
s.add_runtime_dependency 'mongoid', '>= 4'
s.add_runtime_dependency 'activesupport'

s.add_development_dependency 'rspec-rails'
Expand Down
23 changes: 14 additions & 9 deletions spec/dummy/config/mongoid.yml
@@ -1,16 +1,21 @@
development:
sessions:
default:
database: retrack_dummy_development
hosts:
- localhost:27017
default_session: &default_session
hosts: localhost:27017
database: retrack_dummy_development
options:

defaults: &defaults
clients:
default:
<<: *default_session

development:
<<: *defaults

test:
sessions:
clients:
default:
<<: *default_session
database: retrack_dummy_test
hosts:
- localhost:27017
options:
# consistency: :strong
# In the test environment we lower the retries and retry interval to
Expand Down

0 comments on commit 9529ae2

Please sign in to comment.