sanichi-chess_icu 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/tournament_krause.rb +9 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/tournament_krause.rb
CHANGED
@@ -52,8 +52,16 @@ A player can be retrieved from the tournament via the _players_ array or by send
|
|
52
52
|
daffy.id # => 7654321
|
53
53
|
daffy.dob # => "1937-04-17"
|
54
54
|
|
55
|
+
If the ranking numbers are missing from the file or inconsistent (e.g. player A is ranked above player B
|
56
|
+
but has less points than player B) they are recalculated as a side effect of the parse.
|
57
|
+
|
58
|
+
daffy.rank # => 1
|
59
|
+
minnie.rank # => 2
|
60
|
+
mickey.rank # => 3
|
61
|
+
|
55
62
|
Comments in the input file (lines that do not start with a valid data identification number) are available from the parser
|
56
|
-
instance via its _comments_ method. Note that these comments are reset evry time the instance is used
|
63
|
+
instance via its _comments_ method (returning a string). Note that these comments are reset evry time the instance is used
|
64
|
+
to parse another file.
|
57
65
|
|
58
66
|
parser.comments # => "0123456789..."
|
59
67
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sanichi-chess_icu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Orr
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-07-
|
12
|
+
date: 2009-07-26 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|