lib/bundler/dependencies/cli/count.rb in bundler-dependencies-0.5.1 vs lib/bundler/dependencies/cli/count.rb in bundler-dependencies-0.6.0
- old
+ new
@@ -9,10 +9,10 @@
warnings
format_counts
end
def counts
- @counts ||= graph.without(*without).counts(min: options.minimum)
+ @counts ||= gems.counts(min: options.minimum)
end
def warnings
warn("#{counts.count} gems with at least #{options.minimum} dependencies.") if options.minimum > 0
warn("#{counts.count} gems found after applying exclusions.") if options.without