berlin-ai 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/ai/node.rb +1 -1
  2. data/lib/version.rb +1 -1
  3. metadata +3 -3
data/lib/ai/node.rb CHANGED
@@ -11,7 +11,7 @@ module Berlin
11
11
  @id = node['id']
12
12
  @type = node['type']
13
13
  @points = type['points']
14
- @soldiers_per_turn = type['number_of_soldiers']
14
+ @soldiers_per_turn = type['soldiers_per_turn']
15
15
  @number_of_soldiers = 0
16
16
  @player_id = 0
17
17
  @links = []
data/lib/version.rb CHANGED
@@ -2,7 +2,7 @@ module Berlin
2
2
  module AI
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- BUILD = 11
5
+ BUILD = 12
6
6
 
7
7
  VERSION = "#{MAJOR}.#{MINOR}.#{BUILD}"
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berlin-ai
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 11
10
- version: 0.0.11
9
+ - 12
10
+ version: 0.0.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Christian Blais