ruby-changes:30000
From: zzak <ko1@a...>
Date: Fri, 19 Jul 2013 11:24:43 +0900 (JST)
Subject: [ruby-changes:30000] zzak:r42052 (trunk): * lib/rubygems*: [DOC] Capitalize "Ruby" in documentation
zzak 2013-07-19 11:24:31 +0900 (Fri, 19 Jul 2013) New Revision: 42052 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42052 Log: * lib/rubygems*: [DOC] Capitalize "Ruby" in documentation Patch by Dave Worth https://github.com/ruby/ruby/pull/341 Modified files: trunk/ChangeLog trunk/lib/rubygems/installer.rb trunk/lib/rubygems/package.rb trunk/lib/rubygems/platform.rb trunk/lib/rubygems/server.rb trunk/lib/rubygems/specification.rb trunk/lib/rubygems/test_case.rb trunk/lib/rubygems.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 42051) +++ ChangeLog (revision 42052) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Jul 19 11:23:55 2013 Zachary Scott <e@z...> + + * lib/rubygems*: [DOC] Capitalize "Ruby" in documentation + Patch by Dave Worth https://github.com/ruby/ruby/pull/341 + Fri Jul 19 11:16:54 2013 Akinori MUSHA <knu@i...> * lib/set.rb (Set#to_set): Define Set#to_set so that aSet.to_set Index: lib/rubygems/specification.rb =================================================================== --- lib/rubygems/specification.rb (revision 42051) +++ lib/rubygems/specification.rb (revision 42052) @@ -452,7 +452,7 @@ class Gem::Specification < Gem::BasicSpe https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L452 # # For example, the rake gem has rake as an executable. You don specify the # full path (as in bin/rake); all application-style files are expected to be - # found in bindir. These files must be executable ruby files. Files that + # found in bindir. These files must be executable Ruby files. Files that # use bash or other interpreters will not work. # # Usage: @@ -538,7 +538,7 @@ class Gem::Specification < Gem::BasicSpe https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L538 end ## - # The version of ruby required by this gem + # The version of Ruby required by this gem # # Usage: # @@ -607,7 +607,7 @@ class Gem::Specification < Gem::BasicSpe https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L607 attr_writer :original_platform # :nodoc: ## - # The version of ruby required by this gem + # The version of Ruby required by this gem attr_reader :required_ruby_version Index: lib/rubygems/server.rb =================================================================== --- lib/rubygems/server.rb (revision 42051) +++ lib/rubygems/server.rb (revision 42052) @@ -670,13 +670,13 @@ div.method-source-code pre { color: #ffd https://github.com/ruby/ruby/blob/trunk/lib/rubygems/server.rb#L670 # documentation for the particular gem, otherwise a list with results is # shown. # - # === Additional trick - install documentation for ruby core + # === Additional trick - install documentation for Ruby core # # Note: please adjust paths accordingly use for example 'locate yaml.rb' and # 'gem environment' to identify directories, that are specific for your # local installation # - # 1. install ruby sources + # 1. install Ruby sources # cd /usr/src # sudo apt-get source ruby # @@ -702,7 +702,7 @@ div.method-source-code pre { color: #ffd https://github.com/ruby/ruby/blob/trunk/lib/rubygems/server.rb#L702 # name pattern was found. # # The search is based on the file system content, not on the gems metadata. - # This allows additional documentation folders like 'core' for the ruby core + # This allows additional documentation folders like 'core' for the Ruby core # documentation - just put it underneath the main doc folder. def show_rdoc_for_pattern(pattern, res) Index: lib/rubygems/platform.rb =================================================================== --- lib/rubygems/platform.rb (revision 42051) +++ lib/rubygems/platform.rb (revision 42052) @@ -181,13 +181,13 @@ class Gem::Platform https://github.com/ruby/ruby/blob/trunk/lib/rubygems/platform.rb#L181 end ## - # A pure-ruby gem that may use Gem::Specification#extensions to build + # A pure-Ruby gem that may use Gem::Specification#extensions to build # binary files. RUBY = 'ruby' ## - # A platform-specific gem that is built for the packaging ruby's platform. + # A platform-specific gem that is built for the packaging Ruby's platform. # This will be replaced with Gem::Platform::local. CURRENT = 'current' Index: lib/rubygems/package.rb =================================================================== --- lib/rubygems/package.rb (revision 42051) +++ lib/rubygems/package.rb (revision 42052) @@ -37,7 +37,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/rubygems/package.rb#L37 # the_gem.spec # get the spec out of the gem # the_gem.verify # check the gem is OK (contains valid gem specification, contains a not corrupt contents archive) # -# #files are the files in the .gem tar file, not the ruby files in the gem +# #files are the files in the .gem tar file, not the Ruby files in the gem # #extract_files and #contents automatically call #verify require 'rubygems/security' Index: lib/rubygems/installer.rb =================================================================== --- lib/rubygems/installer.rb (revision 42051) +++ lib/rubygems/installer.rb (revision 42052) @@ -84,8 +84,8 @@ class Gem::Installer https://github.com/ruby/ruby/blob/trunk/lib/rubygems/installer.rb#L84 # :env_shebang:: Use /usr/bin/env in bin wrappers. # :force:: Overrides all version checks and security policy checks, except # for a signed-gems-only policy. - # :format_executable:: Format the executable the same as the ruby executable. - # If your ruby is ruby18, foo_exec will be installed as + # :format_executable:: Format the executable the same as the Ruby executable. + # If your Ruby is ruby18, foo_exec will be installed as # foo_exec18. # :ignore_dependencies:: Don't raise if a dependency is missing. # :install_dir:: The directory to install the gem into. @@ -144,7 +144,7 @@ class Gem::Installer https://github.com/ruby/ruby/blob/trunk/lib/rubygems/installer.rb#L144 io.gets # blankline # TODO detect a specially formatted comment instead of trying - # to run a regexp against ruby code. + # to run a regexp against Ruby code. next unless io.gets =~ /This file was generated by RubyGems/ ruby_executable = true @@ -642,7 +642,7 @@ TEXT https://github.com/ruby/ruby/blob/trunk/lib/rubygems/installer.rb#L642 end ## - # return the stub script text used to launch the true ruby script + # return the stub script text used to launch the true Ruby script def windows_stub_script(bindir, bin_file_name) ruby = File.basename(Gem.ruby).chomp('"') @@ -771,7 +771,7 @@ EOF https://github.com/ruby/ruby/blob/trunk/lib/rubygems/installer.rb#L771 ## # Performs various checks before installing the gem such as the install - # repository is writable and its directories exist, required ruby and + # repository is writable and its directories exist, required Ruby and # rubygems versions are met and that dependencies are installed. # # Version and dependency checks are skipped if this install is forced. Index: lib/rubygems/test_case.rb =================================================================== --- lib/rubygems/test_case.rb (revision 42051) +++ lib/rubygems/test_case.rb (revision 42052) @@ -52,7 +52,7 @@ module Gem https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L52 end ## - # Allows setting path to ruby. This method is available when requiring + # Allows setting path to Ruby. This method is available when requiring # 'rubygems/test_case' def self.ruby= ruby @@ -1010,7 +1010,7 @@ Also, a list: https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L1010 end ## - # Finds the path to the ruby executable + # Finds the path to the Ruby executable def self.rubybin ruby = ENV["RUBY"] Index: lib/rubygems.rb =================================================================== --- lib/rubygems.rb (revision 42051) +++ lib/rubygems.rb (revision 42052) @@ -115,7 +115,7 @@ module Gem https://github.com/ruby/ruby/blob/trunk/lib/rubygems.rb#L115 RUBYGEMS_DIR = File.dirname File.expand_path(__FILE__) ## - # An Array of Regexps that match windows ruby platforms. + # An Array of Regexps that match windows Ruby platforms. WIN_PATTERNS = [ /bccwin/i, @@ -822,7 +822,7 @@ module Gem https://github.com/ruby/ruby/blob/trunk/lib/rubygems.rb#L822 end ## - # A Gem::Version for the currently running ruby. + # A Gem::Version for the currently running Ruby. def self.ruby_version return @ruby_version if defined? @ruby_version @@ -945,7 +945,7 @@ module Gem https://github.com/ruby/ruby/blob/trunk/lib/rubygems.rb#L945 end ## - # Load +plugins+ as ruby files + # Load +plugins+ as Ruby files def self.load_plugin_files(plugins) plugins.each do |plugin| @@ -1143,7 +1143,7 @@ unless gem_preluded then # TODO: remove https://github.com/ruby/ruby/blob/trunk/lib/rubygems.rb#L1143 if defined?(RUBY_ENGINE) then begin ## - # Defaults the ruby implementation wants to provide for RubyGems + # Defaults the Ruby implementation wants to provide for RubyGems require "rubygems/defaults/#{RUBY_ENGINE}" rescue LoadError -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/