icu_tournament 1.9.0 → 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ICU
4
4
  class Tournament
5
- VERSION = "1.9.0"
5
+ VERSION = "1.9.1"
6
6
  end
7
7
  end
data/spec/player_spec.rb CHANGED
@@ -110,6 +110,12 @@ module ICU
110
110
  Player.new('Mark', 'Orr', 3, :fed => ' Ireland ').fed.should == 'IRL'
111
111
  lambda { Player.new('Danny', 'Kopec', 3, :fed => 'US') }.should raise_error(/invalid federation/)
112
112
  end
113
+
114
+ it "should correct common code errors" do
115
+ Player.new('Ricardo', 'Calvo', 1, :fed => 'SPA').fed.should == 'ESP'
116
+ Player.new('Mark', 'Orr', 2, :fed => 'Icu').fed.should == 'IRL'
117
+ Player.new('Florin', 'Gheorghiu', 3, :fed => 'ROM').fed.should == 'ROU'
118
+ end
113
119
  end
114
120
 
115
121
  context "title" 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.9.0
4
+ version: 1.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -188,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
188
  version: '0'
189
189
  segments:
190
190
  - 0
191
- hash: 3282717942212095260
191
+ hash: 4131509735072663138
192
192
  required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  none: false
194
194
  requirements:
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  version: '0'
198
198
  segments:
199
199
  - 0
200
- hash: 3282717942212095260
200
+ hash: 4131509735072663138
201
201
  requirements: []
202
202
  rubyforge_project: icu_tournament
203
203
  rubygems_version: 1.8.23