File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('1.9.3')
8
8
gem 'net-ssh' , '~> 2.9'
9
9
end
10
10
11
+ if Gem ::Version . new ( RUBY_VERSION ) < Gem ::Version . new ( '2.2' )
12
+ gem 'json' , '< 2.0'
13
+ gem 'rack' , '< 2.0
14
+ end
15
+
11
16
group :test do
12
17
gem ' bundler ', ' ~> 1.11 '
13
18
gem ' minitest ', ' ~> 5.8 '
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
spec . test_files = spec . files . grep ( %r{^(test|spec|features)/} )
24
24
spec . require_paths = [ 'lib' ]
25
25
26
- spec . add_dependency 'json' , '~> 1.8'
26
+ spec . add_dependency 'json' , '>= 1.8' , '< 3.0 '
27
27
# chef-client < 12.4.1 require mixlib-shellout-2.0.1
28
28
spec . add_dependency 'mixlib-shellout' , '~> 2.0'
29
29
# net-ssh 3.x drops Ruby 1.9 support, so this constraint could be raised when
You can’t perform that action at this time.
0 commit comments