lib/bundler/definition.rb in bundler-0.9.3 vs lib/bundler/definition.rb in bundler-0.9.4
- old
+ new
@@ -81,11 +81,11 @@
Bundler::Dependency.new(name, details.delete("version"), details)
end
end
def dependencies
- @dependencies ||= @details["dependencies"].map do |args|
- Bundler::Dependency.new(*args.to_a.flatten)
+ @dependencies ||= @details["dependencies"].map do |dep, opts|
+ Bundler::Dependency.new(dep, opts.delete("version"), opts)
end
end
end
end
end