deploy-context 2.1.2.1.gcc28372 → 2.1.2.1.gcc28372.1.g2e17987
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-context.rb +3 -10
- 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: c7327c447966ab20627fe6140825e9b2af4ee00e8e4ac4edc2cbae7f7b7536aa
|
4
|
+
data.tar.gz: d3aa7dd4ee4f64ad6b07343f688c44f779a60cd33576a75f4d00d689c1f580e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdb510e831c6c4447fa1491d00c9c952f91f6a9f628709674a293a2a81c226bc8bad6bc420b11c51dc0b7d75ea18dee962ae085f5d3bb5e8c9fb0ff8eb847569
|
7
|
+
data.tar.gz: 8b403cd53f1691acfcd2795e0868d03b23bb8401fe13508322c3cf304d325d0a54c1b2f8b2ac926ef43b6296a8960409cdab00f6247fc0f0097733572f24dda3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/deploy-context.rb
CHANGED
@@ -23,17 +23,10 @@ module Context
|
|
23
23
|
|
24
24
|
def test_context_successful?
|
25
25
|
puts "Check if deploy-context is install #{version}"
|
26
|
-
|
27
|
-
|
28
|
-
case deploy_context_installed
|
29
|
-
when 'true'
|
30
|
-
gem_installed?(self)
|
31
|
-
when 'false'
|
32
|
-
puts "Test context has failed"
|
33
|
-
false
|
26
|
+
if gem_installed?(self)
|
27
|
+
puts "Test context was successfully install on version #{version}"
|
34
28
|
else
|
35
|
-
|
36
|
-
false
|
29
|
+
abort "Test context has failed to install #{version}"
|
37
30
|
end
|
38
31
|
end
|
39
32
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|