acpc_dealer 2.3.0 → 2.3.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: 3dceef82af6ce1bfb15cd30604c09038dadea67a
4
- data.tar.gz: 7f7fdd02a0a9dd409ac2ca1c0bb47f5f5ba0a60d
3
+ metadata.gz: 233ecb14b74dc2790451d3f970eed958d7897b89
4
+ data.tar.gz: 3626d5d430b94e0db61dbfcf99d6379ee629f7c8
5
5
  SHA512:
6
- metadata.gz: 9a17650a299146cc7756d0a48436689346ef4c94385af0089f88b1eb0850b89318c85ff76757daa338afc40e1e4dad6bb417a900d8f33510861fe401a5d4af54
7
- data.tar.gz: 4f78a354e65913460f48153c6c9b787eceeafa55551b26d3ad80d689c5bbd5bfeb1eb21f122868c72db93708e536c04be6157067075e6056a1b2c60ef9898b05
6
+ metadata.gz: e32ce72d29bf426141849b0861beecb2090fbc74da4ebba8ad7c7b9617cbbd2c62a056f599ea46351163e4d71c43c3bd0a47d7d8e7dd46c0621c2fdd830d6b4a
7
+ data.tar.gz: 7dc71015bc1879191bba059fe02060c30e2beb4714b877ee2b0c1d8c2c38a56610279269b2ee60a96150a59b78eacb79f4790a7c25b003f5b956148793ed4739
@@ -35,9 +35,9 @@ module AcpcDealer
35
35
  # @raise (see FileUtils::mkdir_p)
36
36
  def self.start(dealer_arguments, log_directory=nil, port_numbers=nil)
37
37
  dealer_start_command = DEALER_COMMAND_FORMAT.inject([AcpcDealer::DEALER_PATH]) do |command, parameter|
38
- command << dealer_arguments[parameter].to_s
38
+ command += dealer_arguments[parameter].to_s.split
39
39
  end
40
- dealer_start_command << "-p #{port_numbers.join(',')}" if port_numbers
40
+ dealer_start_command << ["-p", "#{port_numbers.join(',')}"] if port_numbers
41
41
 
42
42
  unless log_directory
43
43
  log_directory = File.expand_path("../#{dealer_arguments[:match_name]}.logs", __FILE__)
@@ -1,3 +1,3 @@
1
1
  module AcpcDealer
2
- VERSION = "2.3.0"
2
+ VERSION = "2.3.1"
3
3
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acpc_dealer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Morrill
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-18 00:00:00.000000000 Z
11
+ date: 2014-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clive
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.2'
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
26
  version: '1.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: process_runner
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.0'
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
40
  version: '0.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake-compiler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.8'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.8'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 5.0.6
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 5.0.6
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mocha
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0.13'
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
82
  version: '0.13'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: awesome_print
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.0'
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
96
  version: '1.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: simplecov
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0.7'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.7'
111
111
  description: Annual Computer Poker Competition Dealer
@@ -117,100 +117,97 @@ extensions:
117
117
  - ext/hand_evaluator/extconf.rb
118
118
  extra_rdoc_files: []
119
119
  files:
120
- - lib/acpc_dealer/dealer_runner.rb
121
- - lib/acpc_dealer/version.rb
122
- - lib/acpc_dealer.rb
120
+ - README.md
121
+ - Rakefile
122
+ - acpc_dealer.gemspec
123
+ - bin/acpc_dealer
123
124
  - ext/hand_evaluator/extconf.rb
124
125
  - ext/hand_evaluator/hand_evaluator.c
125
- - acpc_dealer.gemspec
126
- - Rakefile
127
- - README.md
126
+ - lib/acpc_dealer.rb
127
+ - lib/acpc_dealer/dealer_runner.rb
128
+ - lib/acpc_dealer/version.rb
128
129
  - spec/connection_information_spec.rb
129
130
  - spec/dealer_runner_spec.rb
130
131
  - spec/support/spec_helper.rb
132
+ - vendor/project_acpc_server/LICENCE
133
+ - vendor/project_acpc_server/Makefile
134
+ - vendor/project_acpc_server/README
135
+ - vendor/project_acpc_server/README.submission
136
+ - vendor/project_acpc_server/acpc_play_match.pl
137
+ - vendor/project_acpc_server/bm_run_matches.c
138
+ - vendor/project_acpc_server/bm_server.c
139
+ - vendor/project_acpc_server/bm_server.config
131
140
  - vendor/project_acpc_server/bm_widget.c
132
- - vendor/project_acpc_server/net.h
141
+ - vendor/project_acpc_server/dealer.c
142
+ - vendor/project_acpc_server/evalHandTables
143
+ - vendor/project_acpc_server/example_player.c
144
+ - vendor/project_acpc_server/example_player.limit.2p.sh
145
+ - vendor/project_acpc_server/example_player.limit.3p.sh
146
+ - vendor/project_acpc_server/example_player.nolimit.2p.sh
147
+ - vendor/project_acpc_server/example_player.nolimit.3p.sh
133
148
  - vendor/project_acpc_server/game.c
149
+ - vendor/project_acpc_server/game.h
150
+ - vendor/project_acpc_server/holdem.limit.2p.reverse_blinds.game
134
151
  - vendor/project_acpc_server/holdem.limit.3p.game
135
- - vendor/project_acpc_server/validate_submission.pl
136
- - vendor/project_acpc_server/bm_run_matches.c
137
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf2.sh
138
- - vendor/project_acpc_server/protocol.odt
139
- - vendor/project_acpc_server/net.c
140
152
  - vendor/project_acpc_server/holdem.nolimit.2p.reverse_blinds.game
