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

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

Build:
Build:
LAST BUILD BRANCH: rubocop
DEFAULT BRANCH: master
Ran 24 Jan 2018 03:28PM UTC
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

24 Jan 2018 02:49PM UTC coverage: 98.212% (-0.1%) from 98.318%
2.4.2

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

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