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

curationexperts / laevigata / fcea04db-c114-4a12-9ffd-e1a4e7e65b19
97%

Build:
DEFAULT BRANCH: main
Ran 09 Sep 2024 02:59PM UTC
Jobs 4
Files 155
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: 93.866%. Remained the same
fcea04db-c114-4a12-9ffd-e1a4e7e65b19

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

...
```

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

32 existing lines in 10 files now uncovered.

3030 of 3228 relevant lines covered (93.87%)

52.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 fcea04db-c114-4a12-9ffd-e1a4e7e65b19.1 09 Sep 2024 02:59PM UTC 0
82.15
2 fcea04db-c114-4a12-9ffd-e1a4e7e65b19.2 09 Sep 2024 02:59PM UTC 0
79.51
3 fcea04db-c114-4a12-9ffd-e1a4e7e65b19.3 09 Sep 2024 02:59PM UTC 0
82.36
4 fcea04db-c114-4a12-9ffd-e1a4e7e65b19.4 09 Sep 2024 03:00PM UTC 0
75.24
Source Files on build fcea04db-c114-4a12-9ffd-e1a4e7e65b19
Detailed source file information is not available for this build.
  • Back to Repo
  • CircleCI Build #FCEA04DB...
  • 80882b08 on github
  • Prev Build on main (#9E3DFE8F...)
  • Next Build on main (#A12989DC...)
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