sanichi-chess_icu 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/lib/tournament_fcsv.rb +1 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/tournament_fcsv.rb
CHANGED
@@ -236,7 +236,7 @@ A tournament can be serialized back to CSV format (the reverse of parsing) with
|
|
236
236
|
else
|
237
237
|
result.colour = @r[2]
|
238
238
|
opponent = Player.new(@r[4], @r[3], @tournament.players.size + 1, :rating => @r[5], :title => @r[6], :fed => @r[7])
|
239
|
-
raise "opponent must have a
|
239
|
+
raise "opponent must have a federation" unless opponent.fed
|
240
240
|
old_player = @tournament.find_player(opponent)
|
241
241
|
if old_player
|
242
242
|
raise "two players with the same name (#{opponent.name}) have conflicting details" unless old_player.eql?(opponent)
|
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.4
|
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-05
|
12
|
+
date: 2009-07-05 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|