ceml 0.7.5 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/ceml.gemspec +1 -1
- data/lib/ceml/driver.rb +10 -11
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.7
|
data/ceml.gemspec
CHANGED
data/lib/ceml/driver.rb
CHANGED
@@ -87,13 +87,12 @@ module CEML
|
|
87
87
|
run_after = []
|
88
88
|
|
89
89
|
with_confluences script_collection_id, roleset do |confluences|
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
# end
|
90
|
+
live_with = confluences.select{ |c| c.live_with?(candidate) }
|
91
|
+
if not live_with.empty?
|
92
|
+
already_launched_with = live_with.first.incident_id
|
93
|
+
live_with.each{ |c| c.rm candidate } if involvement != :sticky
|
94
|
+
break if involvement != :released
|
95
|
+
end
|
97
96
|
|
98
97
|
locs = confluences.group_by{ |l| l.stage_with_candidate(candidate) }
|
99
98
|
if locs[:joinable]
|
@@ -137,10 +136,10 @@ module CEML
|
|
137
136
|
send(*cmd)
|
138
137
|
end
|
139
138
|
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
139
|
+
if already_launched_with and involvement == :sticky
|
140
|
+
puts "PUSHING INSTEAD"
|
141
|
+
push already_launched_with, nil, candidate
|
142
|
+
end
|
144
143
|
end
|
145
144
|
|
146
145
|
def push incident_id, script, *updated_players
|