From 5931e6335bd679244b8a8d7f31d7e4945d9d707c Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Thu, 7 May 2026 09:48:37 +0100 Subject: [PATCH] Remove minimum version constraints from Gemfile It's very unlikely that a `bundle update` will: * lead a version downgrade * ... and that version falls below the nominal minimum version * ... and that version causes a breakage * ... and that breakage is not picked up by CI It's therefore better for legibility and clarity of other constraints if we remove the ones that aren't necessary. --- Gemfile | 18 +++++++++--------- Gemfile.lock | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Gemfile b/Gemfile index efc2ea838..decc3e607 100644 --- a/Gemfile +++ b/Gemfile @@ -27,7 +27,7 @@ gem "jquery-rails" gem "jbuilder", "~> 2.7" # Reduces boot times through caching; required in config/boot.rb -gem "bootsnap", ">= 1.4.2", :require => false +gem "bootsnap", :require => false # Use rtlcss for RTL conversion gem "mini_racer", "~> 0.21.0" @@ -51,7 +51,7 @@ gem "sprockets-exporters_pack" gem "benchmark" # Load rails plugins -gem "actionpack-page_caching", ">= 1.2.0" +gem "actionpack-page_caching" gem "activerecord-import" gem "active_record_union" gem "bootstrap", "~> 5.3.2" @@ -63,13 +63,13 @@ gem "dry-validation" gem "frozen_record" gem "http_accept_language", "~> 2.1.1" gem "i18n-js", "~> 4.2.3" -gem "openstreetmap-deadlock_retry", ">= 1.3.1", :require => "deadlock_retry" +gem "openstreetmap-deadlock_retry", :require => "deadlock_retry" gem "rack-cors" gem "rails-i18n", "~> 8.1.0" gem "rails_param" -gem "rinku", ">= 2.0.6", :require => "rails_rinku" +gem "rinku", :require => "rails_rinku" gem "strong_migrations" -gem "validates_email_format_of", ">= 1.5.1" +gem "validates_email_format_of" # Native OSM extensions gem "quad_tile", "~> 1.0.1" @@ -82,8 +82,8 @@ gem "omniauth", "~> 2.1.3" gem "omniauth-apple" gem "omniauth-facebook" gem "omniauth-github" -gem "omniauth-google-oauth2", ">= 0.6.0" -gem "omniauth-mediawiki", ">= 0.0.4" +gem "omniauth-google-oauth2" +gem "omniauth-mediawiki" gem "omniauth-microsoft_graph" gem "omniauth-rails_csrf_protection", "~> 2.0" @@ -99,7 +99,7 @@ gem "kramdown" gem "aasm" # XML parsing and generation -gem "libxml-ruby", ">= 2.0.5" +gem "libxml-ruby" gem "rexml" # Use for HTML sanitisation @@ -175,7 +175,7 @@ end # Gems needed for running tests group :test do gem "brakeman" - gem "capybara", ">= 2.15" + gem "capybara" gem "erb_lint", :require => false gem "jwt" gem "minitest" diff --git a/Gemfile.lock b/Gemfile.lock index 07e7e0839..fa73e4306 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -927,7 +927,7 @@ PLATFORMS DEPENDENCIES aasm - actionpack-page_caching (>= 1.2.0) + actionpack-page_caching active_record_union activerecord-import activerecord-postgis @@ -939,14 +939,14 @@ DEPENDENCIES benchmark better_errors binding_of_caller - bootsnap (>= 1.4.2) + bootsnap bootstrap (~> 5.3.2) bootstrap_form (~> 5.0) brakeman bzip2-ffi cancancan canonical-rails! - capybara (>= 2.15) + capybara config connection_pool (< 4.0.0) dalli (< 6.0.0) @@ -981,7 +981,7 @@ DEPENDENCIES jquery-rails jwt kramdown - libxml-ruby (>= 2.0.5) + libxml-ruby listen marcel maxminddb @@ -994,12 +994,12 @@ DEPENDENCIES omniauth-apple omniauth-facebook omniauth-github - omniauth-google-oauth2 (>= 0.6.0) - omniauth-mediawiki (>= 0.0.4) + omniauth-google-oauth2 + omniauth-mediawiki omniauth-microsoft_graph omniauth-rails_csrf_protection (~> 2.0) open3 - openstreetmap-deadlock_retry (>= 1.3.1) + openstreetmap-deadlock_retry opentelemetry-exporter-otlp opentelemetry-instrumentation-all opentelemetry-sdk @@ -1015,7 +1015,7 @@ DEPENDENCIES rails-i18n (~> 8.1.0) rails_param rexml - rinku (>= 2.0.6) + rinku rotp rtlcss rubocop @@ -1039,10 +1039,10 @@ DEPENDENCIES turbo-rails unicode-display_width uri (< 1.0.0) - validates_email_format_of (>= 1.5.1) + validates_email_format_of vendorer webmock webrick BUNDLED WITH - 4.0.10 + 4.0.10 -- 2.39.5