mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-11 18:26:50 +00:00
Bump Ruby from 3.1.7 to 3.2.9
Release announcements: * https://www.ruby-lang.org/en/news/2025/07/24/ruby-3-2-9-released/ * https://www.ruby-lang.org/en/news/2025/03/26/ruby-3-2-8-released/ * https://www.ruby-lang.org/en/news/2025/02/04/ruby-3-2-7-released/ * https://www.ruby-lang.org/en/news/2024/10/30/ruby-3-2-6-released/ * https://www.ruby-lang.org/en/news/2024/07/26/ruby-3-2-5-released/ * https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-2-4-released/ * https://www.ruby-lang.org/en/news/2024/01/18/ruby-3-2-3-released/ * https://www.ruby-lang.org/en/news/2023/03/30/ruby-3-2-2-released/ * https://www.ruby-lang.org/en/news/2023/02/08/ruby-3-2-1-released/ * https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/ Also autocorrect new offenses.
This commit is contained in:
@@ -1 +1 @@
|
||||
3.1.7
|
||||
3.2.9
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ruby:3.1.7-alpine3.19 AS base
|
||||
FROM ruby:3.2.9-alpine3.19 AS base
|
||||
ENV LANG=C.UTF-8 \
|
||||
LC_ALL=C.UTF-8 \
|
||||
TZ=Europe/London \
|
||||
|
||||
2
Gemfile
2
Gemfile
@@ -43,7 +43,7 @@ gem 'web', path: './engines/web'
|
||||
|
||||
gem "activerecord-postgresql-adapter"
|
||||
gem "arel-helpers", "~> 2.12"
|
||||
gem "pg", "~> 1.2.3"
|
||||
gem "pg", "~> 1.2"
|
||||
|
||||
gem 'acts_as_list', '1.0.4'
|
||||
gem 'cancancan', '~> 1.15.0'
|
||||
|
||||
@@ -557,7 +557,7 @@ GEM
|
||||
hashery (~> 2.0)
|
||||
ruby-rc4
|
||||
ttfunk
|
||||
pg (1.2.3)
|
||||
pg (1.6.2)
|
||||
pp (0.6.2)
|
||||
prettyprint
|
||||
prettyprint (0.2.0)
|
||||
@@ -1023,7 +1023,7 @@ DEPENDENCIES
|
||||
paranoia (~> 2.4)
|
||||
paypal-sdk-merchant (= 1.117.2)
|
||||
pdf-reader
|
||||
pg (~> 1.2.3)
|
||||
pg (~> 1.2)
|
||||
private_address_check
|
||||
pry (~> 0.13.0)
|
||||
puffing-billy
|
||||
@@ -1087,7 +1087,7 @@ DEPENDENCIES
|
||||
wkhtmltopdf-binary
|
||||
|
||||
RUBY VERSION
|
||||
ruby 3.1.7p261
|
||||
ruby 3.2.9p265
|
||||
|
||||
BUNDLED WITH
|
||||
2.4.3
|
||||
|
||||
@@ -52,9 +52,9 @@ module ApplicationHelper
|
||||
|
||||
# Pass URL helper calls on to spree where applicable so that we don't need to use
|
||||
# spree.foo_path in any view rendered from non-spree-namespaced controllers.
|
||||
def method_missing(method, *args, &)
|
||||
def method_missing(method, *, &)
|
||||
if method.to_s.end_with?('_path', '_url') && spree.respond_to?(method)
|
||||
spree.public_send(method, *args)
|
||||
spree.public_send(method, *)
|
||||
else
|
||||
super
|
||||
end
|
||||
|
||||
@@ -29,7 +29,7 @@ class ApplicationRecord < ActiveRecord::Base
|
||||
end
|
||||
end
|
||||
|
||||
def url_for(*args)
|
||||
Rails.application.routes.url_helpers.url_for(*args)
|
||||
def url_for(*)
|
||||
Rails.application.routes.url_helpers.url_for(*)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -34,11 +34,11 @@ module Spree
|
||||
@provider.respond_to?(method_name, include_private) || super
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
def method_missing(method, *)
|
||||
if @provider.nil? || !@provider.respond_to?(method)
|
||||
super
|
||||
else
|
||||
provider.__send__(method, *args)
|
||||
provider.__send__(method, *)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -56,8 +56,8 @@ module Spree
|
||||
|
||||
# Send devise-based user emails asyncronously via ActiveJob
|
||||
# See: https://github.com/heartcombo/devise/tree/v3.5.10#activejob-integration
|
||||
def send_devise_notification(notification, *args)
|
||||
devise_mailer.public_send(notification, self, *args).deliver_later
|
||||
def send_devise_notification(notification, *)
|
||||
devise_mailer.public_send(notification, self, *).deliver_later
|
||||
end
|
||||
|
||||
def regenerate_reset_password_token
|
||||
|
||||
@@ -9,8 +9,8 @@ module CupriteHelpers
|
||||
end
|
||||
|
||||
# Drop #debug anywhere in a test to open a Chrome inspector and pause the execution
|
||||
def debug(*args)
|
||||
page.driver.debug(*args)
|
||||
def debug(*)
|
||||
page.driver.debug(*)
|
||||
end
|
||||
|
||||
# Use our `Capybara.save_path` to store screenshots with other capybara artifacts
|
||||
|
||||
Reference in New Issue
Block a user