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

curationexperts / laevigata / ac241a7d-3809-494f-930e-b5e18f88afdf
97%

Build:
DEFAULT BRANCH: main
Ran 08 Sep 2024 12:02AM UTC
Jobs 3
Files 150
Run time 1min
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

07 Sep 2024 11:56PM UTC coverage: 89.949% (-3.9%) from 93.866%
ac241a7d-3809-494f-930e-b5e18f88afdf

push

circleci

mark-dce
[REFACTOR] Match embargo language between JS & Rails

**RATIONALE**
The code that was initially developed to record student embargo requests differed between the Ruby and Javascript code:

RUBY
* files_restricted
* toc_restricted
* all_restricted

JAVASCRIPT
* files_embargoed
* toc_embargoed
* abstract_embargoed

This change modifies all of the Javascript references to align with the definitions in [app/services/visibility_translator](https://github.com/curationexperts/laevigata/blob/v12.38.4/app/services/visibility_translator.rb#L21-L23)
```
class VisibilityTranslator
  RESTRICTED      = Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE
  ALL_EMBARGOED   = 'all_restricted'.freeze
  FILES_EMBARGOED = 'files_restricted'.freeze
  TOC_EMBARGOED   = 'toc_restricted'.freeze
  OPEN            = Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC

...
```

0 of 6 new or added lines in 2 files covered. (0.0%)

254 existing lines in 23 files now uncovered.

2828 of 3144 relevant lines covered (89.95%)

36.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ac241a7d-3809-494f-930e-b5e18f88afdf.1 08 Sep 2024 12:02AM UTC 0
75.24
2 ac241a7d-3809-494f-930e-b5e18f88afdf.2 08 Sep 2024 12:02AM UTC 0
82.36
3 ac241a7d-3809-494f-930e-b5e18f88afdf.3 08 Sep 2024 12:03AM UTC 0
82.15
Source Files on build ac241a7d-3809-494f-930e-b5e18f88afdf
Detailed source file information is not available for this build.
  • Back to Repo
  • CircleCI Build #AC241A7D...
  • 80882b08 on github
  • Prev Build on main (#9E3DFE8F...)
  • Next Build on main (#FCEA04DB...)
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