Skip to content
Browse files

Specify mocha version. A mock object with the function named 'process…

…' does not get passed blocks in latest version (every other function name can get blocks as expected).
  • Loading branch information...
1 parent bde27c1 commit f25699735cf043e3f51e03be2325c6b37462a8dd @kenmazaika kenmazaika committed Apr 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 capistrano.gemspec
View
6 capistrano.gemspec
@@ -28,21 +28,21 @@ Gem::Specification.new do |s|
s.add_runtime_dependency(%q<net-sftp>, [">= 2.0.0"])
s.add_runtime_dependency(%q<net-scp>, [">= 1.0.0"])
s.add_runtime_dependency(%q<net-ssh-gateway>, [">= 1.1.0"])
- s.add_development_dependency(%q<mocha>, [">= 0"])
+ s.add_development_dependency(%q<mocha>, ["0.9.12"])
else
s.add_dependency(%q<net-ssh>, [">= 2.0.14"])
s.add_dependency(%q<net-sftp>, [">= 2.0.0"])
s.add_dependency(%q<net-scp>, [">= 1.0.0"])
s.add_dependency(%q<net-ssh-gateway>, [">= 1.1.0"])
s.add_dependency(%q<highline>, [">= 0"])
- s.add_dependency(%q<mocha>, [">= 0"])
+ s.add_dependency(%q<mocha>, ["0.9.12"])
end
else
s.add_dependency(%q<net-ssh>, [">= 2.0.14"])
s.add_dependency(%q<net-sftp>, [">= 2.0.0"])
s.add_dependency(%q<net-scp>, [">= 1.0.0"])
s.add_dependency(%q<net-ssh-gateway>, [">= 1.1.0"])
s.add_dependency(%q<highline>, [">= 0"])
- s.add_dependency(%q<mocha>, [">= 0"])
+ s.add_dependency(%q<mocha>, ["0.9.12"])
end
end

0 comments on commit f256997

Please sign in to comment.
Something went wrong with that request. Please try again.