From 4a91544e4beade335624c89318a81f73516288ff Mon Sep 17 00:00:00 2001 From: "shichida.masatsugu" Date: Mon, 26 Oct 2026 13:46:13 +0900 Subject: [PATCH 1/3] pin wareki to 1.x Co-Authored-By: Claude Opus 5.5 --- xls_function.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xls_function.gemspec b/xls_function.gemspec index d505513..650ed9b 100644 --- a/xls_function.gemspec +++ b/xls_function.gemspec @@ -26,5 +26,5 @@ Gem::Specification.new do |spec| spec.add_dependency 'i18n', '>= 1.10.0' spec.add_dependency 'parslet', '>= 2.0.0' - spec.add_dependency 'wareki', '>= 1.1.0' + spec.add_dependency 'wareki', '>= 1.1.0', '< 2' end From e80e2f453378e065efb91cfb8ccbd2329a7bce76 Mon Sep 17 00:00:00 2001 From: "shichida.masatsugu" Date: Mon, 26 Oct 2026 13:54:11 +0900 Subject: [PATCH 2/3] run rspec on supported ruby versions (3.3, 3.4, 4.0) Bump ruby/setup-ruby to v1.335.0 so that Ruby 4.0 can be resolved. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/rspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index ce18fa4..c8796a0 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -15,14 +15,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.7', '3.0', '3.1', '3.2'] + ruby-version: ['3.3', '3.4', '4.0'] steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Ruby # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # change this to (see https://github.com/ruby/setup-ruby#versioning) - uses: ruby/setup-ruby@922ebc4c5262cd14e07bb0e1db020984b6c064fe # v1.226.0 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically From 2d695bec89a38c61f4e691b6c4559ffa6bc540cb Mon Sep 17 00:00:00 2001 From: "shichida.masatsugu" Date: Mon, 26 Oct 2026 13:57:49 +0900 Subject: [PATCH 3/3] run rspec on ruby 3.3 in addition to 2.7-3.2 Drop 3.4 / 4.0 from the matrix for now: they need bigdecimal and nkf added as gem dependencies. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/rspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index c8796a0..ab029fd 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -15,14 +15,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['3.3', '3.4', '4.0'] + ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3'] steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Ruby # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, # change this to (see https://github.com/ruby/setup-ruby#versioning) - uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 + uses: ruby/setup-ruby@922ebc4c5262cd14e07bb0e1db020984b6c064fe # v1.226.0 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically