From 13b5baa3c20a6b4a04ac8caf668204fdffed9ea5 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Thu, 16 Jan 2025 09:25:17 +0100 Subject: [PATCH] [BUGFIX] Fix Ruby 3.3 for Rails 7.1 and 7.2 (#195) --- .github/workflows/ci.yml | 4 ++-- spec/currency_select_spec.rb | 2 ++ spec/form_options_helper_spec.rb | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 782cc98..c3b7f88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,11 +56,11 @@ jobs: # - { 'rails': '7.0', 'ruby': '3.4.1' } - { 'rails': '7.1', 'ruby': '3.1.6' } - { 'rails': '7.1', 'ruby': '3.2.6' } -# - { 'rails': '7.1', 'ruby': '3.3.7' } + - { 'rails': '7.1', 'ruby': '3.3.7' } # - { 'rails': '7.1', 'ruby': '3.4.1' } - { 'rails': '7.2', 'ruby': '3.1.6' } - { 'rails': '7.2', 'ruby': '3.2.6' } -# - { 'rails': '7.2', 'ruby': '3.3.7' } + - { 'rails': '7.2', 'ruby': '3.3.7' } # - { 'rails': '7.2', 'ruby': '3.4.1' } - { 'rails': '8.0', 'ruby': '3.2.6' } - { 'rails': '8.0', 'ruby': '3.3.7' } diff --git a/spec/currency_select_spec.rb b/spec/currency_select_spec.rb index f72def2..93a98fe 100644 --- a/spec/currency_select_spec.rb +++ b/spec/currency_select_spec.rb @@ -3,6 +3,8 @@ require 'spec_helper' # This line can be dropped once we no longer support Rails 7.0. require 'logger' +# This line can be dropped once we no longer support Rails 7.1 and 7.2. +require 'uri' require 'action_view' require 'currency_select' require 'support/dummy_user' diff --git a/spec/form_options_helper_spec.rb b/spec/form_options_helper_spec.rb index ee5b64a..76c911a 100644 --- a/spec/form_options_helper_spec.rb +++ b/spec/form_options_helper_spec.rb @@ -3,6 +3,8 @@ require 'spec_helper' # This line can be dropped once we no longer support Rails 7.0. require 'logger' +# This line can be dropped once we no longer support Rails 7.1 and 7.2. +require 'uri' require 'action_view' require 'currency_select'