icu_tournament 1.0.8 → 1.0.9

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/README.rdoc CHANGED
@@ -12,6 +12,8 @@ The gem is hosted on gemcutter only:
12
12
  For handling SwissPerfect files the _dbf_, _inifile_ and _rubyzip_ gems are required.
13
13
  For Ruby prior to version 1.9 the _fastercsv_ gem is needed to handle CSV files.
14
14
 
15
+ Tested with ruby 1.8.7, 1.9.1, 1.9.2.
16
+
15
17
 
16
18
  == Usage
17
19
 
@@ -55,8 +55,8 @@ ratings or IDs are required instead, use the options _id_ and _rating_. For exam
55
55
  tournament.player(2).rating # => 2530 (FIDE rating)
56
56
 
57
57
  Because the data is in three parts, some of which are in a legacy binary format, serialization to this format is
58
- not supported. Instead, a method is provided to serialize any tournament text in the format of <em>SwissPerfects</em>
59
- text export format, an example of which is shown below.
58
+ not supported. Instead, a method is provided to serialize any tournament type into the test export format of
59
+ <em>SwissPerfects</em>, an example of which is shown below.
60
60
 
61
61
  No Name Loc Id Total 1 2 3
62
62
 
@@ -1,5 +1,5 @@
1
1
  module ICU
2
2
  class Tournament
3
- VERSION = "1.0.8"
3
+ VERSION = "1.0.9"
4
4
  end
5
5
  end
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  module ICU
4
4
  describe Federation do
data/spec/name_spec.rb CHANGED
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  module ICU
4
4
  describe Name do
data/spec/player_spec.rb CHANGED
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  module ICU
4
4
  describe Player do
data/spec/result_spec.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # encoding: utf-8
2
-
3
- require File.dirname(__FILE__) + '/spec_helper'
2
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
4
3
 
5
4
  module ICU
6
5
  describe Result do
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  require 'rubygems'
2
2
  require 'spec'
3
- require File.dirname(__FILE__) + '/../lib/icu_tournament'
3
+ require File.expand_path(File.dirname(__FILE__) + '/../lib/icu_tournament')
data/spec/team_spec.rb CHANGED
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  module ICU
4
4
  describe Team do
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  module ICU
4
4
  class Tournament
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  module ICU
4
4
  class Tournament
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
  SAMPLES = File.dirname(__FILE__) + '/samples/sp/'
3
3
 
4
4
  module ICU
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  module ICU
4
4
  describe Tournament do
data/spec/util_spec.rb CHANGED
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
2
 
3
3
  module ICU
4
4
  describe Util do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icu_tournament
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
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: 2010-07-25 00:00:00 +01:00
12
+ date: 2010-08-22 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency