From 547489ed6f700f89bb5bf22eefe8013133e336da 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 ca38bec..0c4064a 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 1fa7269bbd490c7afed9f2effede1bedb6d9fe84 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 26 Aug 2024 14:01:28 +0900 Subject: [PATCH 2/2] Exclude Ruby 2.5 and 2.4 from macos-latest that is macos-14 --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d62eabc..ef0cfb5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,11 @@ jobs: matrix: ruby: [ 3.1, '3.0', 2.7, 2.6, 2.5, 2.4, head, truffleruby ] os: [ ubuntu-latest, macos-latest ] + exclude: + - ruby: 2.4 + os: macos-latest + - ruby: 2.5 + os: macos-latest runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3