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

curationexperts / mahonia / 929
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: rubocop
DEFAULT BRANCH: master
Ran 23 Jan 2018 09:52PM UTC
Jobs 1
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

pending completion
929

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

Jobs
ID Job ID Ran Files Coverage
1 929.1 (2.4.2) 23 Jan 2018 09:52PM UTC 0
98.32
Travis Job 929.1
Source Files on build 929
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #929
  • c694e6c6 on github
  • Next Build on edtf (#948)
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