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

curationexperts / mahonia / 949
98%

Build:
DEFAULT BRANCH: master
Ran 24 Jan 2018 02:57PM UTC
Jobs 1
Files 50
Run time 3s
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
949

Pull #258

travis-ci

web-flow
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.
Pull Request #258: Support typed EDTF data for the `Etd#date` field

24 of 24 new or added lines in 4 files covered. (100.0%)

659 of 671 relevant lines covered (98.21%)

46.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 949.1 (2.4.2) 24 Jan 2018 02:57PM UTC 0
98.21
Travis Job 949.1
Source Files on build 949
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #949
  • Pull Request #258
  • PR Base - master (#945)
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