Browse Source

Update dependency letter_opener_web to v3 (#3414)

* Update dependency letter_opener_web to v3

* Use Nokogiri as the backend for XmlMini; REXML seems broken

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Akinori MUSHA <knu@idaemons.org>
renovate[bot] 4 months ago
parent
commit
ed5dbe45b2
3 changed files with 26 additions and 22 deletions
  1. 1 1
      Gemfile
  2. 23 21
      Gemfile.lock
  3. 2 0
      config/application.rb

+ 1 - 1
Gemfile

@@ -137,7 +137,7 @@ group :development do
   gem 'guard'
   gem 'guard-livereload'
   gem 'guard-rspec'
-  gem 'letter_opener_web', '~> 2.0'
+  gem 'letter_opener_web', '~> 3.0'
   gem 'rack-livereload'
   gem 'web-console', '>= 4.2.1'
 

+ 23 - 21
Gemfile.lock

@@ -160,8 +160,8 @@ GEM
       minitest (>= 5.1)
       tzinfo (~> 2.0)
       zeitwerk (~> 2.3)
-    addressable (2.8.6)
-      public_suffix (>= 2.0.2, < 6.0)
+    addressable (2.8.7)
+      public_suffix (>= 2.0.2, < 7.0)
     airbrussh (1.4.1)
       sshkit (>= 1.6.1, != 1.7.0)
     ast (2.4.2)
@@ -196,7 +196,7 @@ GEM
       kaminari (>= 0.13)
       rails (>= 3.1)
     buftok (0.3.0)
-    builder (3.2.4)
+    builder (3.3.0)
     capistrano (3.17.3)
       airbrussh (>= 1.0.0)
       i18n
@@ -216,7 +216,8 @@ GEM
       rack-test (>= 0.6.3)
       regexp_parser (>= 1.5, < 3.0)
       xpath (~> 3.2)
-    childprocess (5.0.0)
+    childprocess (5.1.0)
+      logger (~> 1.5)
     coderay (1.1.3)
     coffee-rails (5.0.0)
       coffee-script (>= 2.2.0)
@@ -225,13 +226,13 @@ GEM
       coffee-script-source
       execjs
     coffee-script-source (1.12.2)
-    concurrent-ruby (1.2.3)
+    concurrent-ruby (1.3.4)
     cookiejar (0.3.4)
     crack (0.4.5)
       rexml
     crass (1.0.6)
     daemons (1.4.1)
-    date (3.3.4)
+    date (3.4.0)
     debug_inspector (1.1.0)
     declarative (0.0.20)
     delayed_job (4.1.11)
@@ -261,7 +262,7 @@ GEM
       eventmachine (>= 0.12.9)
       http_parser.rb (~> 0)
     equalizer (0.0.11)
-    erubi (1.12.0)
+    erubi (1.13.0)
     et-orbi (1.2.11)
       tzinfo
     ethon (0.16.0)
@@ -435,7 +436,7 @@ GEM
     httpclient (2.8.3)
     huginn_agent (0.6.1)
       thor
-    i18n (1.14.4)
+    i18n (1.14.6)
       concurrent-ruby (~> 1.0)
     jmespath (1.6.2)
     jquery-rails (4.6.0)
@@ -467,10 +468,10 @@ GEM
       childprocess (~> 5.0)
     letter_opener (1.10.0)
       launchy (>= 2.2, < 4)
-    letter_opener_web (2.0.0)
-      actionmailer (>= 5.2)
-      letter_opener (~> 1.7)
-      railties (>= 5.2)
+    letter_opener_web (3.0.0)
+      actionmailer (>= 6.1)
+      letter_opener (~> 1.9)
+      railties (>= 6.1)
       rexml
     libv8-node (16.10.0.0)
     libv8-node (16.10.0.0-aarch64-linux)
@@ -484,7 +485,8 @@ GEM
     llhttp-ffi (0.4.0)
       ffi-compiler (~> 1.0)
       rake (~> 13.0)
-    loofah (2.22.0)
+    logger (1.6.1)
+    loofah (2.23.1)
       crass (~> 1.0.2)
       nokogiri (>= 1.12.0)
     lumberjack (1.2.8)
@@ -510,7 +512,7 @@ GEM
     mini_portile2 (2.8.7)
     mini_racer (0.6.3)
       libv8-node (~> 16.10.0.0)
-    minitest (5.22.3)
+    minitest (5.25.1)
     mqtt (0.6.0)
     msgpack (1.7.2)
     multi_json (1.15.0)
@@ -523,7 +525,7 @@ GEM
       net-protocol
       time
     net-ftp-list (3.3.0)
-    net-imap (0.4.10)
+    net-imap (0.5.0)
       date
       net-protocol
     net-pop (0.1.2)
@@ -602,12 +604,12 @@ GEM
     pry (0.14.2)
       coderay (~> 1.1)
       method_source (~> 1.0)
-    public_suffix (5.0.5)
+    public_suffix (6.0.1)
     puma (6.4.3)
       nio4r (~> 2.0)
     raabro (1.4.0)
     racc (1.8.1)
-    rack (2.2.9)
+    rack (2.2.10)
     rack-livereload (0.5.1)
       rack
     rack-protection (3.2.0)
@@ -669,7 +671,7 @@ GEM
       mime-types (>= 1.16, < 4.0)
       netrc (~> 0.8)
     retriable (3.1.2)
-    rexml (3.2.6)
+    rexml (3.3.9)
     rly (0.2.3)
     rouge (4.1.1)
     rr (3.1.0)
@@ -792,7 +794,7 @@ GEM
       net-ssh (>= 2.8.0)
     terser (1.1.15)
       execjs (>= 0.3.0, < 3)
-    thor (1.3.1)
+    thor (1.3.2)
     thread_safe (0.3.6)
     tilt (2.1.0)
     time (0.2.2)
@@ -842,7 +844,7 @@ GEM
     xmpp4r (0.5.6)
     xpath (3.2.0)
       nokogiri (~> 1.8)
-    zeitwerk (2.6.13)
+    zeitwerk (2.7.1)
 
 PLATFORMS
   aarch64-linux
@@ -900,7 +902,7 @@ DEPENDENCIES
   jsonpath (~> 1.1, >= 1.1.5)
   kaminari (~> 1.2, >= 1.2.2)
   kramdown
-  letter_opener_web (~> 2.0)
+  letter_opener_web (~> 3.0)
   liquid (~> 5.5, >= 5.5.1)
   listen (~> 3.9.0)
   loofah (~> 2.22)

+ 2 - 0
config/application.rb

@@ -60,5 +60,7 @@ module Huginn
     config.action_view.sanitized_allowed_attributes = %w[href src width height alt cite datetime title class name xml:lang abbr border cellspacing cellpadding valign style]
 
     config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]
+
+    ActiveSupport::XmlMini.backend = 'Nokogiri'
   end
 end