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

curationexperts / mahonia
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: rubocop
DEFAULT BRANCH: master
Repo Added 17 Nov 2017 05:11PM UTC
Files 58
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

LAST BUILD ON BRANCH edtf
branch: edtf
CHANGE BRANCH
x
Reset
  • edtf
  • add-admin-set
  • add-shared-form-matcher-for-license
  • adjust-travis
  • application-job
  • asset-test
  • attribute/embargo_end
  • basic-virus-checking
  • better_restart
  • citation
  • citation-formatting
  • code_badges
  • config/inst-locale
  • config/turn-off-deposit-agreement-ui
  • config/update-schema-org-config
  • coveralls
  • create-etd-feature-spec
  • darlingtonia-1.0.0
  • darlingtonia-1.0.0-rc1
  • datacite-impl
  • datacite-metadata
  • datacite-support
  • date-label
  • delete-feature
  • deploy-target
  • dept-dropdown
  • doi-format
  • doi-nolink
  • doi-register
  • dotenv
  • dotenv_fixes
  • edit-feature
  • edit-feature-tweak
  • edit-readme
  • embargo-date
  • feature/description-attribute
  • feature/link-to-sidekiq
  • feature/mesh-autocomplete
  • feature/pdf-viewer
  • feature/version-in-footer
  • file-import
  • fix-creator-in-mapper
  • fix/locale-empty-for-markup
  • fix/readme-badges
  • fix/readme-setup
  • fix/sass-imports
  • fix/sidekiq-config
  • fix_cap_deploy
  • format-messages
  • git_sha_footer_with_dotenv
  • gitignore-coverage
  • hide-homepage-share-button
  • honeybadger
  • hyrax-out-of-the-box-tests
  • id_docs
  • import-file-validation
  • import-system-user
  • import-task
  • import-validation-test
  • importer
  • importer-with-validator
  • job-error-handling
  • map-creator-as-multivalued
  • master
  • mesh-downcase
  • mesh/store-uri
  • move-build-strategy
  • multi-value-import
  • nokogiri-update
  • ohsu_aws_deploy
  • ok-computer
  • ok_computer-clamav
  • pending-specs
  • rake-import
  • read-public-specs
  • record-importer-config
  • refactor-metadata-access
  • register-clamav
  • remove-properties
  • remove-publisher-metadata
  • remove-unused
  • remove-unwanted-hyrax-metadata
  • remove-unwanted-hyrax-terms
  • representative-media
  • restore-date-predicate
  • revert-publisher-removal
  • revert-verbatim-date
  • rubocop
  • rubocop_fix
  • set-ruby-version-for-rubocop
  • shib_auth_3
  • shib_auth_4
  • shib_integration_2
  • shibboleth_integration
  • silence-publisher
  • skip-empty-records
  • small-fixup
  • spec-fix
  • spec/qa-table-prefix
  • style/basic-branding
  • temp_cleanup
  • test-import-embargo
  • tests
  • update-darlingtonia
  • update-dependencies
  • update-file
  • use-chromedriver
  • use_dotenv_for_db
  • user_specs
  • v1.0.0-rc1
  • v1.0.0-rc2
  • v1.0.0-rc3
  • v1.0.0.beta-2018.1.17
  • validator
  • virus-admin-set

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

Relevant lines Covered
Build:
Build:
671 RELEVANT LINES 659 COVERED LINES
46.72 HITS PER LINE
Source Files on edtf
  • List 0
  • Changed 22
  • Source Changed 10
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
948 edtf 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... push 24 Jan 2018 03:27PM UTC jenlindner travis-ci pending completion  
929 edtf 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... push 23 Jan 2018 09:52PM UTC no-reply travis-ci pending completion  
See All Builds (639)
  • Repo on GitHub
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

© 2025 Coveralls, Inc