CircleCI Test Coverage Gem Version

Assembly-ObjectFile Gem

Overview

This gem contains classes used by the Stanford University Digital Library to perform file operations necessary for accessioning of content. It is also used by related gems that perform content type specific operations (e.g. assembly-image for jp2 generation).

Usage

The gem currently has methods for:

  • filesize
  • mimetype
  • exif - consumers use ExifTool to get file information

Running tests

bundle exec spec

Releasing the gem

rake release

Prerequisites

  1. Exiftool

    Ubuntu/Debian: sudo apt install libimage-exiftool-perl

    Mac users: brew install exiftool