summaryrefslogtreecommitdiff
path: root/lib/bundler/lazy_specification.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-06-10 14:57:24 -0400
committerCarl Lerche <carllerche@mac.com>2010-06-22 15:58:29 -0700
commita60822aa09051c813da78211d1e476d01ee6662b (patch)
treebe1690c79c2ea67691aa9bf6763ec21c33e4e71e /lib/bundler/lazy_specification.rb
parent5fed81fa50a354035238d08ec8d86f3d35880573 (diff)
downloadbundler-a60822aa09051c813da78211d1e476d01ee6662b.tar.gz
Revert "Persist all platforms for a matching spec to the lockfile"
This reverts commit 2480f9bc5be97270004ab8d0a6456df3659bb189.
Diffstat (limited to 'lib/bundler/lazy_specification.rb')
-rw-r--r--lib/bundler/lazy_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb
index 0b3b0e8d21..5ee26ec988 100644
--- a/lib/bundler/lazy_specification.rb
+++ b/lib/bundler/lazy_specification.rb
@@ -45,7 +45,7 @@ module Bundler
end
def __materialize__
- @specification = source[self]
+ @specification = source.specs.search(Gem::Dependency.new(name, version)).last
end
def respond_to?(*args)