summaryrefslogtreecommitdiff
path: root/lib/bundler/resolver
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2018-04-18 20:44:50 -0700
committerSamuel Giddins <segiddins@segiddins.me>2018-04-18 21:49:01 -0700
commite2e8e5aec2edd9d7508306f72fad1a5312c3bfaf (patch)
treea9b29706d1da241fc5231c840d74ac155ea7de69 /lib/bundler/resolver
parentbbd0b49aa2260de17b697a21f2bb932959284c5c (diff)
downloadbundler-e2e8e5aec2edd9d7508306f72fad1a5312c3bfaf.tar.gz
[Definition] Filter out unneeded gem platforms after resolvingsegiddins/6491-extra-gem-platform-in-lockfile
Diffstat (limited to 'lib/bundler/resolver')
-rw-r--r--lib/bundler/resolver/spec_group.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/bundler/resolver/spec_group.rb b/lib/bundler/resolver/spec_group.rb
index 40d5460643..34d043aed7 100644
--- a/lib/bundler/resolver/spec_group.rb
+++ b/lib/bundler/resolver/spec_group.rb
@@ -54,10 +54,6 @@ module Bundler
dependencies.concat(metadata_dependencies).flatten
end
- def platforms_for_dependency_named(dependency)
- __dependencies.select {|_, deps| deps.map(&:name).include? dependency }.keys
- end
-
def ==(other)
return unless other.is_a?(SpecGroup)
name == other.name &&