ai_games-four_in_a_row 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 112f56e83bbfff9998c24bdcc5fc2bfb872389a4
4
- data.tar.gz: e939277afc1ec3927f1fc41398e93f17ba120264
3
+ metadata.gz: e057e2ea7141df490285e2e267381bace00675c4
4
+ data.tar.gz: ef7e0e8be481e29083855005ffcf77bfbeb5962f
5
5
  SHA512:
6
- metadata.gz: 46c9df8a8797ccd1c93a5a77946adb80241739ec96f995d67dee8f057c672b9bfcd618f961e204846709c514eb7e6a39a0f09e399e6361707fa06936c512473b
7
- data.tar.gz: c7e60410280b9e3d42ddd2f3a1fa967dc03d5b170f57a3c4b835723eb8c81bf5960b87804bc2b6168c128994adad71d7371a59f88ee31d226842f87952b88477
6
+ metadata.gz: 80f650bd58529226d704a5058095e2d9d34000bb320774b982f2e34032a6966ab8eb86db9224e21eff0cd5cc963018a7c31a4bf15ee54a9b2e375df562788ef2
7
+ data.tar.gz: d143a9861ad8dd1ccfc509d7b93c86e2880d146ff7f2c2e78a57e2db8a17ff87f892d8991b79bd8d0a0caf2f68b3585281909c5df518bc6012b8ba610faf7799
data/Gemfile CHANGED
@@ -2,6 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in ai_games-four_in_a_row.gemspec
4
4
  gemspec
5
-
6
- gem 'ai_games-logger', github: 'jdno/ai_games-logger', branch: 'develop'
7
- gem 'ai_games-parser', github: 'jdno/ai_games-parser', branch: 'develop'
@@ -27,11 +27,11 @@ game engine, so that you can focus on your bot.
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ['lib']
29
29
 
30
- spec.add_runtime_dependency 'ai_games-logger'
31
- spec.add_runtime_dependency 'ai_games-parser'
30
+ spec.add_runtime_dependency 'ai_games-logger', '~> 0.1'
31
+ spec.add_runtime_dependency 'ai_games-parser', '~> 0.1'
32
32
 
33
33
  spec.add_development_dependency 'bundler', '~> 1.10'
34
34
  spec.add_development_dependency 'rake', '~> 10.0'
35
- spec.add_development_dependency 'minitest'
36
- spec.add_development_dependency 'rubocop'
35
+ spec.add_development_dependency 'minitest', '~> 5.8'
36
+ spec.add_development_dependency 'rubocop', '~> 0.35'
37
37
  end
@@ -62,7 +62,7 @@ module AIGames
62
62
  # wants to make.
63
63
  def parse_action(time_bank)
64
64
  @match.my_bot.current_time_bank = time_bank
65
- "place_disc #{@match.my_bot.place_disk}"
65
+ "place_disc #{@match.my_bot.place_disc}"
66
66
  end
67
67
 
68
68
  # Parses all commands starting with "update". This is either the number of
@@ -1,24 +1,5 @@
1
- # Copyright (c) 2015 Jan David Nose
2
- #
3
- # Permission is hereby granted, free of charge, to any person obtaining a copy
4
- # of this software and associated documentation files (the "Software"), to deal
5
- # in the Software without restriction, including without limitation the rights
6
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- # copies of the Software, and to permit persons to whom the Software is
8
- # furnished to do so, subject to the following conditions:
9
- #
10
- # The above copyright notice and this permission notice shall be included in
11
- # all copies or substantial portions of the Software.
12
- #
13
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- # THE SOFTWARE.
20
1
  module AIGames
21
2
  module FourInARow
22
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
23
4
  end
24
5
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ai_games-four_in_a_row
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan David Nose
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-24 00:00:00.000000000 Z
11
+ date: 2015-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ai_games-logger
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '0.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '0.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ai_games-parser
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '0.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '0.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -70,30 +70,30 @@ dependencies:
70
70
  name: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '5.8'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '5.8'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '0.35'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '0.35'
97
97
  description: |
98
98
  This gem provides a framework that can be used to implement a bot for The
99
99
  AI Games' competition 'Four in a Row'. It handles the communication with the