Skip to content

Commit

Permalink
various: fix miscellaneous typos (#530)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Linnane <patrick@linnane.io>
  • Loading branch information
p-linnane committed Jan 13, 2024
1 parent 42424ee commit b136f7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/addressable/template.rb
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion lib/addressable/uri.rb
Expand Up @@ -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(
Expand Down

0 comments on commit b136f7d

Please sign in to comment.