summaryrefslogtreecommitdiff
path: root/spec/support/indexes.rb
diff options
context:
space:
mode:
authorSmit Shah <who828@gmail.com>2013-12-24 17:48:47 +0530
committerSmit Shah <who828@gmail.com>2013-12-24 17:48:54 +0530
commited4e48f4c5a92bbb198d6201d8180adecdf0cbde (patch)
tree1ef0ebf2df3103746aad1169cc27127129fda2c6 /spec/support/indexes.rb
parent9199fcf568da4d8978c2343e4fab38a779b0819c (diff)
downloadbundler-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.rb2
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)