sanichi-chess_icu 0.4.7 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 4
4
- :patch: 7
4
+ :patch: 8
data/lib/tournament.rb CHANGED
@@ -61,15 +61,16 @@ then there are additional side effects of validating a tournament:
61
61
 
62
62
  Ranking is consistent if either no players have any rank or if all players have a rank and no player is ranked higher than another player with more points.
63
63
 
64
- The players in a tournament can be renumbered by rank or name. After any renumbering the player numbers,
65
- which initially can be any collection of unique integers, will start at 1 and go up to the number of players.
64
+ The players in a tournament, whose reference numbers can be any set of unique integers (including zero and negative numbers),
65
+ can be renumbered in order of rank or name. After renumbering the new player numbers will start at 1 and go up to the number
66
+ of players.
66
67
 
67
68
  t.renumber!(:name) # renumber by name
68
69
  t.renumber!(:rank) # renumber by rank
69
70
  t.renumber! # same - rank is the default
70
71
 
71
- A side effect of renumbering by rank is that if the tournament started without any player ranking or
72
- with inconsitent ranking, it will be reranked (i.e. the method _rerank_ will be called on it).
72
+ A side effect of renumbering by rank is that if the tournament started without any player rankings or
73
+ with inconsitent rankings, it will be reranked (i.e. the method _rerank_ will be called).
73
74
 
74
75
  =end
75
76
 
@@ -69,7 +69,8 @@ A tournament can be serialized back to Krause format (the reverse of parsing) wi
69
69
 
70
70
  krause = parser.serialize(tournament)
71
71
 
72
- The following lists Krause data identification numbers, their description and, where available, their corresponding attributes in an ICU::Tournament instance.
72
+ The following lists Krause data identification numbers, their description and, where available, their corresponding
73
+ attributes in an ICU::Tournament instance.
73
74
 
74
75
  [001 Player record] Use _players_ to get all players or _player_ with a player number to get a single instance.
75
76
  [012 Name] Get or set with _name_. Free text. A tounament name is mandatory.
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.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Orr