Skip to content

Commit

Permalink
Upgrade Mongoid to 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Yogesh Khater committed Apr 19, 2016
1 parent 940ca4f commit 9696d83
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ platforms :ruby do
end

group :mongoid do
gem "mongoid", "~> 4.0"
gem "mongoid", "~> 5.0"
end
14 changes: 6 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ GEM
tzinfo (~> 1.1)
arel (6.0.3)
bcrypt (3.1.11)
bson (3.2.6)
builder (3.2.2)
concurrent-ruby (1.0.1)
connection_pool (2.2.0)
bson (4.0.0)
erubis (2.7.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
Expand All @@ -71,15 +71,13 @@ GEM
minitest (5.8.4)
mocha (1.1.0)
metaclass (~> 0.0.1)
mongoid (4.0.2)
mongo (2.2.0)
bson (~> 4.0)
mongoid (5.0.1)
activemodel (~> 4.0)
moped (~> 2.0.0)
mongo (~> 2.1)
origin (~> 2.1)
tzinfo (>= 0.3.37)
moped (2.0.7)
bson (~> 3.0)
connection_pool (~> 2.0)
optionable (~> 0.2.0)
multi_json (1.11.2)
multi_xml (0.5.5)
multipart-post (2.0.0)
Expand Down Expand Up @@ -169,8 +167,8 @@ DEPENDENCIES
devise!
jruby-openssl
mocha (~> 1.1)
mongoid (~> 4.0)
omniauth (~> 1.3)
mongoid (~> 5.0)
omniauth-facebook
omniauth-oauth2 (~> 1.4)
omniauth-openid (~> 1.0.1)
Expand Down
2 changes: 1 addition & 1 deletion test/support/mongoid.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test:
sessions:
<%= Mongoid::VERSION.to_i > 4 ? 'clients' : 'sessions' %>:
default:
database: devise-test-suite
hosts:
Expand Down

0 comments on commit 9696d83

Please sign in to comment.