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

ruby-changes:35059

From: nagachika <ko1@a...>
Date: Mon, 11 Aug 2014 23:56:03 +0900 (JST)
Subject: [ruby-changes:35059] nagachika:r47141 (ruby_2_1): merge revision(s) r46241: [Backport #9875]

nagachika	2014-08-11 23:55:58 +0900 (Mon, 11 Aug 2014)

  New Revision: 47141

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

  Log:
    merge revision(s) r46241: [Backport #9875]
    
    * lib/erb.rb (result): [DOC] no longer accepts a Proc, as
      Kernel.eval does not.  [fix GH-619]

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/lib/erb.rb
    branches/ruby_2_1/version.h
Index: ruby_2_1/ChangeLog
===================================================================
--- ruby_2_1/ChangeLog	(revision 47140)
+++ ruby_2_1/ChangeLog	(revision 47141)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/ChangeLog#L1
+Mon Aug 11 23:55:32 2014  Mark Lorenz  <mlorenz@c...>
+
+	* lib/erb.rb (result): [DOC] no longer accepts a Proc, as
+	  Kernel.eval does not.  [fix GH-619]
+
 Mon Aug 11 23:38:20 2014  Tanaka Akira  <akr@f...>
 
 	* io.c (rb_io_autoclose_p): Don't raise on frozen IO.
Index: ruby_2_1/lib/erb.rb
===================================================================
--- ruby_2_1/lib/erb.rb	(revision 47140)
+++ ruby_2_1/lib/erb.rb	(revision 47141)
@@ -837,7 +837,7 @@ class ERB https://github.com/ruby/ruby/blob/trunk/ruby_2_1/lib/erb.rb#L837
   # the results of that code.  (See ERB::new for details on how this process
   # can be affected by _safe_level_.)
   #
-  # _b_ accepts a Binding or Proc object which is used to set the context of
+  # _b_ accepts a Binding object which is used to set the context of
   # code evaluation.
   #
   def result(b=new_toplevel)
Index: ruby_2_1/version.h
===================================================================
--- ruby_2_1/version.h	(revision 47140)
+++ ruby_2_1/version.h	(revision 47141)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1
 #define RUBY_VERSION "2.1.2"
 #define RUBY_RELEASE_DATE "2014-08-11"
-#define RUBY_PATCHLEVEL 199
+#define RUBY_PATCHLEVEL 200
 
 #define RUBY_RELEASE_YEAR 2014
 #define RUBY_RELEASE_MONTH 8

Property changes on: ruby_2_1
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r46241


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

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