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

curationexperts / laevigata / ad9f0ba8-7487-416d-a7a6-79c78d6330aa
97%

Build:
DEFAULT BRANCH: main
Ran 23 Sep 2024 04:27AM UTC
Jobs 4
Files 139
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

23 Sep 2024 04:20AM UTC coverage: 96.193% (+0.06%) from 96.132%
ad9f0ba8-7487-416d-a7a6-79c78d6330aa

push

circleci

mark-dce
[REFACTOR] Avoid monkeypatching EmbargoPresenter

**RATIONALE**
We monkey patch the EmbargoPresenter to get a sortable date:
```
Hyrax::EmbargoPresenter.class_eval do
  def sortable_release_date
    return solr_document.embargo_release_date&.iso8601
...
```
However, the solr_document already stores the value as
`embargo_release_date_dtsi`.

Because Solr [requires all dates to be stored in ISO8601
format](https://solr.apache.org/guide/6_6/working-with-dates.html#WorkingwithDates-DateFormatting),
we can use the stored value instead of re-converting it from
the `DateTime` value stored in the embargo object.

2855 of 2968 relevant lines covered (96.19%)

53.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ad9f0ba8-7487-416d-a7a6-79c78d6330aa.1 23 Sep 2024 04:27AM UTC 0
78.22
2 ad9f0ba8-7487-416d-a7a6-79c78d6330aa.2 23 Sep 2024 04:28AM UTC 0
84.19
3 ad9f0ba8-7487-416d-a7a6-79c78d6330aa.3 23 Sep 2024 04:28AM UTC 0
80.28
4 ad9f0ba8-7487-416d-a7a6-79c78d6330aa.4 23 Sep 2024 04:28AM UTC 0
87.48
Source Files on build ad9f0ba8-7487-416d-a7a6-79c78d6330aa
Detailed source file information is not available for this build.
  • Back to Repo
  • CircleCI Build #AD9F0BA8...
  • 55cab288 on github
  • Prev Build on main (#84D6E391...)
  • Next Build on main (#D1C86FA2...)
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