deploy_rubygem 0.60.25 → 0.60.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/deploy_rubygem/inspectestor.rb +6 -4
- data/lib/deploy_rubygem/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c1e3e8c24fddc913664218e7c2cf528fae22a49f5e06ce355b417bad0787c025
|
|
4
|
+
data.tar.gz: 65bfdde1b839c3a0ae0ccad12ab3e15f4059affc318cd20e631ae508076a8669
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb2556543e6cdfed0b9ba632c5c7d7ae5845478f6557e0986fccd0735fedc62926e2bdea1861b6ff44b1c4b59ecd80b9ae2c6c8f04ec5b51e83024bdf5db8d4e
|
|
7
|
+
data.tar.gz: 1d7a104b9751fb5bce12ad45f09be7980e566bf4d228f4db053c87b054b6ad8235eb8551b785dd714932d60cbad04c4cb7c5b7858210edaab22401883ad94f76
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -32,8 +32,7 @@ module DeployRubygem
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def update
|
|
35
|
-
|
|
36
|
-
system("rm #{inspec_path}/inspec.lock")
|
|
35
|
+
clean
|
|
37
36
|
system("inspec vendor #{inspec_path} ")
|
|
38
37
|
end
|
|
39
38
|
|
|
@@ -46,6 +45,11 @@ module DeployRubygem
|
|
|
46
45
|
@test_json ||= InspecTestorResult.new(as_json)
|
|
47
46
|
end
|
|
48
47
|
|
|
48
|
+
def clean
|
|
49
|
+
FileUtils.rm_rf(File.join(inspec_path, 'vendor'))
|
|
50
|
+
File.delete(File.join(inspec_path, 'inspec.lock'))
|
|
51
|
+
end
|
|
52
|
+
|
|
49
53
|
private
|
|
50
54
|
|
|
51
55
|
def chef_license
|
|
@@ -76,9 +80,7 @@ module DeployRubygem
|
|
|
76
80
|
def as_json
|
|
77
81
|
check
|
|
78
82
|
request_cmd = "inspec exec #{inspec_path} #{inspec_options.join(' ')} --reporter json"
|
|
79
|
-
puts "request_cmd = #{request_cmd}"
|
|
80
83
|
request_str = `#{request_cmd}`
|
|
81
|
-
puts("request_str = #{request_str}")
|
|
82
84
|
JSON.parse(request_str)
|
|
83
85
|
end
|
|
84
86
|
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|