sportdb-parser 0.6.12 → 0.6.13

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: 45ae1f806a3734a32c34fd96a32784568443875cd82c9ab1e8ab867bd7358977
4
- data.tar.gz: 3bc7ed4c867722b5d950ff759afdf02191405949fedffa4609d81c74daf882be
3
+ metadata.gz: 4a2e9867bfc8e1dec97214c0d3c335fe0d3cdb0cf5835184081af1447d509e4a
4
+ data.tar.gz: 1b038a316ad0de74bc559972e59832bfe3af5530b6c0547a9b2eaca0ecbfefbf
5
5
  SHA512:
6
- metadata.gz: a6d43efebff7d7558d084fea36d83bc6ec9fdb4aed83aa23d8226f79b10018ddbaf6b607539ac6d664b1038d7772062fcf4cf6f22791444e1c87353889e77d91
7
- data.tar.gz: ae2151c60bb90bc4dd61d3fadd3fed6e44b865739ebfb7b28bd8c4a9e3b373cfb1827a2202ebc740ec8a69103d1073c6fe1caa5241a3580495aef1e503d9f55c
6
+ metadata.gz: 11b6cb434a959e39b8dd8a935b9bb0d973e9e47e647c1f19dbc1c536a013b982dc948ca62c2d7a9a661a7aeb276444cfbfb81c4975df30ece993076124fce7bd
7
+ data.tar.gz: b0487df7f949c28c0d4df23d040aeff4eb3247c01b088fe45b65aa6a29a3891781d24bd56d85e99cd1e0d31d82efe953c13f6c689301a9623a01ffa2bdbb45f0
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.6.12
1
+ ### 0.6.13
2
2
  ### 0.0.1 / 2024-07-12
3
3
 
4
4
  * Everything is new. First release.
data/config/zones_en.txt CHANGED
@@ -3,7 +3,9 @@
3
3
 
4
4
 
5
5
  Western Region
6
+ West Region
6
7
  Eastern Region
8
+ East Region
7
9
 
8
10
  Western Conference
9
11
  Eastern Conference
@@ -39,8 +39,8 @@ ROUND_RE = %r{^
39
39
  ##
40
40
  ### note - allow Group ("stand-alone") as "generic" round for now
41
41
  ## BUT do NOT allow Group 1, Group 2, Group A, Group B, etc.
42
- (?: Group [ ] [A-Z0-9]+ [ ] Play-?offs? |
43
- Group (?: [ ] phase|stage)? |
42
+ (?: Group [ ] [a-z0-9]+ [ ] Play-?offs? |
43
+ Group (?: [ ] (?: phase|stage))? |
44
44
  League (?: [ ] phase)?
45
45
  )
46
46
  |
@@ -54,10 +54,13 @@ ROUND_RE = %r{^
54
54
  )
55
55
  [ ] [1-9][0-9]*
56
56
  (?: ## note - add optional Matchday 1 of 2 or such
57
- [ ] of [1-9][0-9]*
57
+ [ ] of [ ] [1-9][0-9]*
58
58
  )?
59
59
  )
60
60
  |
61
+ (?: Round [ ] One
62
+ )
63
+ |
61
64
  ## starting with qual(ification)
62
65
  ## Qual. Round 1 / Qual. Round 2 / Qual. Round 3
63
66
  ## or
@@ -116,16 +119,28 @@ ROUND_RE = %r{^
116
119
  |
117
120
  # round32
118
121
  (?: Round[ ]of[ ]32 |
119
- Last[ ]32 )
122
+ Last[ ]32 |
123
+ 16th[ ]finals |
124
+ 1/16[ ]finals )
120
125
  |
121
126
  # round16
122
127
  (?: Round[ ]of[ ]16 |
123
- Last[ ]16 )
128
+ Last[ ]16 |
129
+ 8th[ ]finals |
130
+ 1/8[ ]finals )
124
131
  |
132
+ # round8 aka quarterfinals
133
+ # note - allow quarter-finals/quarter finals/quarterfinals
134
+ (?: Round[ ]of[ ]8 |
135
+ Last[ ]8 |
136
+ 1/4[ ]finals |
137
+ Quarter[ -]?finals? |
138
+ Quarters )
139
+ |
125
140
  # fifthplace
126
141
  (?:
127
142
  (?: (Fifth|5th)[ -]place
128
- (?: [ ] (?: match|play[ -]?off|final ))?
143
+ (?: [ ] (?: match|final|play[ -]?off ))?
129
144
  ) |
130
145
  (?: Match[ ]for[ ](?: fifth|5th )[ -]place )
131
146
  )
@@ -133,33 +148,21 @@ ROUND_RE = %r{^
133
148
  # thirdplace
134
149
  (?:
135
150
  (?: (Third|3rd)[ -]place
136
- (?: [ ] (?: match|play[ -]?off|final ))?
151
+ (?: [ ] (?: match|final|play[ -]?off ))?
137
152
  ) |
138
153
  (?: Match[ ]for[ ](?: third|3rd )[ -]place )
139
154
  )
140
155
  |
141
- # quarterfinals
142
- (?:
143
- ## note - allow quarter-finals/quarter finals/quarterfinals
144
- Quarter[ -]?finals? |
145
- Quarters |
146
- Last[ ]8 |
147
- 8th[ ]finals |
148
- 1/8[ ]finals ## check 1/8 finals is same as querter-finals?
149
- )
150
- |
151
- # semifinals
156
+ # round4 aka semifinals
152
157
  (?:
158
+ Round[ ]of[ ]4 |
159
+ Last[ ]4 |
153
160
  Semi[ -]?finals? |
154
- Semis |
155
- Last[ ]4 |
156
- 1/4[ ]finals ## check 1/4 finals is same as semi-finals?
157
- )
161
+ Semis )
158
162
  |
159
- # final
163
+ # round2 aka final
160
164
  Finals?
161
- |
162
- |
165
+ |
163
166
  ## add replays
164
167
  ## e.g. Final Replay
165
168
  ## Quarter-finals replays
@@ -271,6 +274,7 @@ LEG_RE = %r{^
271
274
  # leg 1 of 2 / leg 2 of 2
272
275
  # note - leg limited to ALWAY 1/2 of 2 for now - why? why not?
273
276
  # for more use match 1/2/3 etc.
277
+ ## allow leg of three (e.g. leg 1 of 3) - why? why not?
274
278
  (?: leg [ ] [12]
275
279
  (?: [ ] of [ ] 2)? )
276
280
  |
@@ -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 = 6
7
- PATCH = 12
7
+ PATCH = 13
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-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.12
4
+ version: 0.6.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer