summaryrefslogtreecommitdiff
path: root/lib/bundler/index.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-02-10 18:10:36 -0800
committerSamuel Giddins <segiddins@segiddins.me>2017-02-10 18:12:54 -0800
commite059bbfc2a3ffcc15c10d3dce8277afb5c4c2dea (patch)
tree053e658e754e5f11d82d53de04d3cf4c00825d78 /lib/bundler/index.rb
parent5e171e3faea4ddca33cabd899b87824908e2f402 (diff)
downloadbundler-e059bbfc2a3ffcc15c10d3dce8277afb5c4c2dea.tar.gz
[Definition] Allow adding new gemspecs to a Path source
Diffstat (limited to 'lib/bundler/index.rb')
-rw-r--r--lib/bundler/index.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/index.rb b/lib/bundler/index.rb
index 4fe1418773..373f6132af 100644
--- a/lib/bundler/index.rb
+++ b/lib/bundler/index.rb
@@ -144,6 +144,8 @@ module Bundler
end
end
+ # Whether all the specs in self are in other
+ # TODO: rename to #include?
def ==(other)
all? do |spec|
other_spec = other[spec].first