aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/source
diff options
context:
space:
mode:
authorAditya Prakash <aditya.prakash132@gmail.com>2016-03-08 11:50:15 +0530
committerAditya Prakash <aditya.prakash132@gmail.com>2016-03-09 07:51:32 +0530
commit4eefb1ee2b8e2c2ba005ec27003bbf83b174f374 (patch)
tree638a46a55a2e6cf1221b1512647b56c6d6347207 /lib/bundler/source
parentfeb41629b7cf0267e624857393f7cf198c764755 (diff)
downloadbundler-4eefb1ee2b8e2c2ba005ec27003bbf83b174f374.tar.gz
Add test for checking langauge of sentences used in source code
Diffstat (limited to 'lib/bundler/source')
-rw-r--r--lib/bundler/source/git.rb2
-rw-r--r--lib/bundler/source/rubygems.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/source/git.rb b/lib/bundler/source/git.rb
index 228ab61a..7926a7b5 100644
--- a/lib/bundler/source/git.rb
+++ b/lib/bundler/source/git.rb
@@ -146,7 +146,7 @@ module Bundler
changed
end
- # TODO: actually cache git specs
+ # TODO: cache git specs
def specs(*)
set_local!(app_cache_path) if has_app_cache? && !local?
diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb
index cebb68a7..d8ca36e3 100644
--- a/lib/bundler/source/rubygems.rb
+++ b/lib/bundler/source/rubygems.rb
@@ -343,7 +343,7 @@ module Bundler
# because ensuring we have all the gems we need involves downloading
# the gemspecs of those gems, if the non-api sites contain more than
- # about 100 gems, we just treat all sites as non-api for speed.
+ # about 100 gems, we treat all sites as non-api for speed.
allow_api = idx.size < API_REQUEST_LIMIT && dependency_names.size < API_REQUEST_LIMIT
Bundler.ui.debug "Need to query more than #{API_REQUEST_LIMIT} gems." \
" Downloading full index instead..." unless allow_api