scientist-softserv / iiif_print

A gem for Hyrax/Samvera for displaying PDF pages in a IIIF Compliant viewer
Apache License 2.0
4 stars 1 forks source link

Adding ingest queue name #334

Closed jeremyf closed 7 months ago

jeremyf commented 7 months ago

This PR provides one key change, but several came along for the ride.

That key change is introducing IiifPrint.config.ingest_queue_name. Which echoes Hyrax and Bulkrax's implementation. What this allows is for uniform configuration in downstream applications.

What else came along is:

  1. Moving lib/iiif_print/jobs to app/jobs/iiif_print/jobs; this allows for us to leverage the autoloader
  2. Factoring the config to use lambdas instead of classes, this prevents timing issues.
  3. Incorporating dry-monads in the test, because that little pernicious dependency keeps surfacing.
  4. Updating the lock file, something that I've normally seen not committed, so I consider low stakes on what was actually updated (why? Because downstream gems do not rely on the Gemfile.lock of the installed gems)