Skip to content

Commit

Permalink
Merge tag '5.0.3' into develop
Browse files Browse the repository at this point in the history
Release v5.0.3 - Bug fix for ruby-vips resize type error
  • Loading branch information
ewlarson committed Oct 25, 2023
2 parents 3507e8a + 177b0de commit 0d4e09b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ gem 'paper_trail'
gem 'geoblacklight_sidecar_images', git: "https://github.com/geoblacklight/geoblacklight_sidecar_images.git", branch: "feature/statesman-update"
gem 'carrierwave', '~> 1.2'
gem 'mini_magick', '~> 4.9.4'
gem "image_processing", ">= 1.2"

gem 'statesman', '~> 10.0'
gem 'sidekiq', '~> 6.4'
Expand Down
3 changes: 2 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ GEM
rspec-support (3.9.4)
ruby-progressbar (1.13.0)
ruby-rc4 (0.1.5)
ruby-vips (2.1.4)
ruby-vips (2.2.0)
ffi (~> 1.12)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
Expand Down Expand Up @@ -795,6 +795,7 @@ DEPENDENCIES
geoblacklight_sidecar_images!
haml
handlebars_assets (~> 0.23.0)
image_processing (>= 1.2)
inline_svg
jbuilder (~> 2.5)
jquery-rails
Expand Down
2 changes: 1 addition & 1 deletion app/views/catalog/_index_mapview_default.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class='media'>
<%- if document.sidecar.image.attached? %>
<%- if document.sidecar.image.variable? %>
<%= image_tag document.sidecar.image.variant(resize: "200"), {class: 'mr-3', alt: document.to_semantic_values[:title]} %>
<%= image_tag document.sidecar.image.variant(resize_to_fit: [200, nil]), {class: 'mr-3', alt: document.to_semantic_values[:title]} %>
<%- else %>
<%= image_tag document.sidecar.image, {class: 'mr-3'} %>
<%- end %>
Expand Down

0 comments on commit 0d4e09b

Please sign in to comment.