acpc_poker_match_state 0.0.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/acpc_poker_match_state.gemspec +8 -9
- data/lib/acpc_poker_match_state.rb +3 -3
- data/lib/acpc_poker_match_state/match_state_transition.rb +22 -23
- data/lib/acpc_poker_match_state/players_at_the_table.rb +315 -329
- data/lib/acpc_poker_match_state/version.rb +1 -1
- data/spec/coverage/assets/0.7.1/application.css +1110 -0
- data/spec/coverage/assets/0.7.1/application.js +626 -0
- data/spec/coverage/assets/0.7.1/fancybox/blank.gif +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_close.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_loading.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_nav_left.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_nav_right.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_title_left.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_title_main.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_title_over.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancy_title_right.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancybox-x.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancybox-y.png +0 -0
- data/spec/coverage/assets/0.7.1/fancybox/fancybox.png +0 -0
- data/spec/coverage/assets/0.7.1/favicon_green.png +0 -0
- data/spec/coverage/assets/0.7.1/favicon_red.png +0 -0
- data/spec/coverage/assets/0.7.1/favicon_yellow.png +0 -0
- data/spec/coverage/assets/0.7.1/loading.gif +0 -0
- data/spec/coverage/assets/0.7.1/magnify.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/spec/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/spec/coverage/index.html +72 -0
- data/spec/match_state_transition_spec.rb +5 -5
- data/spec/players_at_the_table_spec.rb +15 -37
- data/spec/support/spec_helper.rb +5 -3
- metadata +134 -66
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,72 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html xmlns='http://www.w3.org/1999/xhtml'>
|
3
|
+
<head>
|
4
|
+
<title>Code coverage for Spec</title>
|
5
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
6
|
+
<script src='./assets/0.7.1/application.js' type='text/javascript'></script>
|
7
|
+
<link href='./assets/0.7.1/application.css' media='screen, projection, print' rel='stylesheet' type='text/css'>
|
8
|
+
<link rel="shortcut icon" type="image/png" href="./assets/0.7.1/favicon_green.png" />
|
9
|
+
<link rel="icon" type="image/png" href="./assets/0.7.1/favicon.png" />
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
<div id="loading">
|
14
|
+
<img src="./assets/0.7.1/loading.gif" alt="loading"/>
|
15
|
+
</div>
|
16
|
+
<div id="wrapper" style="display:none;">
|
17
|
+
<div class="timestamp">Generated <abbr class="timeago" title="2013-05-05T19:06:29-07:00">2013-05-05T19:06:29-07:00</abbr></div>
|
18
|
+
<ul class="group_tabs"></ul>
|
19
|
+
|
20
|
+
<div id="content">
|
21
|
+
<div class="file_list_container" id="AllFiles">
|
22
|
+
<h2>
|
23
|
+
<span class="group_name">All Files</span>
|
24
|
+
(<span class="covered_percent"><span class="green">100.0%</span></span>
|
25
|
+
covered at
|
26
|
+
<span class="covered_strength">
|
27
|
+
<span class="red">
|
28
|
+
0.0
|
29
|
+
</span>
|
30
|
+
</span> hits/line)
|
31
|
+
</h2>
|
32
|
+
<a name="AllFiles"></a>
|
33
|
+
<div>
|
34
|
+
<b>0</b> files in total.
|
35
|
+
<b>0.0</b> relevant lines.
|
36
|
+
<span class="green"><b>0.0</b> lines covered</span> and
|
37
|
+
<span class="red"><b>0.0</b> lines missed </span>
|
38
|
+
</div>
|
39
|
+
<table class="file_list">
|
40
|
+
<thead>
|
41
|
+
<tr>
|
42
|
+
<th>File</th>
|
43
|
+
<th>% covered</th>
|
44
|
+
<th>Lines</th>
|
45
|
+
<th>Relevant Lines</th>
|
46
|
+
<th>Lines covered</th>
|
47
|
+
<th>Lines missed</th>
|
48
|
+
<th>Avg. Hits / Line</th>
|
49
|
+
</tr>
|
50
|
+
</thead>
|
51
|
+
<tbody>
|
52
|
+
|
53
|
+
</tbody>
|
54
|
+
</table>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
</div>
|
60
|
+
|
61
|
+
<div id="footer">
|
62
|
+
Generated by <a href="http://github.com/colszowka/simplecov">simplecov</a> v0.7.1
|
63
|
+
and simplecov-html v0.7.1<br/>
|
64
|
+
using RSpec
|
65
|
+
</div>
|
66
|
+
|
67
|
+
<div class="source_files">
|
68
|
+
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
</body>
|
72
|
+
</html>
|
@@ -1,12 +1,12 @@
|
|
1
1
|
|
2
2
|
require_relative 'support/spec_helper'
|
3
3
|
|
4
|
-
|
4
|
+
require 'acpc_poker_match_state/match_state_transition'
|
5
5
|
|
6
|
-
describe MatchStateTransition do
|
6
|
+
describe AcpcPokerMatchState::MatchStateTransition do
|
7
7
|
|
8
8
|
before(:each) do
|
9
|
-
@patient = MatchStateTransition.new
|
9
|
+
@patient = AcpcPokerMatchState::MatchStateTransition.new
|
10
10
|
end
|
11
11
|
|
12
12
|
describe '#set_next_state!' do
|
@@ -35,7 +35,7 @@ describe MatchStateTransition do
|
|
35
35
|
it 'raises an exception if it is called before #next_state!' do
|
36
36
|
-> do
|
37
37
|
@patient.new_round?
|
38
|
-
end.must_raise(MatchStateTransition::NoStateGiven)
|
38
|
+
end.must_raise(AcpcPokerMatchState::MatchStateTransition::NoStateGiven)
|
39
39
|
end
|
40
40
|
describe 'reports true' do
|
41
41
|
it 'when given an initial state' do
|
@@ -82,7 +82,7 @@ describe MatchStateTransition do
|
|
82
82
|
it 'raises an exception if it is called before #next_state!' do
|
83
83
|
-> do
|
84
84
|
@patient.initial_state?
|
85
|
-
end.must_raise(MatchStateTransition::NoStateGiven)
|
85
|
+
end.must_raise(AcpcPokerMatchState::MatchStateTransition::NoStateGiven)
|
86
86
|
end
|
87
87
|
it 'reports true when given a state that reports it is the first ' +
|
88
88
|
'state of the first round' do
|
@@ -1,21 +1,21 @@
|
|
1
1
|
|
2
|
-
|
2
|
+
require_relative 'support/spec_helper'
|
3
3
|
|
4
4
|
require 'acpc_dealer'
|
5
|
-
require '
|
5
|
+
require 'acpc_poker_types/poker_action'
|
6
|
+
require 'acpc_poker_match_state/players_at_the_table'
|
6
7
|
|
7
|
-
|
8
|
-
|
9
|
-
describe PlayersAtTheTable do
|
8
|
+
describe AcpcPokerMatchState::PlayersAtTheTable do
|
10
9
|
describe '#update!' do
|
11
10
|
it "keeps track of state for a sequence of match states and actions in Doyle's game" do
|
12
11
|
# Change this number to do more or less thorough tests.
|
13
12
|
# Some interesting three player hands occur after 120
|
14
13
|
# Careful though, even 10 hands takes about five seconds,
|
15
|
-
# and it scales
|
16
|
-
|
14
|
+
# and it scales slightly less than linearly. 120 takes
|
15
|
+
# about 50 seconds.
|
16
|
+
num_hands = 120
|
17
17
|
match_logs.each do |log_description|
|
18
|
-
@match = PokerMatchData.parse_files(
|
18
|
+
@match = AcpcPokerTypes::AcpcDealerData::PokerMatchData.parse_files(
|
19
19
|
log_description.actions_file_path,
|
20
20
|
log_description.results_file_path,
|
21
21
|
log_description.player_names,
|
@@ -24,7 +24,7 @@ describe PlayersAtTheTable do
|
|
24
24
|
)
|
25
25
|
@match.for_every_seat! do |users_seat|
|
26
26
|
|
27
|
-
@patient = PlayersAtTheTable.seat_players(
|
27
|
+
@patient = AcpcPokerMatchState::PlayersAtTheTable.seat_players(
|
28
28
|
@match.match_def.game_def,
|
29
29
|
(@match.players.map{ |player| player.name }),
|
30
30
|
users_seat,
|
@@ -89,10 +89,10 @@ describe PlayersAtTheTable do
|
|
89
89
|
end
|
90
90
|
def check_betting_sequence(patient)
|
91
91
|
patient_betting_sequence = patient.betting_sequence.map do |actions|
|
92
|
-
|
92
|
+
actions.map { |action| AcpcPokerTypes::PokerAction.new(action).to_s }
|
93
93
|
end
|
94
94
|
expected_betting_sequence = @match.betting_sequence.map do |actions|
|
95
|
-
actions.map { |action| action.
|
95
|
+
actions.map { |action| AcpcPokerTypes::PokerAction.new(action).to_s }
|
96
96
|
end
|
97
97
|
patient_betting_sequence.must_equal expected_betting_sequence
|
98
98
|
|
@@ -100,7 +100,7 @@ describe PlayersAtTheTable do
|
|
100
100
|
if action.match(/\//)
|
101
101
|
action
|
102
102
|
else
|
103
|
-
PokerAction.new(action).
|
103
|
+
AcpcPokerTypes::PokerAction.new(action).to_s
|
104
104
|
end
|
105
105
|
end.join('').must_equal @match.betting_sequence_string
|
106
106
|
end
|
@@ -120,6 +120,7 @@ describe PlayersAtTheTable do
|
|
120
120
|
end
|
121
121
|
def check_last_turn(patient=@patient)
|
122
122
|
return unless @match.current_hand && @match.current_hand.final_turn?
|
123
|
+
|
123
124
|
patient.players.players_close_enough?(@match.players).must_equal true
|
124
125
|
patient.user_player.close_enough?(@match.player).must_equal true
|
125
126
|
patient.opponents.players_close_enough?(@match.opponents).must_equal true
|
@@ -148,18 +149,10 @@ class Array
|
|
148
149
|
end
|
149
150
|
end
|
150
151
|
|
151
|
-
class
|
152
|
-
# @return [Hash] Map of specific to general actions to more specific actions (e.g. check to call and bet to raise).
|
153
|
-
LOW_RESOLUTION_ACTION_CONVERSION = {call: :call, raise: :raise, fold: :fold, check: :call, bet: :raise}
|
154
|
-
|
155
|
-
def to_low_res_acpc
|
156
|
-
LEGAL_ACTIONS[LOW_RESOLUTION_ACTION_CONVERSION[@symbol]] + @modifier.to_s
|
157
|
-
end
|
158
|
-
end
|
159
|
-
class Player
|
152
|
+
class AcpcPokerTypes::Player
|
160
153
|
def acpc_actions_taken_this_hand
|
161
154
|
acpc_actions = @actions_taken_this_hand.map do |actions_per_turn|
|
162
|
-
actions_per_turn.map { |action| action.
|
155
|
+
actions_per_turn.map { |action| AcpcPokerTypes::PokerAction.new(action).to_s }
|
163
156
|
end
|
164
157
|
if acpc_actions.first.empty?
|
165
158
|
acpc_actions
|
@@ -169,21 +162,6 @@ class Player
|
|
169
162
|
end
|
170
163
|
|
171
164
|
def close_enough?(other)
|
172
|
-
|
173
|
-
unless (@name == other.name &&
|
174
|
-
@seat == other.seat &&
|
175
|
-
@chip_stack == other.chip_stack &&
|
176
|
-
@chip_balance == other.chip_balance &&
|
177
|
-
acpc_actions_taken_this_hand == other.acpc_actions_taken_this_hand)
|
178
|
-
puts "name: #{name == other.name}"
|
179
|
-
puts "seat: #{seat == other.seat}"
|
180
|
-
puts "chip_stack: #{chip_stack}, other: #{other.chip_stack}"
|
181
|
-
puts "chip balances: #{chip_balance}, other: #{other.chip_balance}"
|
182
|
-
puts "actions_taken_this_hand: #{acpc_actions_taken_this_hand}, other: #{other.acpc_actions_taken_this_hand}"
|
183
|
-
puts "all_in: #{all_in?}, other: #{other.all_in?}"
|
184
|
-
end
|
185
|
-
|
186
|
-
|
187
165
|
@name == other.name &&
|
188
166
|
@seat == other.seat &&
|
189
167
|
@chip_stack == other.chip_stack &&
|
data/spec/support/spec_helper.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
SimpleCov.start
|
1
3
|
|
2
4
|
require 'minitest/spec'
|
3
|
-
require 'minitest/autorun'
|
4
5
|
require 'minitest/pride'
|
6
|
+
require 'minitest/mock'
|
5
7
|
|
6
8
|
begin
|
7
|
-
require 'turn
|
9
|
+
require 'turn'
|
8
10
|
|
9
11
|
Turn.config do |c|
|
10
12
|
# use one of output formats:
|
@@ -14,7 +16,7 @@ begin
|
|
14
16
|
# :pretty - new pretty reporter
|
15
17
|
# :marshal - dump output as YAML (normal run mode only)
|
16
18
|
# :cue - interactive testing
|
17
|
-
c.format = :
|
19
|
+
c.format = :dotted
|
18
20
|
# use humanized test names (works only with :outline format)
|
19
21
|
c.natural = true
|
20
22
|
end
|
metadata
CHANGED
@@ -1,141 +1,127 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acpc_poker_match_state
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dustin Morrill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acpc_poker_types
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '3.0'
|
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: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dmorrill10-utils
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
33
|
+
version: '1.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
|
-
version: '0'
|
40
|
+
version: '1.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: turn
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
47
|
+
version: '0.9'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '0.9'
|
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
|
-
version: '
|
61
|
+
version: '4.7'
|
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
|
-
version: '
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: acpc_dealer_data
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - '>='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - '>='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
68
|
+
version: '4.7'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: acpc_dealer
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
|
-
- -
|
73
|
+
- - ~>
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
75
|
+
version: '0.0'
|
90
76
|
type: :development
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
|
-
- -
|
80
|
+
- - ~>
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
82
|
+
version: '0.0'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: awesome_print
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
|
-
- -
|
87
|
+
- - ~>
|
102
88
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
89
|
+
version: '1.0'
|
104
90
|
type: :development
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
|
-
- -
|
94
|
+
- - ~>
|
109
95
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
96
|
+
version: '1.0'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: pry
|
98
|
+
name: pry-rescue
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ~>
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
103
|
+
version: '1.0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
|
-
- -
|
108
|
+
- - ~>
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
110
|
+
version: '1.0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
112
|
+
name: simplecov
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
128
114
|
requirements:
|
129
|
-
- -
|
115
|
+
- - ~>
|
130
116
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
117
|
+
version: '0.7'
|
132
118
|
type: :development
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
135
121
|
requirements:
|
136
|
-
- -
|
122
|
+
- - ~>
|
137
123
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
124
|
+
version: '0.7'
|
139
125
|
description: Match state data manager.
|
140
126
|
email:
|
141
127
|
- morrill@ualberta.ca
|
@@ -144,23 +130,64 @@ extensions: []
|
|
144
130
|
extra_rdoc_files: []
|
145
131
|
files:
|
146
132
|
- lib/acpc_poker_match_state.rb
|
133
|
+
- lib/acpc_poker_match_state/match_state_transition.rb
|
147
134
|
- lib/acpc_poker_match_state/players_at_the_table.rb
|
148
135
|
- lib/acpc_poker_match_state/version.rb
|
149
|
-
- lib/acpc_poker_match_state/match_state_transition.rb
|
150
136
|
- Rakefile
|
151
137
|
- acpc_poker_match_state.gemspec
|
152
138
|
- README.md
|
153
|
-
- spec/
|
154
|
-
- spec/support/
|
155
|
-
- spec/support/dealer_logs/
|
139
|
+
- spec/match_state_transition_spec.rb
|
140
|
+
- spec/support/spec_helper.rb
|
141
|
+
- spec/support/dealer_logs/2p.nolimit.h1000.r0.actions.log
|
156
142
|
- spec/support/dealer_logs/2p.limit.h1000.r0.actions.log
|
157
|
-
- spec/support/dealer_logs/3p.nolimit.h1000.r0.log
|
158
143
|
- spec/support/dealer_logs/2p.nolimit.h1000.r0.log
|
159
|
-
- spec/support/dealer_logs/
|
144
|
+
- spec/support/dealer_logs/3p.nolimit.h1000.r0.log
|
145
|
+
- spec/support/dealer_logs/3p.limit.h1000.r0.actions.log
|
146
|
+
- spec/support/dealer_logs/3p.nolimit.h1000.r0.actions.log
|
147
|
+
- spec/support/dealer_logs/3p.limit.h1000.r0.log
|
160
148
|
- spec/support/dealer_logs/2p.limit.h1000.r0.log
|
161
|
-
- spec/
|
149
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
|
150
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
|
151
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
|
152
|
+
- spec/coverage/assets/0.7.1/fancybox/fancybox.png
|
153
|
+
- spec/coverage/assets/0.7.1/fancybox/fancybox-x.png
|
154
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_nav_right.png
|
155
|
+
- spec/coverage/assets/0.7.1/fancybox/fancybox-y.png
|
156
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_title_right.png
|
157
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
|
158
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_nav_left.png
|
159
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
|
160
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
|
161
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_loading.png
|
162
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_title_main.png
|
163
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_close.png
|
164
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_title_left.png
|
165
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
|
166
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
|
167
|
+
- spec/coverage/assets/0.7.1/fancybox/blank.gif
|
168
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_title_over.png
|
169
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
170
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
171
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
|
172
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
173
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
|
174
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
175
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
|
176
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
|
177
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
178
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
179
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
180
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
|
181
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
182
|
+
- spec/coverage/assets/0.7.1/loading.gif
|
183
|
+
- spec/coverage/assets/0.7.1/magnify.png
|
184
|
+
- spec/coverage/assets/0.7.1/application.js
|
185
|
+
- spec/coverage/assets/0.7.1/application.css
|
186
|
+
- spec/coverage/assets/0.7.1/favicon_green.png
|
187
|
+
- spec/coverage/assets/0.7.1/favicon_yellow.png
|
188
|
+
- spec/coverage/assets/0.7.1/favicon_red.png
|
189
|
+
- spec/coverage/index.html
|
162
190
|
- spec/players_at_the_table_spec.rb
|
163
|
-
- spec/match_state_transition_spec.rb
|
164
191
|
homepage: https://github.com/dmorrill10/acpc_poker_match_state
|
165
192
|
licenses: []
|
166
193
|
metadata: {}
|
@@ -180,19 +207,60 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
207
|
version: '0'
|
181
208
|
requirements: []
|
182
209
|
rubyforge_project: acpc_poker_match_state
|
183
|
-
rubygems_version: 2.0.
|
210
|
+
rubygems_version: 2.0.3
|
184
211
|
signing_key:
|
185
212
|
specification_version: 4
|
186
213
|
summary: ACPC Poker Match State
|
187
214
|
test_files:
|
188
|
-
- spec/
|
189
|
-
- spec/support/
|
190
|
-
- spec/support/dealer_logs/
|
215
|
+
- spec/match_state_transition_spec.rb
|
216
|
+
- spec/support/spec_helper.rb
|
217
|
+
- spec/support/dealer_logs/2p.nolimit.h1000.r0.actions.log
|
191
218
|
- spec/support/dealer_logs/2p.limit.h1000.r0.actions.log
|
192
|
-
- spec/support/dealer_logs/3p.nolimit.h1000.r0.log
|
193
219
|
- spec/support/dealer_logs/2p.nolimit.h1000.r0.log
|
194
|
-
- spec/support/dealer_logs/
|
220
|
+
- spec/support/dealer_logs/3p.nolimit.h1000.r0.log
|
221
|
+
- spec/support/dealer_logs/3p.limit.h1000.r0.actions.log
|
222
|
+
- spec/support/dealer_logs/3p.nolimit.h1000.r0.actions.log
|
223
|
+
- spec/support/dealer_logs/3p.limit.h1000.r0.log
|
195
224
|
- spec/support/dealer_logs/2p.limit.h1000.r0.log
|
196
|
-
- spec/
|
225
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
|
226
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
|
227
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
|
228
|
+
- spec/coverage/assets/0.7.1/fancybox/fancybox.png
|
229
|
+
- spec/coverage/assets/0.7.1/fancybox/fancybox-x.png
|
230
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_nav_right.png
|
231
|
+
- spec/coverage/assets/0.7.1/fancybox/fancybox-y.png
|
232
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_title_right.png
|
233
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
|
234
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_nav_left.png
|
235
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
|
236
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
|
237
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_loading.png
|
238
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_title_main.png
|
239
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_close.png
|
240
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_title_left.png
|
241
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
|
242
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
|
243
|
+
- spec/coverage/assets/0.7.1/fancybox/blank.gif
|
244
|
+
- spec/coverage/assets/0.7.1/fancybox/fancy_title_over.png
|
245
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
246
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
247
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
|
248
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
249
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
|
250
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
251
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
|
252
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
|
253
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
254
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
255
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
256
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
|
257
|
+
- spec/coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
258
|
+
- spec/coverage/assets/0.7.1/loading.gif
|
259
|
+
- spec/coverage/assets/0.7.1/magnify.png
|
260
|
+
- spec/coverage/assets/0.7.1/application.js
|
261
|
+
- spec/coverage/assets/0.7.1/application.css
|
262
|
+
- spec/coverage/assets/0.7.1/favicon_green.png
|
263
|
+
- spec/coverage/assets/0.7.1/favicon_yellow.png
|
264
|
+
- spec/coverage/assets/0.7.1/favicon_red.png
|
265
|
+
- spec/coverage/index.html
|
197
266
|
- spec/players_at_the_table_spec.rb
|
198
|
-
- spec/match_state_transition_spec.rb
|