X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/563871c5a9a8140522b0c569df5c91a38528c8ce..8cb270f5576c3b95f085c8ec25f6dfa376925351:/Gemfile diff --git a/Gemfile b/Gemfile index 27f295eb6..1e20da8d6 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source "https://rubygems.org" # Require rails -gem "rails", "~> 7.1.0" +gem "rails", "~> 7.2.0" gem "turbo-rails" # Require json for multi_json @@ -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" @@ -130,7 +131,7 @@ gem "gd2-ffij", ">= 0.4.0" gem "marcel" # Used for browser detection -gem "browser", "< 6" # for ruby 3.0 support +gem "browser", "< 6" # for ruby 3.1 support # Used for S3 object storage gem "aws-sdk-s3" @@ -141,13 +142,15 @@ gem "image_processing" # Used to validate widths gem "unicode-display_width" -# Keep ruby 3.0 compatibility -gem "multi_xml", "~> 0.6.0" +# Lock some modules to old versions for ruby 3.1 support +gem "zeitwerk", "< 2.7" # Gems useful for development group :development do gem "better_errors" gem "binding_of_caller" + gem "danger" + gem "danger-auto_label" gem "debug_inspector" gem "i18n-tasks" gem "listen" @@ -181,6 +184,8 @@ end group :development, :test do gem "annotate" + gem "teaspoon" + gem "teaspoon-mocha", "~> 2.3.3" # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem gem "debug", :require => "debug/prelude"