diff options
author | Andre Arko <andre@arko.net> | 2014-07-15 16:55:10 +1000 |
---|---|---|
committer | Tim Moore <tmoore@incrementalism.net> | 2014-07-30 14:16:35 +1000 |
commit | ca2a8fa969982322732a969fff18f1ba1f4eadcf (patch) | |
tree | 1910d21522326037bce84a9d1f3bd604e712ed1a /lib/bundler/runtime.rb | |
parent | ab78e7449ba1c1024de22ff798c6a32fb581abca (diff) | |
download | bundler-ca2a8fa969982322732a969fff18f1ba1f4eadcf.tar.gz |
Encapsulate Definition#sources.
Diffstat (limited to 'lib/bundler/runtime.rb')
-rw-r--r-- | lib/bundler/runtime.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb index b3862711cb..b09a8814e5 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 = [] |