aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems')
-rw-r--r--lib/rubygems/commands/dependency_command.rb2
-rw-r--r--lib/rubygems/spec_fetcher.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/commands/dependency_command.rb b/lib/rubygems/commands/dependency_command.rb
index 61e3b59fd7..35702fbc6e 100644
--- a/lib/rubygems/commands/dependency_command.rb
+++ b/lib/rubygems/commands/dependency_command.rb
@@ -159,7 +159,7 @@ class Gem::Commands::DependencyCommand < Gem::Command
response
end
- # Retuns list of [specification, dep] that are satisfied by spec.
+ # Returns list of [specification, dep] that are satisfied by spec.
def find_reverse_dependencies(spec)
result = []
diff --git a/lib/rubygems/spec_fetcher.rb b/lib/rubygems/spec_fetcher.rb
index 6d1fa9f63d..027970c342 100644
--- a/lib/rubygems/spec_fetcher.rb
+++ b/lib/rubygems/spec_fetcher.rb
@@ -53,7 +53,7 @@ class Gem::SpecFetcher
end
##
- # Retuns the local directory to write +uri+ to.
+ # Returns the local directory to write +uri+ to.
def cache_dir(uri)
File.join @dir, "#{uri.host}%#{uri.port}", File.dirname(uri.path)