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 +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/sportdb/parser/lang.rb +21 -13
- data/lib/sportdb/parser/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c4d7c1c55b5122f11fc1fdd863e2b8a5cc929b9ae9c57bcc0322400516ab4b8
|
4
|
+
data.tar.gz: f5fcae93a1010e1d74fd4f453cb6a201f8f6e11de1ad0d0c9a572c9bb00bd540
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93cb2dc95acf74b1a26088afe3162f0f87a25e949d3f81cd6408c35ec9c42d7309a7c5f59a4c29870146b72e77ed6d5bc3e14c754abf2925b1564b55cafe0ac3
|
7
|
+
data.tar.gz: 6de22cc1e40f8e423786cef7386ae890533a627b6877f6f17c73d47e6956b2de181c6f3d357a731be4476781c363abaab0de9b21c83a4f88f8b058f8a3a7d005
|
data/CHANGELOG.md
CHANGED
data/lib/sportdb/parser/lang.rb
CHANGED
@@ -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
|
-
|
33
|
-
|
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
|
-
##
|
48
|
-
|
49
|
-
|
50
|
-
|
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
|
|
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.
|
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-
|
11
|
+
date: 2024-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocos
|