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

CredentialEngine / CredentialRegistry / 102 / 2
100%
master: 71%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/rack-2.2.6.4
DEFAULT BRANCH: master
Ran 20 Nov 2017 04:38PM UTC
Files 139
Run time 6s
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

20 Nov 2017 04:30PM UTC coverage: 97.766% (-1.7%) from 99.51%
2.4.1

push

travis-ci

rradonic
Add model validations

We already non-null constraints on these fields in the database, so just
a matter of consistency.

Seed database with an admin, publisher, and user

Use match_array rspec matcher

Eq was throwing an error since it takes element order into account.

Make the ce_publisher a super publisher

Also fixed the name.

Add activerecord validation for admin field

We already have a non null constraint in the database

Add organization to seed file

Add publish on demand endpoint

It's only a stub right now.

Create OrganizationPublisher in seed file

This also creates a public / private key pair for publishing

Add OrganizationPublisher validations

Validate presence of organization and publisher in ruby, like we do at
DB level

Only authenticate the POB call

Turns out the "before" block applies not only to the next endpoint but
to all subsequent endpoints, including the ones that come later in
ResourceApi.

Implement publish on behalf endpoint

We only allow publishing on behalf of an organization the user is
authorized with, so no super publisher functionality yet.

Fix URL, store org and publisher

Ignore test public keys used to update schemas

Fix tmp directory removal bug

The tmp keys directory wasn't getting removed, leading to a "are you
sure you want to overwrite" question from ssh-keygen, halting the tests
until you respond.

Add rerun gem for automatic app reloading

Add basic tests for publish on behalf endpoint

Also, remove hardcoded community name in favor of parameter when
constructing envelope.

Fix failing test

Rename ResourcesPob -> ResourcesOnBehalf

Increase maximum method length to 25

A limit of 10 was too low. A limit of 25 also matches the maximum block
length, so there's a nice consistency to it.

Refactor publishing API call

Publishing logic is now moved to an interactor

Fix rubocop configuration bug

Merged the two MethodLength sections into one, otherwise the second one
clobbers the first one.

Remove unnecessary rubocop disable call

Fix bug with returning errors from interactor

Make sure we propagate the 401 unaothorized error from the interactor
out to the API endpoint.

Add more tests

Implement super publisher feature

If an OrganizationPublisher record doesn't exist for a given publisher
attempting to publish on behalf of a given organization, and the
publisher is a super publisher, create the record (along with its
keypair) on the fly, and publish the resource with that newly created
key.

Add test for super publisher workflow

3588 of 3670 relevant lines covered (97.77%)

30.92 hits per line

Source Files on job 102.2 (2.4.1)
  • Tree
  • List 0
  • Changed 32
  • Source Changed 0
  • Coverage Changed 32
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 102
  • Travis Job 102.2
  • b5b495f4 on github
  • Prev Job for on publish-on-behalf (#30179701.1)
  • Next Job for on publish-on-behalf (#30222935.1)
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