icu_tournament 1.9.0 → 1.9.1
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/lib/icu_tournament/version.rb +1 -1
- data/spec/player_spec.rb +6 -0
- metadata +3 -3
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.
|
|
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:
|
|
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:
|
|
200
|
+
hash: 4131509735072663138
|
|
201
201
|
requirements: []
|
|
202
202
|
rubyforge_project: icu_tournament
|
|
203
203
|
rubygems_version: 1.8.23
|