sportdb-quick 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ee93b658f2f6fce94a131931ea37908a2edbfa19a182ec20072447b57ffc847
4
- data.tar.gz: f5fa5ab664d71ea9a2ab8c62e1bd30d42fa678e0b2a7564124623dc5d7cd2963
3
+ metadata.gz: 9a1f7a6531aba4ac7f0223ee696b347f90d422d6297ee04e03d4839f2e3a1ba0
4
+ data.tar.gz: 3d2e7b520183f40149856467646af58a17d39232d3bb0f78c285e7c220af7ece
5
5
  SHA512:
6
- metadata.gz: b0df0b970600ee24a88d09ddffec1caa8ef94cfa75561569638da954357cec2d97ffc7ea566f03e42ec814a5998c99da79f861c54a863a439f1778a3f0426ab0
7
- data.tar.gz: 01e1ad205c4d271a68136784a17b8f1b7987bdfa5e9b4ba5f395b42f6b488a53747525ecd7bea1e2c188012219529d7611e7d35f49ec4e5e7d499cc791e4e80a
6
+ metadata.gz: 071ffe16ce450fccdeb4a6fcbcc4749a2ffec2e22a95ca0b9ae8d80d981741bd6f960b0715a61aee23452dd699bd5043e46ab197fcc9a070e379e13a073f4508
7
+ data.tar.gz: c765504847f2240b14068805e3965e2f186d38f78674f631d95cacd286c64b08007b4316043951979538bf6c1a7f7e25cf14f48e96fcd33fafbae6d124216c14
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.1.1
1
+ ### 0.1.2
2
2
 
3
3
  ### 0.0.1 / 2024-08-27
4
4
 
@@ -566,12 +566,13 @@ class GoalStruct
566
566
  logger.debug( "parse match: >#{nodes}<" )
567
567
 
568
568
  ## collect (possible) nodes by type
569
- num = nil
570
- date = nil
571
- time = nil
572
- teams = []
573
- score = nil
574
- more = []
569
+ num = nil
570
+ date = nil
571
+ time = nil
572
+ teams = []
573
+ score = nil
574
+ more = []
575
+ status = nil
575
576
 
576
577
  while !nodes.empty?
577
578
  node = nodes.shift
@@ -608,6 +609,8 @@ class GoalStruct
608
609
 
609
610
  score = Score.new( *values )
610
611
  ## pp score
612
+ elsif node_type == :status # e.g. awarded, canceled, postponed, etc.
613
+ status = node[1]
611
614
  elsif node_type == :vs
612
615
  ## skip; do nothing
613
616
  ##
@@ -711,7 +714,6 @@ class GoalStruct
711
714
  time_str = time if date && time
712
715
 
713
716
 
714
- status = nil
715
717
  ground = nil
716
718
 
717
719
  @matches << Import::Match.new( num: num,
@@ -4,7 +4,7 @@ module SportDb
4
4
  module Quick
5
5
  MAJOR = 0 ## todo: namespace inside version or something - why? why not??
6
6
  MINOR = 1
7
- PATCH = 1
7
+ PATCH = 2
8
8
  VERSION = [MAJOR,MINOR,PATCH].join('.')
9
9
 
10
10
  def self.version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportdb-quick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer