Test with mongoid

This commit is contained in:
Rafael Mendonça França
2017-05-11 19:03:50 -07:00
parent 5e014ab607
commit b998837592
5 changed files with 20 additions and 12 deletions

View File

@@ -25,10 +25,6 @@ matrix:
gemfile: gemfiles/Gemfile.rails-5.0-stable gemfile: gemfiles/Gemfile.rails-5.0-stable
- rvm: 2.1.10 - rvm: 2.1.10
gemfile: Gemfile gemfile: Gemfile
- env: DEVISE_ORM=mongoid
gemfile: Gemfile
- env: DEVISE_ORM=mongoid
gemfile: gemfiles/Gemfile.rails-5.0-stable
allow_failures: allow_failures:
- rvm: ruby-head - rvm: ruby-head
services: services:

View File

@@ -34,7 +34,6 @@ platforms :ruby do
gem "sqlite3" gem "sqlite3"
end end
# TODO: group :mongoid do
# group :mongoid do gem "mongoid"
# gem "mongoid", "~> 4.0.0" end
# end

View File

@@ -59,6 +59,7 @@ GEM
tzinfo (~> 1.1) tzinfo (~> 1.1)
arel (8.0.0) arel (8.0.0)
bcrypt (3.1.11) bcrypt (3.1.11)
bson (4.2.1)
builder (3.2.3) builder (3.2.3)
concurrent-ruby (1.0.5) concurrent-ruby (1.0.5)
erubi (1.6.0) erubi (1.6.0)
@@ -82,6 +83,11 @@ GEM
minitest (5.10.1) minitest (5.10.1)
mocha (1.2.1) mocha (1.2.1)
metaclass (~> 0.0.1) metaclass (~> 0.0.1)
mongo (2.4.1)
bson (>= 4.2.1, < 5.0.0)
mongoid (6.1.0)
activemodel (~> 5.0)
mongo (>= 2.4.1, < 3.0.0)
multi_json (1.12.1) multi_json (1.12.1)
multi_xml (0.6.0) multi_xml (0.6.0)
multipart-post (2.0.0) multipart-post (2.0.0)
@@ -178,6 +184,7 @@ DEPENDENCIES
jruby-openssl jruby-openssl
minitest (< 5.10.2) minitest (< 5.10.2)
mocha (~> 1.1) mocha (~> 1.1)
mongoid
oauth2 oauth2
omniauth (~> 1.3) omniauth (~> 1.3)
omniauth-facebook omniauth-facebook

View File

@@ -28,7 +28,6 @@ platforms :ruby do
gem "sqlite3" gem "sqlite3"
end end
# TODO: group :mongoid do
# group :mongoid do gem "mongoid"
# gem "mongoid", "~> 4.0.0" end
# end

View File

@@ -59,6 +59,7 @@ GEM
tzinfo (~> 1.1) tzinfo (~> 1.1)
arel (7.1.4) arel (7.1.4)
bcrypt (3.1.11) bcrypt (3.1.11)
bson (4.2.1)
builder (3.2.3) builder (3.2.3)
concurrent-ruby (1.0.5) concurrent-ruby (1.0.5)
erubis (2.7.0) erubis (2.7.0)
@@ -82,6 +83,11 @@ GEM
minitest (5.10.1) minitest (5.10.1)
mocha (1.2.1) mocha (1.2.1)
metaclass (~> 0.0.1) metaclass (~> 0.0.1)
mongo (2.4.1)
bson (>= 4.2.1, < 5.0.0)
mongoid (6.1.0)
activemodel (~> 5.0)
mongo (>= 2.4.1, < 3.0.0)
multi_json (1.12.1) multi_json (1.12.1)
multi_xml (0.6.0) multi_xml (0.6.0)
multipart-post (2.0.0) multipart-post (2.0.0)
@@ -177,6 +183,7 @@ DEPENDENCIES
devise! devise!
minitest (< 5.10.2) minitest (< 5.10.2)
mocha (~> 1.1) mocha (~> 1.1)
mongoid
omniauth omniauth
omniauth-facebook omniauth-facebook
omniauth-oauth2 omniauth-oauth2