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

curationexperts / epigaea / 1678 / 1
91%
master: 90%

Build:
Build:
LAST BUILD BRANCH: turbolinks-batch-fix
DEFAULT BRANCH: master
Ran 29 Nov 2017 02:34PM UTC
Files 175
Run time 5s
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

29 Nov 2017 02:20PM UTC coverage: 90.121% (-0.04%) from 90.159%
2.3.4

push

travis-ci

little9
This commit introduces a `Tufts::TechnicalMetadata` class that can be used to
generate XML that contains the persisted technical metadata for a work. Using
the persisted metadata saves us from having to do run another characterization
on the file.

That metadata is added to the `Tufts::XmlMetadataBuilder` so that when
you export a work, the technical metadata is exported as well.

The export also uses the original file name as the `<tufts:file_name>` in the
primary section of the XML. Before exports were being generated without
a filename and you needed to add one to the XML before an import.

Here is an example export:

```xml
<?xml version="1.0"?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/">
  <ListRecords>
    <record>
      <metadata>
        <technicalmetadata>
  <file>
    <byte_order/>
    <compression/>
    <height/>
    <color_space/>
    <profile_name/>
    <profile_version/>
    <orientation/>
    <color_map/>
    <image_producer/>
    <capture_device/>
    <scanning_software/>
    <gps_timestamp/>
    <latitude/>
    <longitude/>
    <file_title>This is a test PDF file</file_title>
    <page_count>1</page_count>
    <duration/>
    <sample_rate/>
    <format_label>Portable Document Format</format_label>
    <file_size>7945</file_size>
    <file_name>pdf-sample.pdf</file_name>
    <well_formed>true</well_formed>
    <original_checksum>fa7d7e650b2cec68f302b31ba28235d8</original_checksum>
    <mime_type>a</mime_type>
    <size>1</size>
  </file>
</technicalmetadata>
        <mira_import xmlns:model="info:fedora/fedora-system:def/model#" xmlns:dc="http://purl.org/dc/terms/" xmlns:bibframe="http://bibframe.org/vocab/" xmlns:dc11="http://purl.org/dc/elements/1.1/" xmlns:ebucore="http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#" xmlns:premis="http://www.loc.gov/premis/rdf/v1#" xmlns:mads="http://www.loc.gov/mads/rdf/v1#" xmlns:marcrelators="http://id.loc.gov/vocabulary/relators/" xmlns:tufts="http://dl.tufts.edu/terms#" xmlns:scho... (continued)

2308 of 2561 relevant lines covered (90.12%)

64.18 hits per line

Source Files on job 1678.1 (2.3.4)
  • Tree
  • List 0
  • Changed 15
  • Source Changed 2
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1678
  • Travis Job 1678.1
  • 34df738c on github
  • Prev Job for 2.3.4 on feature/technical-metadata (#1677.1)
  • Next Job for 2.3.4 on feature/technical-metadata (#1679.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