ceml 0.5.3 → 0.5.4
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 +1 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.4
|
data/ceml.gemspec
CHANGED
data/lib/ceml/driver.rb
CHANGED
@@ -37,6 +37,7 @@ module CEML
|
|
37
37
|
player[:roles] = Set.new([*player[:roles] || []])
|
38
38
|
player[:roles] << :agents
|
39
39
|
if existing_player = PLAYERS[incident_id].find{ |p| p[:id] == player_id }
|
40
|
+
existing_player[:roles] += player.delete :roles
|
40
41
|
existing_player.update player
|
41
42
|
else
|
42
43
|
PLAYERS[incident_id] << player
|