diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-21 07:56:47 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-21 07:56:47 +0000 |
commit | f82fd950c1a86235eb0529641f482b5a7e4ba835 (patch) | |
tree | 0fe757c1d057d31a798367ead8b3046142727f1f | |
parent | a5d754acb8cfd6d3ac9f26b17ef27ca588420e38 (diff) |
merge revision(s) 53668: [Backport #12759]
* lib/tempfile.rb (Tempfile#initialize): [DOC] the first parameter
`basename` is optional and defaulted to an empty string since
[GH-523]. [Fix GH-1225]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/tempfile.rb | 2 | ||||
-rw-r--r-- | version.h | 6 |
3 files changed, 10 insertions, 4 deletions
@@ -1,3 +1,9 @@ +Mon Nov 21 16:55:15 2016 boshan <boshan@subsplash.com> + + * lib/tempfile.rb (Tempfile#initialize): [DOC] the first parameter + `basename` is optional and defaulted to an empty string since + [GH-523]. [Fix GH-1225] + Sat Nov 19 14:06:07 2016 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org> * iseq.c (proc_dup): don't duplicate sym_procs. [Fix GH-1479] diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 13d9585a3b..223637f84a 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -80,7 +80,7 @@ require 'tmpdir' # mutex. class Tempfile < DelegateClass(File) # call-seq: - # new(basename, [tmpdir = Dir.tmpdir], [options]) + # new(basename = "", [tmpdir = Dir.tmpdir], [options]) # # Creates a temporary file with permissions 0600 (= only readable and # writable by the owner) and opens it with mode "w+". @@ -1,10 +1,10 @@ #define RUBY_VERSION "2.3.3" -#define RUBY_RELEASE_DATE "2016-11-19" -#define RUBY_PATCHLEVEL 221 +#define RUBY_RELEASE_DATE "2016-11-21" +#define RUBY_PATCHLEVEL 222 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 11 -#define RUBY_RELEASE_DAY 19 +#define RUBY_RELEASE_DAY 21 #include "ruby/version.h" |