From 53c6349218fd4e907188bc133f4d979008985def Mon Sep 17 00:00:00 2001 From: Jumpei Matsuda Date: Thu, 2 May 2024 14:16:13 +0900 Subject: [PATCH 1/2] fix: Restrict multi_xlm version on Ruby 3.0 or lower multi_xml is required by httparty with the relaxed constraint so it now includes versions that support Ruby 3.1 or higher. https://rubygems.org/gems/multi_xml/versions/0.7.0 --- Gemfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index 5d25c16..88a2574 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,7 @@ source 'https://rubygems.org' # Specify your gem's dependencies in deploygate.gemspec gemspec + +if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("3.1.0") + gem "multi_xml", "~> 0.6.0" +end From 0b119e26272c5afbd45a5668a5103193a807875f Mon Sep 17 00:00:00 2001 From: Jumpei Matsuda Date: Thu, 2 May 2024 14:35:39 +0900 Subject: [PATCH 2/2] fix: Install rubygems-update compatible with Ruby 3.0 or lower --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 95bc30c..941a7f1 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -18,5 +18,5 @@ jobs: with: ruby-version: ${{ matrix.ruby_version }} bundler-cache: true - - run: gem update --system + - run: gem update --system 3.4.22 # The latest of Ruby 2.x support - run: bundle exec rake