From 937964f3467a6242bb4bf1431983e6847d529338 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 28 Aug 2024 08:00:27 +0900 Subject: [PATCH] Merge URI-0.13.1 for Ruby 3.3 (#11466) Merge URI-0.13.1 --- lib/uri/common.rb | 2 ++ lib/uri/version.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/uri/common.rb b/lib/uri/common.rb index dce09fbc1e..b60292765a 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 diff --git a/lib/uri/version.rb b/lib/uri/version.rb index 2dafa57d59..bfe3f47670 100644 --- a/lib/uri/version.rb +++ b/lib/uri/version.rb @@ -1,6 +1,6 @@ module URI # :stopdoc: - VERSION_CODE = '001300'.freeze + VERSION_CODE = '001301'.freeze VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze # :startdoc: end