sportdb-parser 0.5.8 → 0.5.9

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: b3c102d758209b64a04033a772faad7cdaaa4631f5079e56b92dccdfc4b84292
4
- data.tar.gz: 4b49b9a0234be96c552233b74fb4b2f8702b5d402d264382f2b13b9367515740
3
+ metadata.gz: 43f5fed1d5709a2bd2642046f1e3d367212c5ebcc71084f1a17b00738e5036de
4
+ data.tar.gz: 3082d8cf6879adb3735e2dc28a9213dbc5f0781438d0e4248244ac10d02085b5
5
5
  SHA512:
6
- metadata.gz: 78faffba17eff5ff5dd4b665099cee8eff8addd5e8263433f0662da8a88bd4fa5fa80ed83968dcdb4b7c95ab4254508b156dc09c79ee2d58e556e20cf2168aba
7
- data.tar.gz: 4a9a5546ccff399028a2e629a87e86e7c3ee505b7c5b16a15de0053918ddc8e7704c2c8c75517feaab0a9bb5648a8bcf63c66b2cc34800f9d41335748e336f66
6
+ metadata.gz: 50176108fb5d9c81ce7234a7abbdbc4e29aaf25af37005d442d0b351ea699c93dee02293d975a340d2e9f03a13c76836aa30d0278e6a6a82ba28fbbba313f50c
7
+ data.tar.gz: 90b3f15722d7540f70ebb10718a643473e19de09a15e014f70e65b815ff4ed014c4c953266918dbca2baf34da94bd5681e403d27cc2b97f643781bf6f714e23f
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.5.8
1
+ ### 0.5.9
2
2
  ### 0.0.1 / 2024-07-12
3
3
 
4
4
  * Everything is new. First release.
data/config/rounds_en.txt CHANGED
@@ -20,3 +20,8 @@ Minor Semi-Final
20
20
  ## keep weirdo matchday ??
21
21
  Matchday 0 ## in 2003-04/az.1.txt
22
22
 
23
+
24
+ ## from australia
25
+ Elimination finals
26
+ Grand Final
27
+
@@ -53,9 +53,11 @@ TEXT_RE = %r{
53
53
  \d+\.-\d+\. [ ]? \p{L}+
54
54
  )
55
55
 
56
- (?:(?: (?:[ ]
57
- (?!vs?[ ]) ## note - exclude (v[ ]/vs[ ])
58
- )
56
+ (?:(?: (?:[ ]
57
+ (?! (?-i: vs?[ ])
58
+ ) ## note - exclude (v[ ]/vs[ ])
59
+ ## AND switch to case-sensitive (via -i!!!)
60
+ )
59
61
  | # only single spaces allowed inline!!!
60
62
  [-]
61
63
  )?
@@ -63,15 +63,15 @@ TIMEZONE_RE = %r{
63
63
 
64
64
  BASICS_RE = %r{
65
65
  ## e.g. (51) or (1) etc. - limit digits of number???
66
+ ## todo/fix - change num to ord (for ordinal number)!!!!!
66
67
  (?<num> \( (?<value>\d+) \) )
67
68
  |
68
69
  (?<vs>
69
- (?<=[ ]) # Positive lookbehind for space
70
- (?:
71
- vs|v
72
- )
73
- # not bigger match first e.g. vs than v etc.
74
- # todo/fix - make vs|v case sensitive!!! only match v/vs - why? why not?
70
+ (?<=[ ]) # positive lookbehind for space
71
+ (?-i:
72
+ vs|v
73
+ ) # note - only match case sensitive (downcased letters)!!!
74
+ # note - bigger match first e.g. vs than v etc.
75
75
  (?=[ ]) # positive lookahead for space
76
76
  )
77
77
  |
@@ -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 = 5
7
- PATCH = 8
7
+ PATCH = 9
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.5.8
4
+ version: 0.5.9
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-25 00:00:00.000000000 Z
11
+ date: 2025-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocos