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 +4 -4
- data/CHANGELOG.md +1 -1
- data/config/rounds_en.txt +5 -0
- data/lib/sportdb/parser/token-text.rb +5 -3
- data/lib/sportdb/parser/token.rb +6 -6
- 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: 43f5fed1d5709a2bd2642046f1e3d367212c5ebcc71084f1a17b00738e5036de
|
4
|
+
data.tar.gz: 3082d8cf6879adb3735e2dc28a9213dbc5f0781438d0e4248244ac10d02085b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50176108fb5d9c81ce7234a7abbdbc4e29aaf25af37005d442d0b351ea699c93dee02293d975a340d2e9f03a13c76836aa30d0278e6a6a82ba28fbbba313f50c
|
7
|
+
data.tar.gz: 90b3f15722d7540f70ebb10718a643473e19de09a15e014f70e65b815ff4ed014c4c953266918dbca2baf34da94bd5681e403d27cc2b97f643781bf6f714e23f
|
data/CHANGELOG.md
CHANGED
data/config/rounds_en.txt
CHANGED
@@ -53,9 +53,11 @@ TEXT_RE = %r{
|
|
53
53
|
\d+\.-\d+\. [ ]? \p{L}+
|
54
54
|
)
|
55
55
|
|
56
|
-
(?:(?: (?:[ ]
|
57
|
-
(?!
|
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
|
)?
|
data/lib/sportdb/parser/token.rb
CHANGED
@@ -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
|
-
(?<=[ ]) #
|
70
|
-
(
|
71
|
-
|
72
|
-
)
|
73
|
-
|
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
|
|
|
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.
|
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-
|
11
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocos
|