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.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/tournament_krause.rb +9 -1
  3. metadata +2 -2
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 4
4
- :patch: 5
4
+ :patch: 6
@@ -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 to parse another file.
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.5
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 00:00:00 -07:00
12
+ date: 2009-07-26 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency