From 1633059dbbc61bfe04ef7d39709e3e7a84687043 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 2 Oct 2024 17:15:54 +0100 Subject: [PATCH] Switch to canonical-rails from master, with rails 7.2.1+ compatibility --- Gemfile | 3 ++- Gemfile.lock | 12 +++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index b25255320..26bc7c129 100644 --- a/Gemfile +++ b/Gemfile @@ -118,7 +118,8 @@ gem "dalli" gem "kgio" # Load canonical-rails to generate canonical URLs -gem "canonical-rails" +# Use unreleased version for rails 7.2.1+ compatibility +gem "canonical-rails", :github => "jumph4x/canonical-rails", :ref => "fbc1c88c" # Used to generate logstash friendly log files gem "logstasher" diff --git a/Gemfile.lock b/Gemfile.lock index f334b3ac1..094449d26 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,11 @@ +GIT + remote: https://github.com/jumph4x/canonical-rails.git + revision: fbc1c88c71131ddb1352953cd6048033fd2473e5 + ref: fbc1c88c + specs: + canonical-rails (0.2.15) + actionview (>= 4.1, < 7.3) + GEM remote: https://rubygems.org/ specs: @@ -137,8 +145,6 @@ GEM bzip2-ffi (1.1.1) ffi (~> 1.0) cancancan (3.6.1) - canonical-rails (0.2.15) - actionview (>= 4.1, <= 7.2) capybara (3.40.0) addressable matrix @@ -629,7 +635,7 @@ DEPENDENCIES browser (< 6) bzip2-ffi cancancan - canonical-rails + canonical-rails! capybara (>= 2.15) config connection_pool -- 2.39.5