diff --git a/lib/uri/common.rb b/lib/uri/common.rb index ca38bec7ec61ee..0c4064a67a1840 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 f0aca586acab4f..7da021da6826bf 100644 --- a/lib/uri/version.rb +++ b/lib/uri/version.rb @@ -1,6 +1,6 @@ module URI # :stopdoc: - VERSION_CODE = '001202'.freeze + VERSION_CODE = '001203'.freeze VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze # :startdoc: end