tclog 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/tclog.rb +32 -0
  3. data/tclog.gemspec +2 -2
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
data/lib/tclog.rb CHANGED
@@ -327,6 +327,38 @@ module TCLog
327
327
  case o[0]
328
328
  when "Match"
329
329
  if match_flag
330
+ unless specops_total
331
+ specops_total = {
332
+ :name => "Totals",
333
+ :kill => 0,
334
+ :death => 0,
335
+ :sui => 0,
336
+ :tk => 0,
337
+ :eff => 0,
338
+ :aa => 0,
339
+ :dg => 0,
340
+ :dr => 0,
341
+ :td => 0,
342
+ :score => 0,
343
+ :rate => 0,
344
+ }
345
+ end
346
+ unless terrorists_total
347
+ terrorists_total = {
348
+ :name => "Totals",
349
+ :kill => 0,
350
+ :death => 0,
351
+ :sui => 0,
352
+ :tk => 0,
353
+ :eff => 0,
354
+ :aa => 0,
355
+ :dg => 0,
356
+ :dr => 0,
357
+ :td => 0,
358
+ :score => 0,
359
+ :rate => 0,
360
+ }
361
+ end
330
362
  if specops_total && match_wins
331
363
  game.add_round specops_total, terrorists_total, match_wins
332
364
  match_wins = nil
data/tclog.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tclog}
8
- s.version = "0.2.2"
8
+ s.version = "0.2.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Shota Fukumori"]
12
- s.date = %q{2010-12-27}
12
+ s.date = %q{2010-12-30}
13
13
  s.description = %q{Parser for etconsole.log of TrueCombat:Elite (TC:E)}
14
14
  s.email = %q{sorah@tubusu.net}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 2
9
- version: 0.2.2
8
+ - 3
9
+ version: 0.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Shota Fukumori
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-27 00:00:00 +09:00
17
+ date: 2010-12-30 00:00:00 +09:00
18
18
  default_executable:
19
19
  dependencies: []
20
20