From 59d521ade472e31affb1b3e925343adb95c89dd8 Mon Sep 17 00:00:00 2001 From: naruse Date: Fri, 15 Apr 2016 12:10:04 +0000 Subject: [PATCH] merge revision(s) 54596: * lib/irb/ext/save-history.rb: Fix NoMethodError when method is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ lib/irb/ext/save-history.rb | 2 +- version.h | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a1be9620d..28f55f2ec2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 15 21:10:00 2016 SHIBATA Hiroshi + + * lib/irb/ext/save-history.rb: Fix NoMethodError when method is not defined. + Fri Apr 15 14:52:06 2016 Elliot Winkler * lib/forwardable.rb (def_instance_delegator) fix delegating to diff --git a/lib/irb/ext/save-history.rb b/lib/irb/ext/save-history.rb index d6e9be7415..ab64cf543d 100644 --- a/lib/irb/ext/save-history.rb +++ b/lib/irb/ext/save-history.rb @@ -27,7 +27,7 @@ module IRB IRB.conf[:SAVE_HISTORY] end - remove_method :save_history= + remove_method :save_history= if respond_to?(:save_history=) # Sets IRB.conf[:SAVE_HISTORY] to the given +val+ and calls # #init_save_history with this context. # diff --git a/version.h b/version.h index 6d12a8698d..4f3f4e3111 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.3.0" #define RUBY_RELEASE_DATE "2016-04-15" -#define RUBY_PATCHLEVEL 80 +#define RUBY_PATCHLEVEL 81 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 4