lib/bundler/definition.rb in bundler-0.9.0.pre4 vs lib/bundler/definition.rb in bundler-0.9.0.pre5

- old
+ new

@@ -62,16 +62,18 @@ end end def actual_dependencies @actual_dependencies ||= @details["specs"].map do |args| - Gem::Dependency.new(*args.to_a.flatten) + name, details = args.to_a.flatten + details["source"] = sources[details["source"]] if details.include?("source") + Bundler::Dependency.new(name, details.delete("version"), details) end end def dependencies @dependencies ||= @details["dependencies"].map do |args| - Gem::Dependency.new(*args.to_a.flatten) + Bundler::Dependency.new(*args.to_a.flatten) end end end end end \ No newline at end of file