]> git.openstreetmap.org Git - rails.git/commitdiff
Relax strict version constraint on rails gem
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Nov 2022 14:26:05 +0000 (14:26 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Nov 2022 14:26:05 +0000 (14:26 +0000)
This lets us receive 7.0.x patch releases without having to edit the Gemfile.

Gemfile
Gemfile.lock

diff --git a/Gemfile b/Gemfile
index 020cc9166e7ab3d1ea0f6607fb6bb77f0677cf1e..81ba4a9a36ea9216e0bcf755590586c0cfd6868a 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -1,7 +1,7 @@
 source "https://rubygems.org"
 
 # Require rails
-gem "rails", "7.0.4"
+gem "rails", "~> 7.0.0"
 
 # Require json for multi_json
 gem "json"
index 68a973c47b6135136c45010810bd40b1c47887e2..586f2000d854a31c58aeb5a19c5db1fd85eb42ea 100644 (file)
@@ -573,7 +573,7 @@ DEPENDENCIES
   r2 (~> 0.2.7)
   rack-cors
   rack-uri_sanitizer
-  rails (= 7.0.4)
+  rails (~> 7.0.0)
   rails-controller-testing
   rails-i18n (~> 7.0.0)
   rinku (>= 2.0.6)