diff options
author | Smit Shah <who828@gmail.com> | 2013-12-24 17:48:47 +0530 |
---|---|---|
committer | Smit Shah <who828@gmail.com> | 2013-12-24 17:48:54 +0530 |
commit | ed4e48f4c5a92bbb198d6201d8180adecdf0cbde (patch) | |
tree | 1ef0ebf2df3103746aad1169cc27127129fda2c6 /spec/support/indexes.rb | |
parent | 9199fcf568da4d8978c2343e4fab38a779b0819c (diff) | |
download | bundler-ed4e48f4c5a92bbb198d6201d8180adecdf0cbde.tar.gz |
Fixed an issue with dep method where it ignored the passed gem version
Diffstat (limited to 'spec/support/indexes.rb')
-rw-r--r-- | spec/support/indexes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/indexes.rb b/spec/support/indexes.rb index 7a207f3776..08e25347bf 100644 --- a/spec/support/indexes.rb +++ b/spec/support/indexes.rb @@ -2,7 +2,7 @@ module Spec module Indexes def dep(name, reqs = nil) @deps ||= [] - @deps << Bundler::Dependency.new(name, :version => reqs) + @deps << Bundler::Dependency.new(name, reqs) end def platform(*args) |