sportdb-formats 2.1.3 → 2.1.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8c3b1c7071b5fa1c91f3282b0563132cb775f77777d75932293c110df64ef97
4
- data.tar.gz: 37c6e63f3c9a0bb6c274ccbe8b1262e35c351ba7013003d77c29ec9385972456
3
+ metadata.gz: 41f3c7bf36eb0670146a99afc2b5d64bc08908519a5ec36814c2418af4e32a63
4
+ data.tar.gz: 3261bec4d966da877da33978a3feb6c2433ddc9cbe26ed7ecbd7b3080dd20a1e
5
5
  SHA512:
6
- metadata.gz: d32a08453d637bef97a67dcb73d2291758146e7e49236be99e8f80e5a786a28873dd2fb58b18b46977698e7b16e682b393560fb041c542e75a4158cab5f3f4ee
7
- data.tar.gz: ac9d12015aec4e1a5a453b51bf86da4c1c7284cf6a3a764b1b9f3f8c46f4948a861616ede69da8e4bb1453dbc56e4daa9cf5435c72053411afbe05dc7b8c195c
6
+ metadata.gz: 81090e3dd2909aaf7655f61d51447a455bb71ff93f27f958934ba0c12a7ca2ca1eb6ee913756921762258111c953ce5fdec7ee62c71123fcae4f10c800b36375
7
+ data.tar.gz: 70fec4a289b64373025385516ab608acedc806f0cf9ced07c90db698a0a2e5a4c3bbb519f1c48356058705d10a43aa8ff634dc92f737090c855c6db8152aeba2
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 2.1.3
1
+ ### 2.1.4
2
2
  ### 0.0.1 / 2019-10-28
3
3
 
4
4
  * Everything is new. First release.
@@ -58,14 +58,12 @@ class QuickMatchLinter
58
58
  # and seasons
59
59
  # for now merge stage into matches
60
60
 
61
- secs = QuickLeagueOutlineReader.parse( @txt )
62
- pp secs if debug?
63
-
64
- secs.each do |sec| ## sec(tion)s
65
- season = Season.parse( sec[:season] ) ## convert (str) to season obj!!!
66
- league = sec[:league]
67
- stage = sec[:stage]
68
- lines = sec[:lines]
61
+ outline = QuickLeagueOutline.parse( @txt )
62
+ outline.each_sec do |sec| ## sec(tion)s
63
+ season = Season.parse( sec.season ) ## convert (str) to season obj!!!
64
+ league = sec.league
65
+ stage = sec.stage
66
+ lines = sec.lines
69
67
 
70
68
  start = if season.year?
71
69
  Date.new( season.start_year, 1, 1 )
@@ -108,6 +106,8 @@ class QuickMatchLinter
108
106
  end
109
107
  end
110
108
 
109
+ ### note - skip section if no lines !!!!!
110
+ next if lines.empty? ## or use lines.size == 0
111
111
 
112
112
 
113
113
  parser = MatchParser.new( lines,
@@ -4,7 +4,7 @@ module Formats
4
4
 
5
5
  MAJOR = 2 ## todo: namespace inside version or something - why? why not??
6
6
  MINOR = 1
7
- PATCH = 3
7
+ PATCH = 4
8
8
  VERSION = [MAJOR,MINOR,PATCH].join('.')
9
9
 
10
10
  def self.version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sportdb-formats
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-02 00:00:00.000000000 Z
11
+ date: 2025-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sportdb-search