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

errbit / errbit / 2192 / 5
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2018 05:23PM UTC
Files 72
Run time 3min
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

05 Jul 2018 05:19PM UTC coverage: 93.681%. First build
2.3, MONGODB=3.6.2

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

1690 of 1804 relevant lines covered (93.68%)

134.29 hits per line

Source Files on job 2192.5 (2.3, MONGODB=3.6.2)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2146
  • Travis Job 2192.5
  • 538c594c on github
  • Next Job for 2.3, MONGODB=3.6.2 on master (#2193.5)
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