ceml 0.5.3 → 0.5.4

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/ceml.gemspec +1 -1
  3. data/lib/ceml/driver.rb +1 -0
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.3
1
+ 0.5.4
data/ceml.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ceml}
8
- s.version = "0.5.3"
8
+ s.version = "0.5.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Joe Edelman"]
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
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 3
9
- version: 0.5.3
8
+ - 4
9
+ version: 0.5.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Joe Edelman