From 74e2026bd0087afb90f10b54496414fc69a31f80 Mon Sep 17 00:00:00 2001 From: Adam Bouqdib Date: Thu, 6 Jul 2017 15:24:50 +0100 Subject: [PATCH] Fix error: uninitialized constant EXIFR::JPEG, close #150 --- CHANGELOG.markdown | 1 + lib/image_optim/worker/jhead.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index ef916ff8..a1f18601 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -2,6 +2,7 @@ ## unreleased +* Fix error `uninitialized constant EXIFR::JPEG` (breaking change in [exifr v1.3.0](https://github.com/remvee/exifr/commit/e073a22d06c39f2c1c0e77f5b5fe71545b25e967)) [#150](https://github.com/toy/image_optim/pull/150) [@abemedia](https://github.com/abemedia) * Add option to `pngquant` worker to limit maximum number of colors to use [#144](https://github.com/toy/image_optim/issues/144) [@toy](https://github.com/toy) ## v0.24.3 (2017-05-04) diff --git a/lib/image_optim/worker/jhead.rb b/lib/image_optim/worker/jhead.rb index b1f58a03..fcb7a7aa 100644 --- a/lib/image_optim/worker/jhead.rb +++ b/lib/image_optim/worker/jhead.rb @@ -1,5 +1,5 @@ require 'image_optim/worker' -require 'exifr' +require 'exifr/jpeg' class ImageOptim class Worker