diff options
author | Carl Lerche <carllerche@mac.com> | 2010-03-11 01:12:13 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-03-11 01:12:13 -0800 |
commit | b3db2c37c688ab76badc429bbc52912f37a2e003 (patch) | |
tree | 2a673e5dfe9f67b9f32250f76dd97a234da9d322 /lib/bundler/installer.rb | |
parent | 0d5e87b89617fabb175ed8d0b54bee764b454f2c (diff) | |
download | bundler-b3db2c37c688ab76badc429bbc52912f37a2e003.tar.gz |
Refactor spec grouping to use the SpecSet
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r-- | lib/bundler/installer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index 13ff9d8d..b92e3628 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -21,7 +21,7 @@ module Bundler specs.each do |spec| spec.source.fetch(spec) if spec.source.respond_to?(:fetch) - if spec.groups & Bundler.settings.without == spec.groups + unless requested_specs.include?(spec) Bundler.ui.debug " * Not in requested group; skipping." next end @@ -49,7 +49,7 @@ module Bundler end def specs - @specs ||= group_specs(resolve_locally || resolve_remotely) + @specs ||= resolve_locally || resolve_remotely end private |