diff options
author | Carl Lerche <carllerche@mac.com> | 2010-04-26 14:46:06 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-04-26 14:46:06 -0700 |
commit | 3be9c937ba2a1cc3855be5372813ac30d63053a7 (patch) | |
tree | 434c0e715eba94ce02fb5952e3b8404dfadb0ae6 /lib/bundler/environment.rb | |
parent | a6097c588b4e068d6968132b20d30fda50536b5c (diff) | |
download | bundler-3be9c937ba2a1cc3855be5372813ac30d63053a7.tar.gz |
Move the index builder onto the definition class
Diffstat (limited to 'lib/bundler/environment.rb')
-rw-r--r-- | lib/bundler/environment.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/bundler/environment.rb b/lib/bundler/environment.rb index 22f958c19f..e2e79ad337 100644 --- a/lib/bundler/environment.rb +++ b/lib/bundler/environment.rb @@ -10,11 +10,11 @@ module Bundler end def index - @index ||= Index.build do |idx| - sources.each do |s| - idx.use s.local_specs - end - end + @definition.index + end + + def remote_index + @definition.remote_index end def requested_specs |