From 5d5ca1071892b2b20b3fba1fa618cb9e7872b99f Mon Sep 17 00:00:00 2001 From: Charley Stran Date: Sat, 21 Dec 2019 14:55:32 -0600 Subject: [PATCH 1/2] fixing missing encode component documentation entry --- lib/addressable/uri.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addressable/uri.rb b/lib/addressable/uri.rb index 71a806bf..35eb945b 100644 --- a/lib/addressable/uri.rb +++ b/lib/addressable/uri.rb @@ -421,7 +421,7 @@ def self.encode_component(component, character_class= end class << self - alias_method :encode_component, :encode_component + alias_method :escape_component, :encode_component end ## From 759249b6256f95ed414175b70f81f3e6c2cf51bf Mon Sep 17 00:00:00 2001 From: Charley Stran Date: Sat, 21 Dec 2019 14:55:32 -0600 Subject: [PATCH 2/2] fixing missing encode component documentation entry --- lib/addressable/uri.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addressable/uri.rb b/lib/addressable/uri.rb index 71a806bf..35eb945b 100644 --- a/lib/addressable/uri.rb +++ b/lib/addressable/uri.rb @@ -421,7 +421,7 @@ def self.encode_component(component, character_class= end class << self - alias_method :encode_component, :encode_component + alias_method :escape_component, :encode_component end ##