summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-08-28 08:00:27 +0900
committerGitHub <noreply@github.com>2024-08-27 16:00:27 -0700
commit937964f3467a6242bb4bf1431983e6847d529338 (patch)
tree7f5a0c78a3217e776b99eff0a61f15f137d2f57e /lib
parentac8d50e52ebc2d2684914e56548a64a65830c16a (diff)
Merge URI-0.13.1 for Ruby 3.3 (#11466)
Merge URI-0.13.1
Diffstat (limited to 'lib')
-rw-r--r--lib/uri/common.rb2
-rw-r--r--lib/uri/version.rb2
2 files changed, 3 insertions, 1 deletions
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