icu_tournament 1.3.12 → 1.3.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -372,7 +372,7 @@ module ICU
372
372
  @tournament.add_player(player)
373
373
 
374
374
  # Results.
375
- total = @data[77, 4].strip
375
+ total = @data[76, 4].strip
376
376
  total = total == '' ? nil : total.to_f
377
377
  index = 87
378
378
  round = 1
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ICU
4
4
  class Tournament
5
- VERSION = "1.3.12"
5
+ VERSION = "1.3.13"
6
6
  end
7
7
  end
@@ -515,6 +515,11 @@ KRAUSE
515
515
  check_player(3, 'Viktor', 'Bologan')
516
516
  @t.name.should == "Läs Végas National Opeñ"
517
517
  end
518
+
519
+ it "should parse a large file with total scores as much as 10.0" do
520
+ file = "#{@s}/armstrong_2011.tab"
521
+ lambda { @t = @p.parse_file!(file) }.should_not raise_error
522
+ end
518
523
  end
519
524
 
520
525
  context "automatic repairing of totals" do
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 3
8
- - 12
9
- version: 1.3.12
8
+ - 13
9
+ version: 1.3.13
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mark Orr
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-03-13 00:00:00 +00:00
17
+ date: 2011-03-23 00:00:00 +00:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency