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

RolifyCommunity / rolify / 804 / 5
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 28 Jun 2020 11:36AM UTC
Files 37
Run time 3s
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

28 Jun 2020 11:34AM UTC coverage: 92.479% (+0.008%) from 92.471%
2.6.3, ADAPTER=active_record, gemfiles/activerecord_4.gemfile

push

travis-ci

web-flow
Support strict with_role queries. Issue #362 (#543)

* Support strict with_role queries

Why:

* There is an outstanding issues #362
* strict mode should be enforced on role queries and resource queries

How:

* Pass a strict flag to the scope function
* call where or where_strict depending on strict flag in active_record adapter
* Add tests for strict mode resource queries

Note:

* This PR does not address strict mode for mongoid since I am unfamiliar with that ORM

* Update where_strict for mongoid

Why:

* The tests will fail until mongo works with strict resource querying

This change addresses the need by:

* Copy the where_strict implementation from the active record adapter

* Make sure to call strict where

* Refactor to reduce mutations

Co-authored-by: Thomas McDonald <thomas-mcdonald@users.noreply.github.com>

1623 of 1755 relevant lines covered (92.48%)

50.08 hits per line

Source Files on job 804.5 (2.6.3, ADAPTER=active_record, gemfiles/activerecord_4.gemfile)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 3
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 784
  • Travis Job 804.5
  • 03dcfd25 on github
  • Prev Job for 2.6.3, ADAPTER=active_record, gemfiles/activerecord_4.gemfile on master (#798.5)
  • Next Job for 2.6.3, ADAPTER=active_record, gemfiles/activerecord_4.gemfile on master (#817.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