ruby-changes:29993
From: zzak <ko1@a...>
Date: Thu, 18 Jul 2013 22:50:53 +0900 (JST)
Subject: [ruby-changes:29993] zzak:r42045 (trunk): * lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341]
zzak 2013-07-18 22:50:32 +0900 (Thu, 18 Jul 2013) New Revision: 42045 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42045 Log: * lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341] Patch by Dave Worth https://github.com/ruby/ruby/pull/341 * lib/webrick.rb: ditto * lib/scanf.rb: ditto * lib/xmlrpc/config.rb: ditto * lib/resolv.rb: ditto * lib/e2mmap.rb: ditto * lib/fileutils.rb: ditto * lib/mkmf.rb: ditto * lib/cgi/session.rb: ditto * lib/yaml.rb: ditto * lib/erb.rb: ditto * lib/irb.rb: ditto * lib/tracer.rb: ditto * lib/net/http.rb: ditto * ext/syslog/lib/syslog/logger.rb: ditto * sample/pty/expect_sample.rb: ditto Modified files: trunk/ChangeLog trunk/ext/syslog/lib/syslog/logger.rb trunk/lib/cgi/session.rb trunk/lib/cgi.rb trunk/lib/e2mmap.rb trunk/lib/erb.rb trunk/lib/fileutils.rb trunk/lib/irb.rb trunk/lib/mkmf.rb trunk/lib/net/http.rb trunk/lib/resolv.rb trunk/lib/scanf.rb trunk/lib/tracer.rb trunk/lib/webrick.rb trunk/lib/xmlrpc/config.rb trunk/lib/yaml.rb trunk/sample/pty/expect_sample.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 42044) +++ ChangeLog (revision 42045) @@ -1,3 +1,23 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Jul 18 22:46:42 2013 Zachary Scott <e@z...> + + * lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341] + Patch by Dave Worth https://github.com/ruby/ruby/pull/341 + * lib/webrick.rb: ditto + * lib/scanf.rb: ditto + * lib/xmlrpc/config.rb: ditto + * lib/resolv.rb: ditto + * lib/e2mmap.rb: ditto + * lib/fileutils.rb: ditto + * lib/mkmf.rb: ditto + * lib/cgi/session.rb: ditto + * lib/yaml.rb: ditto + * lib/erb.rb: ditto + * lib/irb.rb: ditto + * lib/tracer.rb: ditto + * lib/net/http.rb: ditto + * ext/syslog/lib/syslog/logger.rb: ditto + * sample/pty/expect_sample.rb: ditto + Thu Jul 18 21:30:50 2013 Tanaka Akira <akr@f...> * bignum.c (bary_sq_fast): Specialize the last iteration of the Index: sample/pty/expect_sample.rb =================================================================== --- sample/pty/expect_sample.rb (revision 42044) +++ sample/pty/expect_sample.rb (revision 42045) @@ -3,7 +3,7 @@ https://github.com/ruby/ruby/blob/trunk/sample/pty/expect_sample.rb#L3 # # by A. Ito # -# This program reports the latest version of ruby interpreter +# This program reports the latest version of Ruby interpreter # by connecting to ftp server at ruby-lang.org. # require 'pty' Index: lib/webrick.rb =================================================================== --- lib/webrick.rb (revision 42044) +++ lib/webrick.rb (revision 42045) @@ -8,7 +8,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/webrick.rb#L8 # # A WEBrick server can be composed of multiple WEBrick servers or servlets to # provide differing behavior on a per-host or per-path basis. WEBrick -# includes servlets for handling CGI scripts, ERb pages, ruby blocks and +# includes servlets for handling CGI scripts, ERb pages, Ruby blocks and # directory listings. # # WEBrick also includes tools for daemonizing a process and starting a process Index: lib/scanf.rb =================================================================== --- lib/scanf.rb (revision 42044) +++ lib/scanf.rb (revision 42045) @@ -10,7 +10,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/scanf.rb#L10 # == Description # # scanf is an implementation of the C function scanf(3), modified as necessary -# for ruby compatibility. +# for Ruby compatibility. # # the methods provided are String#scanf, IO#scanf, and # Kernel#scanf. Kernel#scanf is a wrapper around STDIN.scanf. IO#scanf Index: lib/xmlrpc/config.rb =================================================================== --- lib/xmlrpc/config.rb (revision 42044) +++ lib/xmlrpc/config.rb (revision 42045) @@ -27,7 +27,7 @@ module XMLRPC # :nodoc: https://github.com/ruby/ruby/blob/trunk/lib/xmlrpc/config.rb#L27 # allows integers greater than 32-bit if +true+ ENABLE_BIGINT = false - # enable marshalling ruby objects which include XMLRPC::Marshallable + # enable marshalling Ruby objects which include XMLRPC::Marshallable ENABLE_MARSHALLING = true # enable multiCall extension by default Index: lib/resolv.rb =================================================================== --- lib/resolv.rb (revision 42044) +++ lib/resolv.rb (revision 42045) @@ -9,7 +9,7 @@ rescue LoadError https://github.com/ruby/ruby/blob/trunk/lib/resolv.rb#L9 end # Resolv is a thread-aware DNS resolver library written in Ruby. Resolv can -# handle multiple DNS requests concurrently without blocking the entire ruby +# handle multiple DNS requests concurrently without blocking the entire Ruby # interpreter. # # See also resolv-replace.rb to replace the libc resolver with Resolv. Index: lib/e2mmap.rb =================================================================== --- lib/e2mmap.rb (revision 42044) +++ lib/e2mmap.rb (revision 42045) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/e2mmap.rb#L1 # #-- -# e2mmap.rb - for ruby 1.1 +# e2mmap.rb - for Ruby 1.1 # $Release Version: 2.0$ # $Revision: 1.10 $ # by Keiju ISHITSUKA Index: lib/fileutils.rb =================================================================== --- lib/fileutils.rb (revision 42044) +++ lib/fileutils.rb (revision 42045) @@ -417,7 +417,7 @@ module FileUtils https://github.com/ruby/ruby/blob/trunk/lib/fileutils.rb#L417 # # +src+ can be a list of files. # - # # Installing ruby library "mylib" under the site_ruby + # # Installing Ruby library "mylib" under the site_ruby # FileUtils.rm_r site_ruby + '/mylib', :force # FileUtils.cp_r 'lib/', site_ruby + '/mylib' # Index: lib/cgi.rb =================================================================== --- lib/cgi.rb (revision 42044) +++ lib/cgi.rb (revision 42045) @@ -164,7 +164,7 @@ raise "Please, use ruby 1.9.0 or later." https://github.com/ruby/ruby/blob/trunk/lib/cgi.rb#L164 # cgi.include?('field_name') # # CAUTION! cgi['field_name'] returned an Array with the old -# cgi.rb(included in ruby 1.6) +# cgi.rb(included in Ruby 1.6) # # === Get form values as hash # Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 42044) +++ lib/mkmf.rb (revision 42045) @@ -41,8 +41,8 @@ end https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L41 # :startdoc: ## -# mkmf.rb is used by ruby C extensions to generate a Makefile which will -# correctly compile and link the C extension to ruby and a third-party +# mkmf.rb is used by Ruby C extensions to generate a Makefile which will +# correctly compile and link the C extension to Ruby and a third-party # library. module MakeMakefile #### defer until this module become global-state free. @@ -57,7 +57,7 @@ module MakeMakefile https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L57 # end ## - # The makefile configuration using the defaults from when ruby was built. + # The makefile configuration using the defaults from when Ruby was built. CONFIG = RbConfig::MAKEFILE_CONFIG ORIG_LIBPATH = ENV['LIB'] @@ -2527,12 +2527,12 @@ MESSAGE https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L2527 end ## - # Common headers for ruby C extensions + # Common headers for Ruby C extensions COMMON_HEADERS = hdr.join("\n") ## - # Common libraries for ruby C extensions + # Common libraries for Ruby C extensions COMMON_LIBS = config_string('COMMON_LIBS', &split) || [] Index: lib/cgi/session.rb =================================================================== --- lib/cgi/session.rb (revision 42044) +++ lib/cgi/session.rb (revision 42045) @@ -62,7 +62,7 @@ class CGI https://github.com/ruby/ruby/blob/trunk/lib/cgi/session.rb#L62 # works with String data. This is the default # storage type. # CGI::Session::MemoryStore:: stores data in an in-memory hash. The data - # only persists for as long as the current ruby + # only persists for as long as the current Ruby # interpreter instance does. # CGI::Session::PStore:: stores data in Marshalled format. Provided by # cgi/session/pstore.rb. Supports data of any type, @@ -444,7 +444,7 @@ class CGI https://github.com/ruby/ruby/blob/trunk/lib/cgi/session.rb#L444 # In-memory session storage class. # # Implements session storage as a global in-memory hash. Session - # data will only persist for as long as the ruby interpreter + # data will only persist for as long as the Ruby interpreter # instance does. class MemoryStore GLOBAL_HASH_TABLE = {} #:nodoc: Index: lib/yaml.rb =================================================================== --- lib/yaml.rb (revision 42044) +++ lib/yaml.rb (revision 42045) @@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/lib/yaml.rb#L1 ## -# The YAML module is an alias of Psych, the YAML engine for ruby. +# The YAML module is an alias of Psych, the YAML engine for Ruby. begin require 'psych' Index: lib/erb.rb =================================================================== --- lib/erb.rb (revision 42044) +++ lib/erb.rb (revision 42045) @@ -63,7 +63,7 @@ require "cgi/util" https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L63 # # == Character encodings # -# ERB (or ruby code generated by ERB) returns a string in the same +# ERB (or Ruby code generated by ERB) returns a string in the same # character encoding as the input string. When the input string has # a magic comment, however, it returns a string in the encoding specified # by the magic comment. @@ -859,7 +859,7 @@ class ERB https://github.com/ruby/ruby/blob/trunk/lib/erb.rb#L859 end private :new_toplevel - # Define _methodname_ as instance method of _mod_ from compiled ruby source. + # Define _methodname_ as instance method of _mod_ from compiled Ruby source. # # example: # filename = 'example.rhtml' # 'arg1' and 'arg2' are used in example.rhtml Index: lib/irb.rb =================================================================== --- lib/irb.rb (revision 42044) +++ lib/irb.rb (revision 42045) @@ -21,16 +21,16 @@ require "irb/locale" https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L21 STDOUT.sync = true -# IRB stands for "interactive ruby" and is a tool to interactively execute ruby +# IRB stands for "interactive Ruby" and is a tool to interactively execute Ruby # expressions read from the standard input. # # The +irb+ command from your shell will start the interpreter. # # == Usage # -# Use of irb is easy if you know ruby. +# Use of irb is easy if you know Ruby. # -# When executing irb, prompts are displayed as follows. Then, enter the ruby +# When executing irb, prompts are displayed as follows. Then, enter the Ruby # expression. An input is executed when it is syntactically complete. # # $ irb @@ -221,7 +221,7 @@ STDOUT.sync = true https://github.com/ruby/ruby/blob/trunk/lib/irb.rb#L221 # == Restrictions # # Because irb evaluates input immediately after it is syntactically complete, -# the results may be slightly different than directly using ruby. +# the results may be slightly different than directly using Ruby. # # == IRB Sessions # Index: lib/tracer.rb =================================================================== --- lib/tracer.rb (revision 42044) +++ lib/tracer.rb (revision 42045) @@ -12,7 +12,7 @@ require "thread" https://github.com/ruby/ruby/blob/trunk/lib/tracer.rb#L12 # # == Example # -# Consider the following ruby script +# Consider the following Ruby script # # class A # def square(a) Index: lib/net/http.rb =================================================================== --- lib/net/http.rb (revision 42044) +++ lib/net/http.rb (revision 42045) @@ -266,7 +266,7 @@ module Net #:nodoc: https://github.com/ruby/ruby/blob/trunk/lib/net/http.rb#L266 # response = http.request request # Net::HTTPResponse object # end # - # In previous versions of ruby you would need to require 'net/https' to use + # In previous versions of Ruby you would need to require 'net/https' to use # HTTPS. This is no longer true. # # === Proxies @@ -395,8 +395,8 @@ module Net #:nodoc: https://github.com/ruby/ruby/blob/trunk/lib/net/http.rb#L395 end # :startdoc: - # Turns on net/http 1.2 (ruby 1.8) features. - # Defaults to ON in ruby 1.8 or later. + # Turns on net/http 1.2 (Ruby 1.8) features. + # Defaults to ON in Ruby 1.8 or later. def HTTP.version_1_2 true end Index: ext/syslog/lib/syslog/logger.rb =================================================================== --- ext/syslog/lib/syslog/logger.rb (revision 42044) +++ ext/syslog/lib/syslog/logger.rb (revision 42045) @@ -63,9 +63,9 @@ class Syslog::Logger https://github.com/ruby/ruby/blob/trunk/ext/syslog/lib/syslog/logger.rb#L63 ## # Maps Logger warning types to syslog(3) warning types. # - # Messages from ruby applications are not considered as critical as messages + # Messages from Ruby applications are not considered as critical as messages # from other system daemons using syslog(3), so most messages are reduced by - # one level. For example, a fatal message for ruby's Logger is considered + # one level. For example, a fatal message for Ruby's Logger is considered # an error for syslog(3). LEVEL_MAP = { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/