We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d733557 commit d712228Copy full SHA for d712228
lib/warbler/traits/bundler.rb
@@ -127,7 +127,8 @@ def bundler_specs
127
bundle_without = config.bundle_without.map { |s| s.to_sym }
128
definition = ::Bundler.definition
129
all = definition.specs.to_a
130
- requested = definition.specs_for(definition.groups - bundle_without).to_a
+ dependencies = definition.dependencies_for(definition.groups - bundle_without)
131
+ requested = definition.send(:materialize, dependencies).to_a
132
excluded_git_specs = (all - requested).select { |spec| ::Bundler::Source::Git === spec.source }
133
excluded_git_specs.each { |spec| spec.groups << :warbler_excluded }
134
requested + excluded_git_specs
0 commit comments