automate_soup 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/coverage/.resultset.json +1 -1
- data/docs/coverage/index.html +1 -1
- data/lib/automate_soup/change.rb +21 -18
- data/lib/automate_soup/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: feb19eea149a663fee368d25fef14a1f5f03d8f8
|
4
|
+
data.tar.gz: 0c322b1278aa30c10c06c86d85ebecbff4077558
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3120f521d37a816a4328a1a4343c91a6b8529f39abdf767fc83aae317bedd5750adf2cdfec7d2c93081cee114139eaef872fac9b2fdf7bc9df9e39b5e2572002
|
7
|
+
data.tar.gz: 5d7e9bf4487389c9205d396bb296f3640195ff81766335347da622c846aa3cbc1a68301128d3606f2c4f506b2925b298eb1fc40943c72261ea9f94690809d3d6
|
data/docs/coverage/index.html
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
<img src="./assets/0.10.2/loading.gif" alt="loading"/>
|
15
15
|
</div>
|
16
16
|
<div id="wrapper" style="display:none;">
|
17
|
-
<div class="timestamp">Generated <abbr class="timeago" title="2017-12-
|
17
|
+
<div class="timestamp">Generated <abbr class="timeago" title="2017-12-19T12:25:00-05:00">2017-12-19T12:25:00-05:00</abbr></div>
|
18
18
|
<ul class="group_tabs"></ul>
|
19
19
|
|
20
20
|
<div id="content">
|
data/lib/automate_soup/change.rb
CHANGED
@@ -35,10 +35,11 @@ module AutomateSoup
|
|
35
35
|
#
|
36
36
|
# @return [Boolean] if this change is delivered
|
37
37
|
def delivered?
|
38
|
-
(current_stage.
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
(!current_stage.nil? &&
|
39
|
+
current_stage.stage.eql?('delivered') &&
|
40
|
+
current_stage.status.eql?('passed') &&
|
41
|
+
!AutomateSoup.url.nil? &&
|
42
|
+
!AutomateSoup.credentials.nil?)
|
42
43
|
end
|
43
44
|
|
44
45
|
##
|
@@ -46,13 +47,14 @@ module AutomateSoup
|
|
46
47
|
#
|
47
48
|
# @return [Boolean] if this change is deliverable
|
48
49
|
def deliverable?
|
49
|
-
(current_stage.
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
50
|
+
(!current_stage.nil? &&
|
51
|
+
current_stage.stage.eql?('acceptance') &&
|
52
|
+
current_stage.status.eql?('passed') &&
|
53
|
+
!AutomateSoup.url.nil? &&
|
54
|
+
!AutomateSoup.credentials.nil? &&
|
55
|
+
!links.nil? &&
|
56
|
+
!links['deliver'].nil? &&
|
57
|
+
!links['deliver']['href'].nil?)
|
56
58
|
end
|
57
59
|
|
58
60
|
##
|
@@ -60,13 +62,14 @@ module AutomateSoup
|
|
60
62
|
#
|
61
63
|
# @return [Boolean] if this change is approvable
|
62
64
|
def approvable?
|
63
|
-
(current_stage.
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
65
|
+
(!current_stage.nil? &&
|
66
|
+
current_stage.stage.eql?('verify') &&
|
67
|
+
current_stage.status.eql?('passed') &&
|
68
|
+
!AutomateSoup.url.nil? &&
|
69
|
+
!AutomateSoup.credentials.nil? &&
|
70
|
+
!links.nil? &&
|
71
|
+
!links['approve'].nil? &&
|
72
|
+
!links['approve']['href'].nil?)
|
70
73
|
end
|
71
74
|
|
72
75
|
##
|