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

ruby-changes:32906

From: nagachika <ko1@a...>
Date: Sun, 16 Feb 2014 01:01:12 +0900 (JST)
Subject: [ruby-changes:32906] nagachika:r44985 (ruby_2_0_0): merge revision(s) r44878, r44879: [Backport #9483]

nagachika	2014-02-16 01:01:02 +0900 (Sun, 16 Feb 2014)

  New Revision: 44985

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

  Log:
    merge revision(s) r44878,r44879: [Backport #9483]
    
    * ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core
      classes when referring to return value, since we aren't directly
      talking about the class. Patch by Jonathan Jackson [Bug #9483]
    
    * lib/open-uri.rb: [DOC] use lower case version of core classes, same
      as commit r44878, based on patch by Jonathan Jackson [Bug #9483]

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/ext/ripper/lib/ripper/lexer.rb
    branches/ruby_2_0_0/lib/open-uri.rb
    branches/ruby_2_0_0/version.h
Index: ruby_2_0_0/ChangeLog
===================================================================
--- ruby_2_0_0/ChangeLog	(revision 44984)
+++ ruby_2_0_0/ChangeLog	(revision 44985)
@@ -1,3 +1,14 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1
+Sun Feb 16 01:00:45 2014  Zachary Scott  <e@z...>
+
+	* lib/open-uri.rb: [DOC] use lower case version of core classes, same
+	  as commit r44878, based on patch by Jonathan Jackson [Bug #9483]
+
+Sun Feb 16 01:00:45 2014  Zachary Scott  <e@z...>
+
+	* ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core
+	  classes when referring to return value, since we aren't directly
+	  talking about the class. Patch by Jonathan Jackson [Bug #9483]
+
 Sun Feb 16 00:57:13 2014  Ayumu AIZAWA  <ayumu.aizawa@g...>
 
 	* variable.c: [DOC] adding extra example in docs.
Index: ruby_2_0_0/lib/open-uri.rb
===================================================================
--- ruby_2_0_0/lib/open-uri.rb	(revision 44984)
+++ ruby_2_0_0/lib/open-uri.rb	(revision 44985)
@@ -519,8 +519,9 @@ module OpenURI https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/lib/open-uri.rb#L519
       end
     end
 
-    # returns a list of encodings in Content-Encoding field
-    # as an Array of String.
+    # Returns a list of encodings in Content-Encoding field as an array of
+    # strings.
+    #
     # The encodings are downcased for canonicalization.
     def content_encoding
       v = @meta['content-encoding']
Index: ruby_2_0_0/ext/ripper/lib/ripper/lexer.rb
===================================================================
--- ruby_2_0_0/ext/ripper/lib/ripper/lexer.rb	(revision 44984)
+++ ruby_2_0_0/ext/ripper/lib/ripper/lexer.rb	(revision 44985)
@@ -12,7 +12,7 @@ require 'ripper/core' https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ext/ripper/lib/ripper/lexer.rb#L12
 
 class Ripper
 
-  # Tokenizes the Ruby program and returns an Array of String.
+  # Tokenizes the Ruby program and returns an array of strings.
   #
   #   p Ripper.tokenize("def m(a) nil end")
   #      # => ["def", " ", "m", "(", "a", ")", " ", "nil", " ", "end"]
@@ -21,7 +21,7 @@ class Ripper https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ext/ripper/lib/ripper/lexer.rb#L21
     Lexer.new(src, filename, lineno).tokenize
   end
 
-  # Tokenizes the Ruby program and returns an Array of an Array,
+  # Tokenizes the Ruby program and returns an array of an array,
   # which is formatted like <code>[[lineno, column], type, token]</code>.
   #
   #   require 'ripper'
Index: ruby_2_0_0/version.h
===================================================================
--- ruby_2_0_0/version.h	(revision 44984)
+++ ruby_2_0_0/version.h	(revision 44985)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1
 #define RUBY_VERSION "2.0.0"
 #define RUBY_RELEASE_DATE "2014-02-16"
-#define RUBY_PATCHLEVEL 419
+#define RUBY_PATCHLEVEL 420
 
 #define RUBY_RELEASE_YEAR 2014
 #define RUBY_RELEASE_MONTH 2

Property changes on: ruby_2_0_0
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r44878-44879


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

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