diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-25 10:49:29 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-25 10:49:29 +0000 |
commit | 217d37a64a0df8ed369998c135acc175cac4c6dd (patch) | |
tree | 39df11f9e6c91a7dcdfead5cb266818643ba9e9c | |
parent | b514742374d1afffa56e1a2e0849fd3f5c6d8025 (diff) |
* lib/uri/common.rb: [DOC] typo fixes by @vipulnsward [Fixes GH-456]
https://github.com/ruby/ruby/pull/456
* lib/uri/generic.rb: [DOC] ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/uri/common.rb | 2 | ||||
-rw-r--r-- | lib/uri/generic.rb | 4 |
3 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,9 @@ +Mon Nov 25 19:48:10 2013 Zachary Scott <[email protected]> + + * lib/uri/common.rb: [DOC] typo fixes by @vipulnsward [Fixes GH-456] + https://github.com/ruby/ruby/pull/456 + * lib/uri/generic.rb: [DOC] ditto. + Mon Nov 25 14:34:42 2013 Zachary Scott <[email protected]> * ext/bigdecimal/bigdecimal.gemspec: bump BigDecimal to 1.2.3 for diff --git a/lib/uri/common.rb b/lib/uri/common.rb index 771be971a5..28c7933be6 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -74,7 +74,7 @@ module URI # The constructor accepts a hash as options for parser. # Keys of options are pattern names of URI components # and values of options are pattern strings. - # The constructor generetes set of regexps for parsing URIs. + # The constructor generates set of regexps for parsing URIs. # # You can use the following keys: # diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb index b1195fdf0b..48c9d7b9a2 100644 --- a/lib/uri/generic.rb +++ b/lib/uri/generic.rb @@ -552,7 +552,7 @@ module URI protected :set_password # returns the userinfo +ui+ as user, password - # if properly formated as 'user:password' + # if properly formatted as 'user:password' def split_userinfo(ui) return nil, nil unless ui user, password = ui.split(/:/, 2) @@ -672,7 +672,7 @@ module URI # u.hostname = "::1" # p u.to_s #=> "http://[::1]/bar" # - # If the arugument seems IPv6 address, + # If the arguement seems IPv6 address, # it is wrapped by brackets. # def hostname=(v) |