From d4a11d267bb93fdd2809cb1ff40420b2a1aa085e Mon Sep 17 00:00:00 2001 From: Ross Kaffenberger Date: Sun, 20 Oct 2024 08:55:50 -0400 Subject: [PATCH] Add addressable to Gemfile for production --- Gemfile | 1 + Gemfile.lock | 1 + app/models/gravatar.rb | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index ee4a51f0..d56315e6 100644 --- a/Gemfile +++ b/Gemfile @@ -28,6 +28,7 @@ gem "warden" # General Rack Authentication Framework [https://github.com/wardenc gem "postmark-rails" # Postmark Rails gem [https://github.com/ActiveCampaign/postmark-rails] gem "scout_apm" # Scout APM Ruby Agent [https://scoutapm.com] gem "rails_admin" # RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data [https://github.com/railsadminteam/rails_admin] +gem "addressable" # Addressable is an alternative implementation to URI [https://github.com/sporkmonger/addressable] # Rendering gem "image_processing" # Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images] diff --git a/Gemfile.lock b/Gemfile.lock index 678c4df0..85be5751 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -575,6 +575,7 @@ PLATFORMS x86_64-linux DEPENDENCIES + addressable aws-sdk-s3 bcrypt (~> 3.1.7) bootsnap diff --git a/app/models/gravatar.rb b/app/models/gravatar.rb index b0993bb3..81608e57 100644 --- a/app/models/gravatar.rb +++ b/app/models/gravatar.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require "addressable" +require "addressable/template" class Gravatar # Gravatar URI template