serverspec 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c11ef86a64f8183dfa28220f2a8f0f3decb729d6
4
- data.tar.gz: 63ce70dcced311832c744a3ebfe9870fab383362
3
+ metadata.gz: 78cd637a45911d497e685a4b13ee46651598e788
4
+ data.tar.gz: 2b5a138acee398f6fa34a95d1c8c394efe0835f6
5
5
  SHA512:
6
- metadata.gz: c98b2eeec8291a219bbf6e812c7037b555bd8134b278904c3212106ec0549c2a77bf27c3d712b90b3adf94b9ce3cdac75210bc8d0141473881ccb42b1942bf63
7
- data.tar.gz: 41073608375f930f27a16457a234fa41b4a3228f7285f6871eb96bd0fd3736b8f3453ebf3eef84200c54a290a479773fd9eed2540c24a1ace222a7ef11300d9e
6
+ metadata.gz: 2617d7dc31fc69bcabb3097bf91832e7011eebfa790334379f2901d4ff2387ac6436d34d66eef870b966c6875e6947c3e2f4dc980f04e7cf000bb7a573c6e5d7
7
+ data.tar.gz: d69cd343d5b4be9fae6a0c7b308d4e2b611d7762b16dc242bbceb7ee7b555bb4410dbff10f174874865ce1c12e99ce85ecfc6890cac066a69a151cf7b56e213b
@@ -1,4 +1,4 @@
1
- require 'json'
1
+ require 'multi_json'
2
2
 
3
3
  module Serverspec::Type
4
4
  class DockerBase < Base
@@ -16,7 +16,7 @@ module Serverspec::Type
16
16
 
17
17
  def inspection
18
18
  return @inspection if @inspection
19
- @inspection = JSON.parse(get_inspection.stdout)[0]
19
+ @inspection = ::MultiJson.load(get_inspection.stdout)[0]
20
20
  end
21
21
 
22
22
  private
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "2.3.0"
2
+ VERSION = "2.3.1"
3
3
  end
data/serverspec.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_runtime_dependency "rspec", "~> 3.0"
22
22
  spec.add_runtime_dependency "rspec-its"
23
- spec.add_runtime_dependency "json"
23
+ spec.add_runtime_dependency "multi_json"
24
24
  spec.add_runtime_dependency "specinfra", "~> 2.3"
25
25
  spec.add_development_dependency "bundler", "~> 1.3"
26
26
  spec.add_development_dependency "rake", "~> 10.1.1"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: json
42
+ name: multi_json
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="