From e6c1752137349537c72f4438d34c990b26d0c71d Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 4 Jun 2008 09:37:38 +0000 Subject: * lib/rdoc.rb: massive spelling correction patch from Evan Farrar in [ruby-doc:1382] applied. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rubygems/command.rb | 2 +- lib/rubygems/command_manager.rb | 4 ++-- lib/rubygems/commands/cert_command.rb | 2 +- lib/rubygems/dependency_installer.rb | 4 ++-- lib/rubygems/gem_openssl.rb | 2 +- lib/rubygems/requirement.rb | 2 +- lib/rubygems/security.rb | 4 ++-- lib/rubygems/server.rb | 2 +- lib/rubygems/source_info_cache.rb | 2 +- lib/rubygems/specification.rb | 2 +- lib/rubygems/user_interaction.rb | 4 ++-- 11 files changed, 15 insertions(+), 15 deletions(-) (limited to 'lib/rubygems') diff --git a/lib/rubygems/command.rb b/lib/rubygems/command.rb index 61ed617cc6..860764e6d5 100644 --- a/lib/rubygems/command.rb +++ b/lib/rubygems/command.rb @@ -342,7 +342,7 @@ module Gem add_common_option('-V', '--[no-]verbose', 'Set the verbose level of output') do |value, options| - # Set us to "really verbose" so the progess meter works + # Set us to "really verbose" so the progress meter works if Gem.configuration.verbose and value then Gem.configuration.verbose = 1 else diff --git a/lib/rubygems/command_manager.rb b/lib/rubygems/command_manager.rb index 299b5213cc..ee55d5a200 100644 --- a/lib/rubygems/command_manager.rb +++ b/lib/rubygems/command_manager.rb @@ -16,7 +16,7 @@ module Gem class CommandManager include UserInteraction - # Return the authoratative instance of the command manager. + # Return the authoritative instance of the command manager. def self.instance @command_manager ||= CommandManager.new end @@ -69,7 +69,7 @@ module Gem @commands.keys.collect {|key| key.to_s}.sort end - # Run the config specificed by +args+. + # Run the config specified by +args+. def run(args) process_args(args) rescue StandardError, Timeout::Error => ex diff --git a/lib/rubygems/commands/cert_command.rb b/lib/rubygems/commands/cert_command.rb index 2c32099254..f5b698855b 100644 --- a/lib/rubygems/commands/cert_command.rb +++ b/lib/rubygems/commands/cert_command.rb @@ -19,7 +19,7 @@ class Gem::Commands::CertCommand < Gem::Command Dir::glob(glob_str) do |path| begin cert = OpenSSL::X509::Certificate.new(File.read(path)) - # this could proably be formatted more gracefully + # this could probably be formatted more gracefully say cert.subject.to_s rescue OpenSSL::X509::CertificateError next diff --git a/lib/rubygems/dependency_installer.rb b/lib/rubygems/dependency_installer.rb index 57ac631031..7ea2c0c317 100644 --- a/lib/rubygems/dependency_installer.rb +++ b/lib/rubygems/dependency_installer.rb @@ -53,8 +53,8 @@ class Gem::DependencyInstaller ## # Returns a list of pairs of gemspecs and source_uris that match # Gem::Dependency +dep+ from both local (Dir.pwd) and remote (Gem.sources) - # sources. Gems are sorted with newer gems prefered over older gems, and - # local gems prefered over remote gems. + # sources. Gems are sorted with newer gems preferred over older gems, and + # local gems preferred over remote gems. def find_gems_with_sources(dep) gems_and_sources = [] diff --git a/lib/rubygems/gem_openssl.rb b/lib/rubygems/gem_openssl.rb index 17e7d0f2bf..1456f2d7ce 100644 --- a/lib/rubygems/gem_openssl.rb +++ b/lib/rubygems/gem_openssl.rb @@ -17,7 +17,7 @@ module Gem @ssl_available end - # Set the value of the ssl_avilable flag. + # Set the value of the ssl_available flag. attr_writer :ssl_available # Ensure that SSL is available. Throw an exception if it is not. diff --git a/lib/rubygems/requirement.rb b/lib/rubygems/requirement.rb index 209bd432f0..f1213152f2 100644 --- a/lib/rubygems/requirement.rb +++ b/lib/rubygems/requirement.rb @@ -108,7 +108,7 @@ class Gem::Requirement end ## - # Is the requirement satifised by +version+. + # Is the requirement satisfied by +version+. # # version:: [Gem::Version] the version to compare against # return:: [Boolean] true if this requirement is satisfied by diff --git a/lib/rubygems/security.rb b/lib/rubygems/security.rb index 345d36bbd3..abf3cf4a6a 100644 --- a/lib/rubygems/security.rb +++ b/lib/rubygems/security.rb @@ -557,7 +557,7 @@ module Gem::Security # # Medium security policy: verify the signing certificate, verify the signing # certificate chain all the way to the root certificate, and only trust root - # certificates that we have explicity allowed trust for. + # certificates that we have explicitly allowed trust for. # # This security policy is reasonable, but it allows unsigned packages, so a # malicious person could simply delete the package signature and pass the @@ -576,7 +576,7 @@ module Gem::Security # High security policy: only allow signed gems to be installed, verify the # signing certificate, verify the signing certificate chain all the way to # the root certificate, and only trust root certificates that we have - # explicity allowed trust for. + # explicitly allowed trust for. # # This security policy is significantly more difficult to bypass, and offers # a reasonable guarantee that the contents of the gem have not been altered. diff --git a/lib/rubygems/server.rb b/lib/rubygems/server.rb index e2e10a0ad9..b4f58f9706 100644 --- a/lib/rubygems/server.rb +++ b/lib/rubygems/server.rb @@ -9,7 +9,7 @@ require 'rubygems' # Gem::Server and allows users to serve gems for consumption by # `gem --remote-install`. # -# gem_server starts an HTTP server on the given port and serves the folowing: +# gem_server starts an HTTP server on the given port and serves the following: # * "/" - Browsing of gem spec files for installed gems # * "/Marshal" - Full SourceIndex dump of metadata for installed gems # * "/yaml" - YAML dump of metadata for installed gems - deprecated diff --git a/lib/rubygems/source_info_cache.rb b/lib/rubygems/source_info_cache.rb index 4d69d88c89..ec6928c00d 100644 --- a/lib/rubygems/source_info_cache.rb +++ b/lib/rubygems/source_info_cache.rb @@ -8,7 +8,7 @@ require 'rubygems/user_interaction' # SourceInfoCache stores a copy of the gem index for each gem source. # # There are two possible cache locations, the system cache and the user cache: -# * The system cache is prefered if it is writable or can be created. +# * The system cache is preferred if it is writable or can be created. # * The user cache is used otherwise # # Once a cache is selected, it will be used for all operations. diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index de37a08b60..c50910aeb4 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -40,7 +40,7 @@ module Gem # Allows deinstallation of gems with legacy platforms. attr_accessor :original_platform # :nodoc: - # ------------------------- Specification version contstants. + # ------------------------- Specification version constants. # The the version number of a specification that does not specify one # (i.e. RubyGems 0.7 or earlier). diff --git a/lib/rubygems/user_interaction.rb b/lib/rubygems/user_interaction.rb index ffccb60314..8d27df8768 100644 --- a/lib/rubygems/user_interaction.rb +++ b/lib/rubygems/user_interaction.rb @@ -17,7 +17,7 @@ module Gem DefaultUserInteraction.ui end - # Set the default UI. If the default UI is never explicity set, a + # Set the default UI. If the default UI is never explicitly set, a # simple console based UserInteraction will be used automatically. def ui=(new_ui) DefaultUserInteraction.ui = new_ui @@ -182,7 +182,7 @@ module Gem ask(question) if question end - # Terminate the appliation normally, running any exit handlers + # Terminate the application normally, running any exit handlers # that might have been defined. def terminate_interaction(status = 0) raise Gem::SystemExitException, status -- cgit v1.2.3