Skip to content

Commit

Permalink
WIP image processing
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Jan 8, 2025
1 parent ee40d52 commit f4d6c10
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ gem 'friendly_id', '~> 5.5.1'
gem 'gnuplot', '~> 2.6.0'
gem 'htmlentities', '~> 4.3.0'
gem 'icalendar', '~> 2.10.3'
gem 'image_processing', '~> 1.13'
gem 'jquery-rails', '~> 4.6.0'
gem 'jquery-ui-rails', '~> 6.0.0'
gem 'json', '~> 2.9.1'
Expand All @@ -114,7 +115,6 @@ gem 'rack', '~> 2.2.10'
gem 'rack-utf8_sanitizer', '~> 1.9.1'
gem 'recaptcha', '~> 5.18.0', require: 'recaptcha/rails'
gem 'matrix', '~> 0.4.2'
gem 'mini_magick', '~> 4.13.1'
gem 'net-protocol', '~> 0.1.3'
gem 'redcarpet', '~> 3.6.0'
gem 'redis', '~> 4.8.1'
Expand Down
15 changes: 13 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ GEM
net-http (>= 0.5.0)
fast_gettext (3.1.0)
prime
ffi (1.17.1)
ffi (1.17.1-aarch64-linux-gnu)
ffi (1.17.1-arm64-darwin)
ffi (1.17.1-x86_64-darwin)
ffi (1.17.1-x86_64-linux-gnu)
fivemat (1.3.7)
flipper (0.28.3)
concurrent-ruby (< 2)
Expand Down Expand Up @@ -289,6 +294,9 @@ GEM
ice_cube (~> 0.16)
ostruct
ice_cube (0.17.0)
image_processing (1.13.0)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
importmap-rails (2.1.0)
actionpack (>= 6.0.0)
activesupport (>= 6.0.0)
Expand Down Expand Up @@ -336,7 +344,7 @@ GEM
logger
mime-types-data (~> 3.2015)
mime-types-data (3.2024.1001)
mini_magick (4.13.1)
mini_magick (4.13.2)
mini_mime (1.1.5)
mini_portile2 (2.8.8)
mini_racer (0.16.0)
Expand Down Expand Up @@ -513,6 +521,9 @@ GEM
rubocop-ast (>= 1.31.1, < 2.0)
ruby-ole (1.2.12.1)
ruby-progressbar (1.13.0)
ruby-vips (2.2.2)
ffi (~> 1.12)
logger
rubyXL (3.4.33)
nokogiri (>= 1.10.8)
rubyzip (>= 1.3.0)
Expand Down Expand Up @@ -650,6 +661,7 @@ DEPENDENCIES
htmlentities (~> 4.3.0)
i18n (~> 1.14.6)
icalendar (~> 2.10.3)
image_processing (~> 1.13)
importmap-rails (~> 2.1.0)
iso_country_codes (~> 0.7.8)
jquery-rails (~> 4.6.0)
Expand All @@ -662,7 +674,6 @@ DEPENDENCIES
matrix (~> 0.4.2)
maxmind-db (~> 1.2.0)
mime-types (< 4.0.0)
mini_magick (~> 4.13.1)
mini_racer (~> 0.16.0)
money (~> 6.19.0)
net-protocol (~> 0.1.3)
Expand Down
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,7 @@ class Application < Rails::Application

# Allow the generation of full URLs in emails
config.action_mailer.default_url_options = { host: AlaveteliConfiguration.domain }

config.active_storage.variant_processor = :mini_magick
end
end

0 comments on commit f4d6c10

Please sign in to comment.