From 09a5a9e955b32b2cc7fc1ad55792aba05f9c83b5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 26 Aug 2024 13:57:52 +0900 Subject: [PATCH 1/2] Define RFC2396_PARSER for migrating with the development version --- lib/uri/common.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/uri/common.rb b/lib/uri/common.rb index faf75f0..a2b5a8a 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -19,6 +19,8 @@ module URI Parser = RFC2396_Parser RFC3986_PARSER = RFC3986_Parser.new Ractor.make_shareable(RFC3986_PARSER) if defined?(Ractor) + RFC2396_PARSER = RFC2396_Parser.new + Ractor.make_shareable(RFC2396_PARSER) if defined?(Ractor) # URI::Parser.new DEFAULT_PARSER = Parser.new From 133e151b05f4c00373a58f33691725e71c28949d Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 26 Aug 2024 14:02:12 +0900 Subject: [PATCH 2/2] Exclude Ruby 2.5 from macos-latest that is macos-14 --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6cf5ef7..ee9b2a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,9 @@ jobs: matrix: ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} os: [ ubuntu-latest, macos-latest ] + exclude: + - ruby: 2.5 + os: macos-latest runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4