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

ruby-changes:30001

From: zzak <ko1@a...>
Date: Fri, 19 Jul 2013 11:26:21 +0900 (JST)
Subject: [ruby-changes:30001] zzak:r42053 (trunk): * lib/rdoc/*: [DOC] Capitalize "Ruby" in documentation

zzak	2013-07-19 11:26:08 +0900 (Fri, 19 Jul 2013)

  New Revision: 42053

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

  Log:
    * lib/rdoc/*: [DOC] Capitalize "Ruby" in documentation
      Patch by Dave Worth https://github.com/ruby/ruby/pull/341

  Modified files:
    trunk/ChangeLog
    trunk/lib/rdoc/class_module.rb
    trunk/lib/rdoc/markdown/literals_1_9.rb
    trunk/lib/rdoc/markup/to_joined_paragraph.rb
    trunk/lib/rdoc/markup/verbatim.rb
    trunk/lib/rdoc/markup.rb
    trunk/lib/rdoc/method_attr.rb
    trunk/lib/rdoc/parser/c.rb
    trunk/lib/rdoc/parser/ruby.rb
    trunk/lib/rdoc/ri/paths.rb
    trunk/lib/rdoc/tom_doc.rb
    trunk/lib/rdoc/top_level.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42052)
+++ ChangeLog	(revision 42053)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jul 19 11:25:12 2013  Zachary Scott  <e@z...>
+
+	* lib/rdoc/*: [DOC] Capitalize "Ruby" in documentation
+	  Patch by Dave Worth https://github.com/ruby/ruby/pull/341
+
 Fri Jul 19 11:23:55 2013  Zachary Scott  <e@z...>
 
 	* lib/rubygems*: [DOC] Capitalize "Ruby" in documentation
Index: lib/rdoc/top_level.rb
===================================================================
--- lib/rdoc/top_level.rb	(revision 42052)
+++ lib/rdoc/top_level.rb	(revision 42053)
@@ -98,7 +98,7 @@ class RDoc::TopLevel < RDoc::Context https://github.com/ruby/ruby/blob/trunk/lib/rdoc/top_level.rb#L98
 
   ##
   # Adds class or module +mod+. Used in the building phase
-  # by the ruby parser.
+  # by the Ruby parser.
 
   def add_to_classes_or_modules mod
     @classes_or_modules << mod
Index: lib/rdoc/markup/to_joined_paragraph.rb
===================================================================
--- lib/rdoc/markup/to_joined_paragraph.rb	(revision 42052)
+++ lib/rdoc/markup/to_joined_paragraph.rb	(revision 42053)
@@ -47,7 +47,7 @@ class RDoc::Markup::ToJoinedParagraph < https://github.com/ruby/ruby/blob/trunk/lib/rdoc/markup/to_joined_paragraph.rb#L47
       end
     end
 
-    # TODO use Enumerable#chunk when ruby 1.8 support is dropped
+    # TODO use Enumerable#chunk when Ruby 1.8 support is dropped
     #parts = paragraph.parts.chunk do |part|
     #  String === part
     #end.map do |string, chunk|
Index: lib/rdoc/markup/verbatim.rb
===================================================================
--- lib/rdoc/markup/verbatim.rb	(revision 42052)
+++ lib/rdoc/markup/verbatim.rb	(revision 42053)
@@ -65,7 +65,7 @@ class RDoc::Markup::Verbatim < RDoc::Mar https://github.com/ruby/ruby/blob/trunk/lib/rdoc/markup/verbatim.rb#L65
   end
 
   ##
-  # Is this verbatim section ruby code?
+  # Is this verbatim section Ruby code?
 
   def ruby?
     @format ||= nil # TODO for older ri data, switch the tree to marshal_dump
Index: lib/rdoc/markup.rb
===================================================================
--- lib/rdoc/markup.rb	(revision 42052)
+++ lib/rdoc/markup.rb	(revision 42053)
@@ -127,7 +127,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/rdoc/markup.rb#L127
 # left, so the amount of indentation of verbatim text is unimportant.
 #
 # For HTML output RDoc makes a small effort to determine if a verbatim section
-# contains ruby source code.  If so, the verbatim block will be marked up as
+# contains Ruby source code.  If so, the verbatim block will be marked up as
 # HTML.  Triggers include "def", "class", "module", "require", the "hash
 # rocket"# (=>) or a block call with a parameter.
 #
@@ -683,7 +683,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/rdoc/markup.rb#L683
 #
 # [+:markup:+ _type_]
 #   Overrides the default markup type for this comment with the specified
-#   markup type.  For ruby files, if the first comment contains this directive
+#   markup type.  For Ruby files, if the first comment contains this directive
 #   it is applied automatically to all comments in the file.
 #
 #   Unless you are converting between markup formats you should use a
Index: lib/rdoc/ri/paths.rb
===================================================================
--- lib/rdoc/ri/paths.rb	(revision 42052)
+++ lib/rdoc/ri/paths.rb	(revision 42053)
@@ -162,9 +162,9 @@ module RDoc::RI::Paths https://github.com/ruby/ruby/blob/trunk/lib/rdoc/ri/paths.rb#L162
   ##
   # The location of ri data installed into the site dir.
   #
-  # Historically this was available for documentation installed by ruby
+  # Historically this was available for documentation installed by Ruby
   # libraries predating RubyGems.  It is unlikely to contain any content for
-  # modern ruby installations.
+  # modern Ruby installations.
 
   def self.site_dir
     File.join BASE, 'site'
@@ -173,11 +173,11 @@ module RDoc::RI::Paths https://github.com/ruby/ruby/blob/trunk/lib/rdoc/ri/paths.rb#L173
   ##
   # The location of the built-in ri data.
   #
-  # This data is built automatically when `make` is run when ruby is
-  # installed.  If you did not install ruby by hand you may need to install
+  # This data is built automatically when `make` is run when Ruby is
+  # installed.  If you did not install Ruby by hand you may need to install
   # the documentation yourself.  Please consult the documentation for your
-  # package manager or ruby installer for details.  You can also use the
-  # rdoc-data gem to install system ri data for common versions of ruby.
+  # package manager or Ruby installer for details.  You can also use the
+  # rdoc-data gem to install system ri data for common versions of Ruby.
 
   def self.system_dir
     File.join BASE, 'system'
Index: lib/rdoc/class_module.rb
===================================================================
--- lib/rdoc/class_module.rb	(revision 42052)
+++ lib/rdoc/class_module.rb	(revision 42053)
@@ -175,7 +175,7 @@ class RDoc::ClassModule < RDoc::Context https://github.com/ruby/ruby/blob/trunk/lib/rdoc/class_module.rb#L175
   alias direct_ancestors ancestors
 
   ##
-  # Clears the comment. Used by the ruby parser.
+  # Clears the comment. Used by the Ruby parser.
 
   def clear_comment
     @comment = ''
Index: lib/rdoc/markdown/literals_1_9.rb
===================================================================
--- lib/rdoc/markdown/literals_1_9.rb	(revision 42052)
+++ lib/rdoc/markdown/literals_1_9.rb	(revision 42053)
@@ -3,7 +3,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/rdoc/markdown/literals_1_9.rb#L3
 
 ##
 #--
-# This set of literals is for ruby 1.9 regular expressions and gives full
+# This set of literals is for Ruby 1.9 regular expressions and gives full
 # unicode support.
 #
 # Unlike peg-markdown, this set of literals recognizes Unicode alphanumeric
Index: lib/rdoc/tom_doc.rb
===================================================================
--- lib/rdoc/tom_doc.rb	(revision 42052)
+++ lib/rdoc/tom_doc.rb	(revision 42053)
@@ -147,7 +147,7 @@ class RDoc::TomDoc < RDoc::Markup::Parse https://github.com/ruby/ruby/blob/trunk/lib/rdoc/tom_doc.rb#L147
   end
 
   # Internal: Builds a verbatim from the token stream.  A verbatim in the
-  # Examples section will be marked as in ruby format.
+  # Examples section will be marked as in Ruby format.
   #
   # margin - The indentation from the margin for lines that belong to this
   #          verbatim section.
Index: lib/rdoc/parser/ruby.rb
===================================================================
--- lib/rdoc/parser/ruby.rb	(revision 42052)
+++ lib/rdoc/parser/ruby.rb	(revision 42053)
@@ -1393,7 +1393,7 @@ class RDoc::Parser::Ruby < RDoc::Parser https://github.com/ruby/ruby/blob/trunk/lib/rdoc/parser/ruby.rb#L1393
   end
 
   ##
-  # The core of the ruby parser.
+  # The core of the Ruby parser.
 
   def parse_statements(container, single = NORMAL, current_method = nil,
                        comment = new_comment(''))
@@ -1826,7 +1826,7 @@ class RDoc::Parser::Ruby < RDoc::Parser https://github.com/ruby/ruby/blob/trunk/lib/rdoc/parser/ruby.rb#L1826
   end
 
   ##
-  # Scans this ruby file for ruby constructs
+  # Scans this Ruby file for Ruby constructs
 
   def scan
     reset
Index: lib/rdoc/parser/c.rb
===================================================================
--- lib/rdoc/parser/c.rb	(revision 42052)
+++ lib/rdoc/parser/c.rb	(revision 42053)
@@ -123,7 +123,7 @@ class RDoc::Parser::C < RDoc::Parser https://github.com/ruby/ruby/blob/trunk/lib/rdoc/parser/c.rb#L123
   include RDoc::Text
 
   ##
-  # Maps C variable names to names of ruby classes or modules
+  # Maps C variable names to names of Ruby classes or modules
 
   attr_reader :classes
 
@@ -139,7 +139,7 @@ class RDoc::Parser::C < RDoc::Parser https://github.com/ruby/ruby/blob/trunk/lib/rdoc/parser/c.rb#L139
   attr_reader :enclosure_dependencies
 
   ##
-  # Maps C variable names to names of ruby classes (and singleton classes)
+  # Maps C variable names to names of Ruby classes (and singleton classes)
 
   attr_reader :known_classes
 
@@ -150,7 +150,7 @@ class RDoc::Parser::C < RDoc::Parser https://github.com/ruby/ruby/blob/trunk/lib/rdoc/parser/c.rb#L150
   attr_reader :missing_dependencies
 
   ##
-  # Maps C variable names to names of ruby singleton classes
+  # Maps C variable names to names of Ruby singleton classes
 
   attr_reader :singleton_classes
 
Index: lib/rdoc/method_attr.rb
===================================================================
--- lib/rdoc/method_attr.rb	(revision 42052)
+++ lib/rdoc/method_attr.rb	(revision 42053)
@@ -211,7 +211,7 @@ class RDoc::MethodAttr < RDoc::CodeObjec https://github.com/ruby/ruby/blob/trunk/lib/rdoc/method_attr.rb#L211
   end
 
   ##
-  # Attempts to sanitize the content passed by the ruby parser:
+  # Attempts to sanitize the content passed by the Ruby parser:
   # remove outer parentheses, etc.
 
   def block_params=(value)

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

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