David Rodríguez
2025-10-29 13:38:11 +01:00
parent f9b76fadbd
commit 05b3e97a0e
9 changed files with 16 additions and 16 deletions

View File

@@ -1 +1 @@
3.1.7 3.2.9

View File

@@ -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 \ ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \ LC_ALL=C.UTF-8 \
TZ=Europe/London \ TZ=Europe/London \

View File

@@ -43,7 +43,7 @@ gem 'web', path: './engines/web'
gem "activerecord-postgresql-adapter" gem "activerecord-postgresql-adapter"
gem "arel-helpers", "~> 2.12" gem "arel-helpers", "~> 2.12"
gem "pg", "~> 1.2.3" gem "pg", "~> 1.2"
gem 'acts_as_list', '1.0.4' gem 'acts_as_list', '1.0.4'
gem 'cancancan', '~> 1.15.0' gem 'cancancan', '~> 1.15.0'

View File

@@ -557,7 +557,7 @@ GEM
hashery (~> 2.0) hashery (~> 2.0)
ruby-rc4 ruby-rc4
ttfunk ttfunk
pg (1.2.3) pg (1.6.2)
pp (0.6.2) pp (0.6.2)
prettyprint prettyprint
prettyprint (0.2.0) prettyprint (0.2.0)
@@ -1023,7 +1023,7 @@ DEPENDENCIES
paranoia (~> 2.4) paranoia (~> 2.4)
paypal-sdk-merchant (= 1.117.2) paypal-sdk-merchant (= 1.117.2)
pdf-reader pdf-reader
pg (~> 1.2.3) pg (~> 1.2)
private_address_check private_address_check
pry (~> 0.13.0) pry (~> 0.13.0)
puffing-billy puffing-billy
@@ -1087,7 +1087,7 @@ DEPENDENCIES
wkhtmltopdf-binary wkhtmltopdf-binary
RUBY VERSION RUBY VERSION
ruby 3.1.7p261 ruby 3.2.9p265
BUNDLED WITH BUNDLED WITH
2.4.3 2.4.3

View File

@@ -52,9 +52,9 @@ module ApplicationHelper
# Pass URL helper calls on to spree where applicable so that we don't need to use # 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. # 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) if method.to_s.end_with?('_path', '_url') && spree.respond_to?(method)
spree.public_send(method, *args) spree.public_send(method, *)
else else
super super
end end

View File

@@ -29,7 +29,7 @@ class ApplicationRecord < ActiveRecord::Base
end end
end end
def url_for(*args) def url_for(*)
Rails.application.routes.url_helpers.url_for(*args) Rails.application.routes.url_helpers.url_for(*)
end end
end end

View File

@@ -34,11 +34,11 @@ module Spree
@provider.respond_to?(method_name, include_private) || super @provider.respond_to?(method_name, include_private) || super
end end
def method_missing(method, *args) def method_missing(method, *)
if @provider.nil? || !@provider.respond_to?(method) if @provider.nil? || !@provider.respond_to?(method)
super super
else else
provider.__send__(method, *args) provider.__send__(method, *)
end end
end end

View File

@@ -56,8 +56,8 @@ module Spree
# Send devise-based user emails asyncronously via ActiveJob # Send devise-based user emails asyncronously via ActiveJob
# See: https://github.com/heartcombo/devise/tree/v3.5.10#activejob-integration # See: https://github.com/heartcombo/devise/tree/v3.5.10#activejob-integration
def send_devise_notification(notification, *args) def send_devise_notification(notification, *)
devise_mailer.public_send(notification, self, *args).deliver_later devise_mailer.public_send(notification, self, *).deliver_later
end end
def regenerate_reset_password_token def regenerate_reset_password_token

View File

@@ -9,8 +9,8 @@ module CupriteHelpers
end end
# Drop #debug anywhere in a test to open a Chrome inspector and pause the execution # Drop #debug anywhere in a test to open a Chrome inspector and pause the execution
def debug(*args) def debug(*)
page.driver.debug(*args) page.driver.debug(*)
end end
# Use our `Capybara.save_path` to store screenshots with other capybara artifacts # Use our `Capybara.save_path` to store screenshots with other capybara artifacts