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

curationexperts / mahonia / 929 / 1
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: rubocop
DEFAULT BRANCH: master
Ran 23 Jan 2018 09:52PM UTC
Files 49
Run time 80min
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 Jan 2018 09:29PM UTC coverage: 98.318%. First build
2.4.2

push

travis-ci

no-reply
Support typed EDTF data for the `Etd#date` field

An `RDF::Literal` subclass for EDTF datatypes is introduced. This supports the
id.loc.gov namespaced datatype for EDTF and can accept any string value as its
lexical value. We test that when a date is set to this type, it is correctly
serialized in the object's `.ttl` view.

Handling is added to `EtdIndexer#generate_solr_document` to ensure edtf dates
are indexed text values (they are also indexed as dates, but we do not consume
them in catalog controller or elsewhere). The correct appearance of typed data
in the show view is tested.

Dates input through the `EtdForm` are cast to the typed literal so they can be
serialized to Fedora with the correct type. We assume any value put into the
"EDTF Date" form field is intended to be interpreted as typed data.

Factories are updated to set an EDTF date on build.

Closes #186.

643 of 654 relevant lines covered (98.32%)

42.41 hits per line

Source Files on job 929.1 (2.4.2)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 929
  • Travis Job 929.1
  • c694e6c6 on github
  • Next Job for 2.4.2 on edtf (#948.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