From be93f22614326723820fc8bf09b9f6d7e8cde787 Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Sun, 24 Apr 2016 09:07:02 -0700 Subject: [PATCH] loose restriction for mixlib-shellout to work easier with older chef-clients --- train.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/train.gemspec b/train.gemspec index 58b26b4f..e9abb20d 100644 --- a/train.gemspec +++ b/train.gemspec @@ -24,7 +24,8 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.add_dependency 'json', '~> 1.8' - spec.add_dependency 'mixlib-shellout', '~> 2.1' + # chef-client < 12.4.1 require mixlib-shellout-2.0.1 + spec.add_dependency 'mixlib-shellout', '~> 2.0' # net-ssh 3.x drops Ruby 1.9 support, so this constraint could be raised when # 1.9 support is no longer needed here or for Inspec spec.add_dependency 'net-ssh', '>= 2.9', '< 4.0'