summaryrefslogtreecommitdiff
path: root/lib/bundler/source.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-07-17 22:53:55 +0000
committerTim Moore <tmoore@incrementalism.net>2014-07-30 14:16:36 +1000
commita0e2c8dcbf94f0e8d52230e89f9be11f8c228c7d (patch)
tree415ba5135900edf9a1ce62ac6045bf7905401471 /lib/bundler/source.rb
parent3f3ff6cdd3d1dff4b5278d2d975386915289d47c (diff)
downloadbundler-a0e2c8dcbf94f0e8d52230e89f9be11f8c228c7d.tar.gz
Separate Rubygems sources into multiple objects.
with @TimMoore and @ckrailo
Diffstat (limited to 'lib/bundler/source.rb')
-rw-r--r--lib/bundler/source.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index a42bfde74c..ce0cbb5dc2 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -24,5 +24,8 @@ module Bundler
message
end
+ def can_lock?(spec)
+ spec.source == self
+ end
end
end