sportdb-parser 0.3.2 → 0.3.3

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: c2deeaae15626c5ed7118035667bf689af0426f3580b9ac50abe48ad310aaf1c
4
- data.tar.gz: a3cdff8f2ed1dfb7bf3fa116a0d30928de27f25ecbaf63e75cbcdc90fc60fe0d
3
+ metadata.gz: 8c4d7c1c55b5122f11fc1fdd863e2b8a5cc929b9ae9c57bcc0322400516ab4b8
4
+ data.tar.gz: f5fcae93a1010e1d74fd4f453cb6a201f8f6e11de1ad0d0c9a572c9bb00bd540
5
5
  SHA512:
6
- metadata.gz: 865a3b6844014660fddce03d3236a5a1e3dec003282681c8eb4b6c7ad83e2e91e936d5dd4030188de7578d11258707c72543a1e7b198440d5e9486743e648d9b
7
- data.tar.gz: f1449389d729388b1fa29086ad7a89d74690351cd5ead9d561a8f7f5ebbc38dec09487612000055343728094bda859200ecaf71dfef7fd42fb2ecec16a078e98
6
+ metadata.gz: 93cb2dc95acf74b1a26088afe3162f0f87a25e949d3f81cd6408c35ec9c42d7309a7c5f59a4c29870146b72e77ed6d5bc3e14c754abf2925b1564b55cafe0ac3
7
+ data.tar.gz: 6de22cc1e40f8e423786cef7386ae890533a627b6877f6f17c73d47e6956b2de181c6f3d357a731be4476781c363abaab0de9b21c83a4f88f8b058f8a3a7d005
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.3.2
1
+ ### 0.3.3
2
2
 
3
3
  ### 0.0.1 / 2024-07-12
4
4
 
@@ -26,11 +26,13 @@ end
26
26
 
27
27
 
28
28
  ROUND_RE = %r{^(
29
-
30
29
  ## add special case for group play-off rounds!
31
30
  ## group 2 play-off (e.g. worldcup 1954, 1958)
32
- (?: Group [ ] [a-z0-9]+ [ ]
33
- Play-?offs?
31
+ ##
32
+ ### note - allow Group ("stand-alone") as "generic" round for now
33
+ ## BUT do NOT allow Group 1, Group 2, Group A, Group B, etc.
34
+ (?: Group [ ] [A-Z0-9]+ [ ] Play-?offs? |
35
+ Group
34
36
  )
35
37
  |
36
38
  # round - note - requiers number e.g. round 1,2, etc.
@@ -44,29 +46,30 @@ ROUND_RE = %r{^(
44
46
  )
45
47
  |
46
48
  ## starting with qual(ification)
47
- ## Qual. Round 1 / Qual. Round 2 / Qual. Round 3
48
- (?: Qual \. [ ]
49
- Round
50
- [ ] [1-9][0-9]*
51
- )
49
+ ## Qual. Round 1 / Qual. Round 2 / Qual. Round 3
50
+ ## or
51
+ ## Playoff Round 1
52
+ ## Play-in Round 1
53
+ (?: (?: Qual \. |
54
+ Play-?off |
55
+ Play-?in
56
+ )
57
+ [ ] Round [ ] [1-9][0-9]* )
52
58
  |
53
59
  ## 1. Round / 2. Round / 3. Round / etc.
54
- ## Play-off Round
55
60
  ## First Round
61
+ ## Play-off Round
56
62
  ## Final Round (e.g. Worldcup 1950)
57
63
  (?:
58
64
  (?: [1-9][0-9]* \. |
59
- Play-?off |
60
65
  1st | First |
61
66
  2nd | Second |
67
+ Play-?off |
62
68
  Final
63
69
  )
64
70
  [ ] Round
65
71
  )
66
72
  |
67
- ## Playoff Round 1
68
- (?: Play-?off [ ] Round [ ] [1-9][0-9]* )
69
- |
70
73
  ## starting with preliminary
71
74
  # e.g. Preliminary round
72
75
  (?: Preliminary [ ]
@@ -135,6 +138,11 @@ ROUND_RE = %r{^(
135
138
  )
136
139
  [ ] Replays?
137
140
  )
141
+ |
142
+ ## more
143
+ (?:
144
+ Reclassification
145
+ )
138
146
  )$}ix
139
147
 
140
148
 
@@ -4,7 +4,7 @@ module SportDb
4
4
  module Parser
5
5
  MAJOR = 0 ## todo: namespace inside version or something - why? why not??
6
6
  MINOR = 3
7
- PATCH = 2
7
+ PATCH = 3
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-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-18 00:00:00.000000000 Z
11
+ date: 2024-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocos