aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/runtime.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-07-15 16:55:10 +1000
committerTim Moore <tmoore@incrementalism.net>2014-07-30 14:16:35 +1000
commitca2a8fa969982322732a969fff18f1ba1f4eadcf (patch)
tree1910d21522326037bce84a9d1f3bd604e712ed1a /lib/bundler/runtime.rb
parentab78e7449ba1c1024de22ff798c6a32fb581abca (diff)
downloadbundler-ca2a8fa969982322732a969fff18f1ba1f4eadcf.tar.gz
Encapsulate Definition#sources.
Diffstat (limited to 'lib/bundler/runtime.rb')
-rw-r--r--lib/bundler/runtime.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb
index b3862711..b09a8814 100644
--- a/lib/bundler/runtime.rb
+++ b/lib/bundler/runtime.rb
@@ -139,7 +139,7 @@ module Bundler
gemspec_files = Dir["#{Gem.dir}/specifications/*.gemspec"]
spec_gem_paths = []
# need to keep git sources around
- spec_git_paths = @definition.sources.select {|s| s.is_a?(Bundler::Source::Git) }.map {|s| s.path.to_s }
+ spec_git_paths = @definition.spec_git_paths
spec_git_cache_dirs = []
spec_gem_executables = []
spec_cache_paths = []