Skip to content

Commit 1a5d585

Browse files
committed
merge revision(s) 54257: [Backport ruby#12215]
* lib/uri/http.rb (URI::HTTP#initialize): [DOC] fix example, missing mandatory arguments. [ruby-core:74540] [Bug ruby#12215] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent bcccff5 commit 1a5d585

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Tue Mar 29 21:09:02 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
2+
3+
* lib/uri/http.rb (URI::HTTP#initialize): [DOC] fix example,
4+
missing mandatory arguments. [ruby-core:74540] [Bug #12215]
5+
16
Tue Mar 29 21:07:30 2016 NARUSE, Yui <naruse@ruby-lang.org>
27

38
* thread_pthread.c (reserve_stack): fix reserving position where

lib/uri/http.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def self.build(args)
6262
return super(tmp)
6363
end
6464

65+
=begin
6566
#
6667
# == Description
6768
#
@@ -74,15 +75,16 @@ def self.build(args)
7475
#
7576
# Example:
7677
#
77-
# uri = URI::HTTP.new('http', nil, "www.example.com", nil, "/path",
78-
# "query", 'fragment')
78+
# uri = URI::HTTP.new("http", nil, "www.example.com", nil, nil,
79+
# "/path", nil, "query", "fragment")
7980
#
8081
#
8182
# See also URI::Generic.new
8283
#
8384
def initialize(*arg)
8485
super(*arg)
8586
end
87+
=end
8688

8789
#
8890
# == Description

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.9"
22
#define RUBY_RELEASE_DATE "2016-03-29"
3-
#define RUBY_PATCHLEVEL 487
3+
#define RUBY_PATCHLEVEL 488
44

55
#define RUBY_RELEASE_YEAR 2016
66
#define RUBY_RELEASE_MONTH 3

0 commit comments

Comments
 (0)