diff --git a/Gemfile b/Gemfile index 0cea0e33a4..da0fef4f54 100644 --- a/Gemfile +++ b/Gemfile @@ -108,8 +108,9 @@ gem 'httparty', '~> 0.22.0' gem 'slack-notifier', '~> 2.4.0' # css styles for emails +gem 'css_parser', '~> 1.19.1' # dependency for premailer, set to higher version for ruby 3.3 support gem 'nokogiri', '~> 1.16.7' -# gem 'premailer-rails', '~> 1.12.0' +gem 'premailer-rails', '~> 1.12.0' # filtering gem 'has_scope', '~> 0.8.2' diff --git a/Gemfile.lock b/Gemfile.lock index c8d1848221..f9152ff1a8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -137,6 +137,8 @@ GEM bigdecimal rexml crass (1.0.6) + css_parser (1.19.1) + addressable cssbundling-rails (1.4.1) railties (>= 6.0.0) csv (3.3.0) @@ -208,6 +210,7 @@ GEM hashie (5.0.0) hcaptcha (7.1.0) json + htmlentities (4.3.4) httparty (0.22.0) csv mini_mime (>= 1.0.0) @@ -356,6 +359,14 @@ GEM parser (3.3.5.0) ast (~> 2.4.1) racc + premailer (1.18.0) + addressable + css_parser (>= 1.12.0) + htmlentities (>= 4.0.0) + premailer-rails (1.12.0) + actionmailer (>= 3) + net-smtp + premailer (~> 1.7, >= 1.7.9) pretender (0.5.0) actionpack (>= 6.1) psych (5.2.0) @@ -571,6 +582,7 @@ DEPENDENCIES capistrano3-delayed-job (~> 1.7.6) capybara (~> 3.40.0) counter_culture (~> 3.8) + css_parser (~> 1.19.1) cssbundling-rails (~> 1.4.1) dalli (~> 3.2.8) datadog (~> 2.7.0) @@ -609,6 +621,7 @@ DEPENDENCIES omniauth-oauth2 (~> 1.8.0) omniauth-rails_csrf_protection (~> 1.0.2) omniauth_openid_connect (~> 0.8.0) + premailer-rails (~> 1.12.0) pretender (~> 0.5.0) puma (~> 6.4.3) pundit (~> 2.4.0)