deploy-context 0.5.1.1.g528de70.1.g25eba10 → 0.6.0.1.ge54bf72.1.g3590b37

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8c4cd0714827d6c7a4f7fc83eb5ac1b0f2a2599bb7e44871a0f4188f9930bc6
4
- data.tar.gz: ef5dbd18d144c0c5892e0d6c35632432a949b7033bc3383920fc764484fe731e
3
+ metadata.gz: ab564b6e057455eab35d28e79dc3efc420af4d51c82c3a767c113783b49a6a8a
4
+ data.tar.gz: 16ef2a8ac7d8a30391c1616cc20e05f6c3bf279e398609c8baea0bb3ff04f7d5
5
5
  SHA512:
6
- metadata.gz: c67d91f511bf7aa4e0ef7af1ddb7cd664097900b05262cead3cc247dd5b0007e04d2439ea9716c7a5b4424478a15094d1f4052b7a0ca86a1fa193749bf6f794f
7
- data.tar.gz: 345a099b8633bdc693c0fa67e5a690958c386aead37211efb8d5e34fc2c6f1697321e3580f5a250933a6be3d938ca63393244ec0f205de4fe3674aba468275b6
6
+ metadata.gz: e0496119844f3cc665c59f2b5eff01f4c037340d72acdbe3d843e7994b0e7ed901bd90d216f907924a01051d3b496fbc4da7a0555e8702930b1de695845941d1
7
+ data.tar.gz: 5b010a16c5cbf9ef9f83b432900d7cc7e71d82d755ea609087e90deaf6642f5964269ec4eaf4f091ab6a65c75a6dc2274005ae321f3953a20032eead11f573fe
checksums.yaml.gz.sig CHANGED
Binary file
@@ -22,15 +22,20 @@ module Context
22
22
  build
23
23
  commit
24
24
  release
25
- minor_bump if test_context_successful?
25
+ install
26
+ if test_context_successful?
27
+ minor_bump
28
+ else
29
+ puts "newer version not installed"
30
+ exit 1
31
+ end
26
32
  end
27
33
 
28
34
  def test_context_successful?
29
- install_output = install
30
- puts "install_output = #{install_output.class}\n#{install_output.methods}"
31
- if install_output
35
+ case `chef gem list deploy-context --local -i --version #{GVB.version}`
36
+ when 'true'
32
37
  true
33
- else
38
+ when 'false'
34
39
  puts "Test context has failed"
35
40
  false
36
41
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy-context
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1.1.g528de70.1.g25eba10
4
+ version: 0.6.0.1.ge54bf72.1.g3590b37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Provencher
metadata.gz.sig CHANGED
Binary file