From 997de737c947f9ed06e11302cb0d90d486f0435f Mon Sep 17 00:00:00 2001 From: Rick Salevsky Date: Mon, 10 Aug 2015 18:12:28 +0200 Subject: [PATCH] Add version constraints to gemspec This is needed, because net-ssh 3.1.0beta1 onwards broke channels (or at least, in the way we use them with net-ssh-gateway). (cherry picked from commit 6377be35c0322d9cd2f470f37a69391475f25c57) --- cct.gemspec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cct.gemspec b/cct.gemspec index 292000f..2c3627c 100644 --- a/cct.gemspec +++ b/cct.gemspec @@ -21,10 +21,10 @@ Gem::Specification.new do |spec| spec.add_dependency "rake", "~> 10.0" spec.add_dependency "bundler", "~> 1.6" spec.add_dependency "rspec", "~> 3.2.0" - spec.add_dependency "net-ssh" - spec.add_dependency "net-ssh-gateway" - spec.add_dependency "awesome_print" - spec.add_dependency "faraday" - spec.add_dependency "faraday-digestauth" - spec.add_dependency "faraday_middleware" + spec.add_dependency "net-ssh", "~> 2.9.2" + spec.add_dependency "net-ssh-gateway", "~> 1.2.0" + spec.add_dependency "awesome_print", "~> 1.6.1" + spec.add_dependency "faraday", "~> 0.9.1" + spec.add_dependency "faraday-digestauth", "~> 0.2.1" + spec.add_dependency "faraday_middleware", "~> 0.9.2" end