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

mlibrary / checkpoint / 13
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/coverallsapp/github-action-2.1.2
DEFAULT BRANCH: main
Ran 25 Feb 2018 08:31PM UTC
Jobs 1
Files 34
Run time 2s
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
13

push

travis-ci

botimer
Convert checks to predicate queries

- Add Checkpoint::Query namespace
- Change RoleCheck to RoleGranted and move to Query
- Change PermissionCheck ActionPermitted and move to Query

The top-level design is now straining a little in that Agent,
Credential, and Resource are currently really the token types. Where
this is showing up the most is in the resolvers. Specifically, I had
to pass in Resource and Credential objects from the outside to drive a
meaningful integration test of granting and testing for a role at the
system level. These are now type checked in the resolution, which is
rather smelly.

Now that there are namespaces for each of top-level concepts, I think
the token behavior should be pushed down and allow the base names to
serve as wrappers/decorators for the actual objects. What I think that
will afford us is the ability to make Permission and Role types that are
not tokens, but can be converted to tokens as polymorphic Credentials,
and simplify the credential resolution to some degree. This is all
hinging on the need to treat roles and permissions differently in some
places, but wanting to treat them generically for the permit/grant
model. The PermissionMapper will also be called into question during
that change -- the resolver will be simplified to the degree that it
will likely be better to just allow an alternate implementation (as
happened with the AgentResolver).

903 of 903 relevant lines covered (100.0%)

3.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13.1 (2.4.2) 25 Feb 2018 08:31PM UTC 0
100.0
Travis Job 13.1
Source Files on build 13
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #13
  • ba083220 on github
  • Prev Build on master (#12)
  • Next Build on master (#20)
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