sanichi-chess_icu 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 4
4
- :patch: 0
4
+ :patch: 1
@@ -187,7 +187,7 @@ The following lists Krause data identification numbers, their description and, w
187
187
  t.round_dates.each{ |d| krause << d.sub(/^../, ' ') }
188
188
  krause << "\n"
189
189
  end
190
- t.players.each{ |p| krause << p.to_krause(@tournament.rounds) }
190
+ t.players.each{ |p| krause << p.to_krause(t.rounds) }
191
191
  krause
192
192
  end
193
193
 
@@ -171,14 +171,15 @@ KRAUSE
171
171
  KRAUSE
172
172
  @p = Krause.new
173
173
  @t = @p.parse!(@krause)
174
+ @s = Krause.new
174
175
  end
175
176
 
176
177
  it "should serialize back to the original if the input is fully canonicalised" do
177
- @p.serialize(@t).should == @krause
178
+ @s.serialize(@t).should == @krause
178
179
  end
179
180
 
180
181
  it "should return nil on invalid input" do
181
- @p.serialize('Rubbish').should be_nil
182
+ @s.serialize('Rubbish').should be_nil
182
183
  end
183
184
  end
184
185
 
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.0
4
+ version: 0.4.1
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-10 00:00:00 -07:00
12
+ date: 2009-05-13 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency