From ac9d6faafea77f24ce0de1d6c10c122cf6adb45a Mon Sep 17 00:00:00 2001 From: nagachika Date: Mon, 13 Jun 2016 18:49:40 +0000 Subject: [PATCH] merge revision(s) 55120: [Backport #12413] * dir.c (dir_close): update RDoc for 2.3 #close change [ruby-core:75679] [Bug #12413] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ dir.c | 4 ++-- version.h | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 86deb99a2e..7453bc4f0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 14 03:49:28 2016 Eric Wong + + * dir.c (dir_close): update RDoc for 2.3 #close change + [ruby-core:75679] [Bug #12413] + Tue Jun 14 03:47:29 2016 Eric Wong * proc.c: fix RDoc of Proc#===/call/yield/[] diff --git a/dir.c b/dir.c index 3e46dda0e8..6a63172e85 100644 --- a/dir.c +++ b/dir.c @@ -885,8 +885,8 @@ dir_rewind(VALUE dir) * call-seq: * dir.close -> nil * - * Closes the directory stream. Any further attempts to access - * dir will raise an IOError. + * Closes the directory stream. + * Calling this method on closed Dir object is ignored since Ruby 2.3. * * d = Dir.new("testdir") * d.close #=> nil diff --git a/version.h b/version.h index 763fc3ab42..20682536fb 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.3.2" #define RUBY_RELEASE_DATE "2016-06-14" -#define RUBY_PATCHLEVEL 129 +#define RUBY_PATCHLEVEL 130 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 6