• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

errbit / errbit / 2192
93%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2018 05:21PM UTC
Jobs 9
Files 72
Run time 9min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2192

push

travis-ci

stevecrozz
Upgrade Mongoid to 5.4 to support MongoDB 3.6 (#1278)

* Upgrade Mongoid to 5.4 to support MongoDB 3.6

As mentioned in https://github.com/errbit/errbit/issues/1253#issuecomment-358295746, older versions of Mongoid do not support MongoDB 3.6 because they still use `$pushAll`. https://jira.mongodb.org/projects/MONGOID/issues/MONGOID-4499 mentions that this has been fixed for Mongoid 6.3 and 7.0.

Fortunately, the fixes also got backported to 5.4 a bit later, see https://jira.mongodb.org/browse/MONGOID-4538

* Fix error with constant lookup of `Regexp`

Fixes “undefined method `escape' for Mongoid::Matchable::Regexp:Class”.

Explanation:  In Mongoid 5.2, `Mongoid::Matchable::Regexp` was added (see https://github.com/mongodb/mongoid/commit/baf9357). This moduls is included in `Mongoid::Document` (via `Mongoid::Matchable`), with the result that in Mongoid document classes you can no longer simply write `Regexp` if you want to refer to Ruby’s regexp class (because this gets resolved as `Mongoid::Matchable::Regexp` instead).

* Update README regarding MongoDB version compatibility

1705 of 1821 relevant lines covered (93.63%)

1197.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2192.1 (2.3, MONGODB=3.2.18) 05 Jul 2018 05:21PM UTC 0
93.68
Travis Job 2192.1
2 2192.2 (2.4, MONGODB=3.2.18) 05 Jul 2018 05:22PM UTC 0
93.68
Travis Job 2192.2
3 2192.3 (2.3, MONGODB=3.4.10) 05 Jul 2018 05:21PM UTC 0
93.68
Travis Job 2192.3
4 2192.4 (2.4, MONGODB=3.4.10) 05 Jul 2018 05:22PM UTC 0
93.68
Travis Job 2192.4
5 2192.5 (2.3, MONGODB=3.6.2) 05 Jul 2018 05:23PM UTC 0
93.68
Travis Job 2192.5
6 2192.6 (2.4, MONGODB=3.6.2) 05 Jul 2018 05:27PM UTC 0
93.68
Travis Job 2192.6
7 2192.7 (2.5, MONGODB=3.2.18) 05 Jul 2018 05:26PM UTC 0
93.74
Travis Job 2192.7
8 2192.8 (2.5, MONGODB=3.4.10) 05 Jul 2018 05:25PM UTC 0
93.74
Travis Job 2192.8
9 2192.9 (2.5, MONGODB=3.6.2) 05 Jul 2018 05:26PM UTC 0
93.74
Travis Job 2192.9
Source Files on build 2192
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2192
  • 538c594c on github
  • Prev Build on master (#2185)
  • Next Build on master (#2193)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc