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

curationexperts / mahonia / 948
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: rubocop
DEFAULT BRANCH: master
Ran 24 Jan 2018 03:27PM UTC
Jobs 1
Files 50
Run time 2s
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
948

push

travis-ci

jenlindner
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.

659 of 671 relevant lines covered (98.21%)

46.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 948.1 (2.4.2) 24 Jan 2018 03:27PM UTC 0
98.21
Travis Job 948.1
Source Files on build 948
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #948
  • 31c021f8 on github
  • Prev Build on edtf (#929)
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