From b136f7d521401b5b88b253ded6537e46505a266a Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Sat, 13 Jan 2024 03:02:09 -0800 Subject: [PATCH] various: fix miscellaneous typos (#530) Signed-off-by: Patrick Linnane --- lib/addressable/template.rb | 2 +- lib/addressable/uri.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/addressable/template.rb b/lib/addressable/template.rb index bc520415..08556d9e 100644 --- a/lib/addressable/template.rb +++ b/lib/addressable/template.rb @@ -157,7 +157,7 @@ def values # the ::MatchData#[] behavior. # # @param [#to_int, nil] len - # If provided, an array of values will be returend with the given + # If provided, an array of values will be returned with the given # parameter used as length. # # @return [Array, String, nil] diff --git a/lib/addressable/uri.rb b/lib/addressable/uri.rb index 2fc87eec..40b80cf0 100644 --- a/lib/addressable/uri.rb +++ b/lib/addressable/uri.rb @@ -1539,7 +1539,7 @@ def normalized_path # Relative paths with colons in the first segment are ambiguous. path = path.sub(":", "%2F") end - # String#split(delimeter, -1) uses the more strict splitting behavior + # String#split(delimiter, -1) uses the more strict splitting behavior # found by default in Python. result = path.strip.split(SLASH, -1).map do |segment| Addressable::URI.normalize_component(