diff options
author | Benoit Daloze <[email protected]> | 2021-06-25 13:38:01 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-07-27 16:54:27 +0900 |
commit | 1cf111774f03c6d1ddba735cb8cc79483f16f699 (patch) | |
tree | b90249839fb24c0d350544eda50666e95c5d968b /lib/uri/ldap.rb | |
parent | 090d799c2496f4c0e1f25c9970f4015fc693ff0e (diff) |
[ruby/uri] Add proper Ractor support to URI
* Using a module to map scheme name to scheme class, which also works with Ractor.
* No constant redefinition, no ObjectSpace, still fast lookup for initial schemes.
https://github.com/ruby/uri/commit/883567fd81
Diffstat (limited to 'lib/uri/ldap.rb')
-rw-r--r-- | lib/uri/ldap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/ldap.rb b/lib/uri/ldap.rb index 14e6163292..4544349f18 100644 --- a/lib/uri/ldap.rb +++ b/lib/uri/ldap.rb @@ -257,5 +257,5 @@ module URI end end - @@schemes['LDAP'] = LDAP + register_scheme 'LDAP', LDAP end |