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

curationexperts / laevigata / e64b6544-c59e-4e89-b98e-922580b1ed22 / 1
96%
main: 96%

Build:
DEFAULT BRANCH: main
Ran 09 Sep 2024 04:54PM UTC
Files 126
Run time 5s
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

09 Sep 2024 04:48PM UTC coverage: 75.149% (-1.6%) from 76.721%
e64b6544-c59e-4e89-b98e-922580b1ed22.1

push

circleci

mark-dce
[REFACTOR] Simplify embargo_type strings

**RATIONALE**
Rather than mirroring the boolean settings in the embargo_type string
passed to and from the ETD forms, we can just pass the highest level
restriction - i.e. `all_restricted` also implied `toc_restricted` and
`files_restricted`.

Effectively, we only need to pass a unique string for each of the three
possible embargo levels:

|`embargo_type`|`files_embargoed`|`toc_embargoed`|`abstract_embargoed`|
|----------------|---------------|---------------|--------------------|
|'files_restricted'|true         | false         | false              |
|'toc_restricted'| true          | true          | false              |
|'all_restricted'| true          | true          | true               |

By using the same strings that are present in the visibility translator,
we set ourselves up to replace the strings with the corresponding constants
in the Rails codebase.

2141 of 2849 relevant lines covered (75.15%)

13.41 hits per line

Source Files on job e64b6544-c59e-4e89-b98e-922580b1ed22.1
  • Tree
  • List 0
  • Changed 58
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • 8ce7509a on github
  • Prev Job for on main (#a12989dc-99dc-4444-8071-a83e80b2e83c.2)
  • Next Job for on main (#d581ef99-699b-428a-891e-ce2c097dc595.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