141
- - vendor/project_acpc_server/example_player.limit.2p.sh
153
+ - vendor/project_acpc_server/holdem.nolimit.3p.game
142
154
  - vendor/project_acpc_server/kuhn.limit.3p.game
143
- - vendor/project_acpc_server/rng.h
144
- - vendor/project_acpc_server/example_player.kuhn.limit.3p.sh
145
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_1.c
146
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player.c
147
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_3.c
148
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_2.c
149
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/support/test_helper.c
150
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/support/test_helper.h
151
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/Makefile
155
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf1.sh
156
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf2.sh
157
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf3.sh
152
158
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/LICENCE
159
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/Makefile
153
160
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/README.md
154
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/test.c
161
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/CExceptionConfig.h
162
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/dealer_connection.c
163
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/dealer_connection.h
164
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/kuhn_3p_equilibrium_player.c
165
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/kuhn_3p_equilibrium_player.h
166
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/main.c
167
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/player_config.c
168
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/player_config.h
169
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/support/test_helper.c
170
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/support/test_helper.h
171
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player.c
172
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_1.c
173
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_2.c
174
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/test/test_kuhn_3p_equilibrium_player_sub_family_3.c
175
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/docs/license.txt
176
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/docs/readme.txt
177
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/lib/CException.c
178
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/lib/CException.h
179
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/release/build.info
180
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/release/version.info
181
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/History.md
155
182
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/Makefile
183
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/Readme.md
156
184
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/package.json
157
185
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/src/commander.c
158
186
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/src/commander.h
159
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/Readme.md
160
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/History.md
161
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/docs/Unity Summary.txt
162
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/docs/license.txt
163
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/release/version.info
164
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/release/build.info
165
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/generate_config.yml
166
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/unity_test_summary.rb
187
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/commander.c/test.c
167
188
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/colour_prompt.rb
189
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/colour_reporter.rb
190
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/generate_config.yml
168
191
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/generate_module.rb
169
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/test_file_filter.rb
170
192
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/generate_test_runner.rb
171
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/colour_reporter.rb
172
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/src/unity_internals.h
173
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/src/unity.h
193
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/test_file_filter.rb
194
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/auto/unity_test_summary.rb
195
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/docs/Unity Summary.txt
196
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/docs/license.txt
197
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/release/build.info
198
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/release/version.info
174
199
  - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/src/unity.c
175
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/docs/readme.txt
176
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/docs/license.txt
177
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/release/version.info
178
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/release/build.info
179
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/lib/CException.c
180
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/cexception/lib/CException.h
181
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/player_config.h
182
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/player_config.c
183
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/dealer_connection.c
184
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/kuhn_3p_equilibrium_player.h
185
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/main.c
186
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/kuhn_3p_equilibrium_player.c
187
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/dealer_connection.h
188
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player/src/CExceptionConfig.h
189
- - vendor/project_acpc_server/dealer.c
190
- - vendor/project_acpc_server/rng.o
191
- - vendor/project_acpc_server/holdem.nolimit.3p.game
192
- - vendor/project_acpc_server/bm_server.c
193
- - vendor/project_acpc_server/Makefile
194
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf3.sh
195
- - vendor/project_acpc_server/example_player.nolimit.2p.sh
200
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/src/unity.h
201
+ - vendor/project_acpc_server/kuhn_3p_equilibrium_player/vendor/unity/src/unity_internals.h
202
+ - vendor/project_acpc_server/net.c
203
+ - vendor/project_acpc_server/net.h
196
204
  - vendor/project_acpc_server/play_match.pl
197
205
  - vendor/project_acpc_server/protocol.md
198
- - vendor/project_acpc_server/holdem.limit.2p.reverse_blinds.game
199
- - vendor/project_acpc_server/bm_server.config
200
- - vendor/project_acpc_server/example_player.nolimit.3p.sh
201
- - vendor/project_acpc_server/example_player.limit.3p.sh
202
- - vendor/project_acpc_server/LICENCE
203
- - vendor/project_acpc_server/evalHandTables
204
- - vendor/project_acpc_server/game.o
205
- - vendor/project_acpc_server/README.submission
206
- - vendor/project_acpc_server/example_player.c
207
- - vendor/project_acpc_server/README
206
+ - vendor/project_acpc_server/protocol.odt
208
207
  - vendor/project_acpc_server/protocol.pdf
209
- - vendor/project_acpc_server/acpc_play_match.pl
210
- - vendor/project_acpc_server/kuhn_3p_equilibrium_player.sf1.sh
211
- - vendor/project_acpc_server/game.h
212
208
  - vendor/project_acpc_server/rng.c
213
- - bin/acpc_dealer
209
+ - vendor/project_acpc_server/rng.h
210
+ - vendor/project_acpc_server/validate_submission.pl
214
211
  homepage: https://github.com/dmorrill10/acpc_dealer
215
212
  licenses:
216
213
  - MIT
@@ -221,17 +218,17 @@ require_paths:
221
218
  - lib
222
219
  required_ruby_version: !ruby/object:Gem::Requirement
223
220
  requirements:
224
- - - '>='
221
+ - - ">="
225
222
  - !ruby/object:Gem::Version
226
223
  version: '0'
227
224
  required_rubygems_version: !ruby/object:Gem::Requirement
228
225
  requirements:
229
- - - '>='
226
+ - - ">="
230
227
  - !ruby/object:Gem::Version
231
228
  version: '0'
232
229
  requirements: []
233
230
  rubyforge_project:
234
- rubygems_version: 2.0.3
231
+ rubygems_version: 2.2.0
235
232
  signing_key:
236
233
  specification_version: 4
237
234
  summary: Ruby interface to the Annual Computer Poker Competition's dealer program.
@@ -1,2 +0,0 @@
1
- #!/bin/bash
2
- ./example_player kuhn.limit.3p.game $1 $2
Binary file
Binary file