[前][次][番号順一覧][スレッド一覧]

ruby-changes:41864

From: usa <ko1@a...>
Date: Thu, 25 Feb 2016 20:03:52 +0900 (JST)
Subject: [ruby-changes:41864] usa:r53938 (ruby_2_1): merge revision(s) 53790, 53844: [Backport #12054]

usa	2016-02-25 20:04:33 +0900 (Thu, 25 Feb 2016)

  New Revision: 53938

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53938

  Log:
    merge revision(s) 53790,53844: [Backport #12054]
    
    * lib/logger.rb: Remove block from Logger.add as it's not needed
      patch provided by Daniel Lobato Garc?\239?\190?\131?\239?\189?\173 [fix GH-1240] [Bug #12054]
      patch provided by Daniel Lobato Garcia [fix GH-1240] [Bug #12054]

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/lib/logger.rb
    branches/ruby_2_1/version.h
Index: ruby_2_1/version.h
===================================================================
--- ruby_2_1/version.h	(revision 53937)
+++ ruby_2_1/version.h	(revision 53938)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1
 #define RUBY_VERSION "2.1.9"
 #define RUBY_RELEASE_DATE "2016-02-25"
-#define RUBY_PATCHLEVEL 456
+#define RUBY_PATCHLEVEL 457
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 2
Index: ruby_2_1/lib/logger.rb
===================================================================
--- ruby_2_1/lib/logger.rb	(revision 53937)
+++ ruby_2_1/lib/logger.rb	(revision 53938)
@@ -361,7 +361,7 @@ class Logger https://github.com/ruby/ruby/blob/trunk/ruby_2_1/lib/logger.rb#L361
   # * Append open does not need to lock file.
   # * If the OS supports multi I/O, records possibly may be mixed.
   #
-  def add(severity, message = nil, progname = nil, &block)
+  def add(severity, message = nil, progname = nil)
     severity ||= UNKNOWN
     if @logdev.nil? or severity < @level
       return true
Index: ruby_2_1/ChangeLog
===================================================================
--- ruby_2_1/ChangeLog	(revision 53937)
+++ ruby_2_1/ChangeLog	(revision 53938)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/ChangeLog#L1
+Thu Feb 25 20:03:32 2016  Naotoshi Seo  <sonots@g...>
+
+	* lib/logger.rb: Remove block from Logger.add as it's not needed
+	  patch provided by Daniel Lobato Garcia [fix GH-1240] [Bug #12054]
+
 Thu Feb 25 19:58:48 2016  Zachary Scott  <zzak@r...>
 
 	* re.c: Remove deprecated kcode argument from Regexp.new and compile

Property changes on: ruby_2_1
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r53790,53844


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]