diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a09319..f74abbb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,9 @@ jobs: runs-on: ubuntu-latest steps: + - name: Install packages + run: sudo apt-get update && sudo apt-get install --no-install-recommends -y libvips node-gyp + - name: Checkout code uses: actions/checkout@v7 diff --git a/Gemfile b/Gemfile index 5533202..badde0e 100644 --- a/Gemfile +++ b/Gemfile @@ -40,7 +40,8 @@ gem "kamal", require: false gem "thruster", require: false # Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images] -gem "image_processing", "~> 1.2" +gem "image_processing", "~> 2.0" +gem "ruby-vips", "~> 2.0" # date range chart gem "blacklight_range_limit", ">= 9.2" diff --git a/Gemfile.lock b/Gemfile.lock index 71be33d..ea3ab74 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -192,9 +192,7 @@ GEM http-2 (>= 1.2.0) i18n (1.15.2) concurrent-ruby (~> 1.0) - image_processing (1.14.0) - mini_magick (>= 4.9.5, < 6) - ruby-vips (>= 2.0.17, < 3) + image_processing (2.0.3) importmap-rails (2.2.3) actionpack (>= 6.0.0) activesupport (>= 6.0.0) @@ -254,8 +252,6 @@ GEM marc (~> 1.0) marcel (1.2.1) matrix (0.4.3) - mini_magick (5.3.3) - logger mini_mime (1.1.5) minitar (1.1.0) minitest (6.0.6) @@ -592,7 +588,7 @@ DEPENDENCIES debug devise devise-guests (~> 0.8) - image_processing (~> 1.2) + image_processing (~> 2.0) importmap-rails jbuilder kamal @@ -605,6 +601,7 @@ DEPENDENCIES rsolr (>= 1.0, < 3) rspec-rails (~> 8.0) rubocop-rails-omakase + ruby-vips (~> 2.0) selenium-webdriver solid_cable solid_cache @@ -688,7 +685,7 @@ CHECKSUMS httpclient (2.9.0) sha256=4b645958e494b2f86c2f8a2f304c959baa273a310e77a2931ddb986d83e498c8 httpx (1.8.1) sha256=8d9e003019b2c1a8f582daac9371ec9da96182c23064e211386eaad70b6e12e5 i18n (1.15.2) sha256=00f9eb62412fe593b2a65a97daa75300d37abb8f7202ec748e94b6d46a9dd1b5 - image_processing (1.14.0) sha256=754cc169c9c262980889bec6bfd325ed1dafad34f85242b5a07b60af004742fb + image_processing (2.0.3) sha256=793e33f38470edd0a2d6bfd00acf8cb239c76284ba2e3dfb76633ac2b457f23a importmap-rails (2.2.3) sha256=7101be2a4dc97cf1558fb8f573a718404c5f6bcfe94f304bf1f39e444feeb16a io-console (0.9.2) sha256=efa74f891dd03c0939a931dfc6e74c2813d904763d456ea9762b0525e748db08 irb (1.18.0) sha256=de9454a0703a54704b9811a5ef31a60c86949fbf4013fcf244fabc7c775248e3 @@ -710,7 +707,6 @@ CHECKSUMS marc-fastxmlwriter (1.1.0) sha256=b696f5688a5b2fa48ea299d6aa5f00f161925576b08f38871ea384ebc6a7fe25 marcel (1.2.1) sha256=1678e9360e32f9eafa917c80029e2f6d10b2715c66a4b87b6d0da9b9cd1f859f matrix (0.4.3) sha256=a0d5ab7ddcc1973ff690ab361b67f359acbb16958d1dc072b8b956a286564c5b - mini_magick (5.3.3) sha256=b3beed8a8cef36bd03666365f14b89cd344da0ecd373af53e617c71bfd426aab mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef minitar (1.1.0) sha256=38db0cfb6f3801017946cdcd8dc53f2cf3fd41ff752892312bf9a1639c9ea23e minitest (6.0.6) sha256=153ea36d1d987a62942382b61075745042a2b3123b1cd48f4c3675af9cc7d6f1