summaryrefslogtreecommitdiff
path: root/lib/bundler/lazy_specification.rb
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/lazy_specification.rb16
1 files changed, 15 insertions, 1 deletions
@@ -82,7 +82,7 @@ module Bundler
search_object = if source.is_a?(Source::Path)
Dependency.new(name, version)
else
- self
end
platform_object = Gem::Platform.new(platform)
candidates = source.specs.search(search_object)
@@ -129,5 +129,19 @@ module Bundler
@specification.send(method, *args, &blk)
end
end
end