sportdb-writers 0.2.1 → 0.2.3
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 +4 -4
- data/CHANGELOG.md +1 -1
- data/config/leagues_america.csv +5 -2
- data/config/openfootball.csv +3 -2
- data/lib/sportdb/fbgen/main.rb +2 -2
- data/lib/sportdb/fbup/main.rb +6 -3
- data/lib/sportdb/writers/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: 7e39ff7eabe3ea46542b2578b6b16e78898c78fe050f51b8144edd58ca4db6cf
|
|
4
|
+
data.tar.gz: 5b7217690f74688ea6e58be0471a2469b384da68c2d11a26aaceb8b0dd0a2e89
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c2f423732fe974d9e6f422a2d1b5b511d67596e5ceaab96a812d2774008f86cc1b94a23c793c12c0b9a058f1a208d2ffc554ae7761777b719d679e1804a9bf91
|
|
7
|
+
data.tar.gz: e3ae9cf74f038df21a3f3275a03758eae2b1b110ec8571ed6fa6dd17cf4804eb5b34e6037ac85bbfe94a64b9f3645c0b9e8d6c8e67da11cf4f083f34e3417cb4
|
data/CHANGELOG.md
CHANGED
data/config/leagues_america.csv
CHANGED
|
@@ -4,10 +4,13 @@ ar.1, Argentina Primera Division, 1-primeradivision,,,
|
|
|
4
4
|
br.1, Brasileiro Série A, 1-seriea,,,
|
|
5
5
|
br.2, Brasileiro Série B, 1-serieb,,,
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
copa.l, Copa Libertadores, libertadores,,,
|
|
8
|
+
copa.s, Copa Sudamericana, sudamericana,,,
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
mx.1, Liga MX, 1-ligamx,,,
|
|
8
12
|
mx.2, Liga de Expansión MX, 2-ligaexpansionmx, 2020/21,,
|
|
9
13
|
mx.2, Ascenso MX, 2-ascensomx, ,2019/20,
|
|
10
14
|
|
|
11
15
|
|
|
12
|
-
copa.l, Copa Libertadores, libertadores,,,
|
|
13
16
|
|
data/config/openfootball.csv
CHANGED
|
@@ -52,11 +52,12 @@ euro, euro
|
|
|
52
52
|
|
|
53
53
|
mx, mexico
|
|
54
54
|
|
|
55
|
+
|
|
55
56
|
ar, south-america/argentina
|
|
56
57
|
br, south-america/brazil
|
|
57
58
|
|
|
58
|
-
copa.l, copa-libertadores
|
|
59
|
-
copa.s, copa-libertadores
|
|
59
|
+
copa.l, south-america/copa-libertadores
|
|
60
|
+
copa.s, south-america/copa-libertadores
|
|
60
61
|
|
|
61
62
|
|
|
62
63
|
cn, world/asia/china
|
data/lib/sportdb/fbgen/main.rb
CHANGED
|
@@ -14,11 +14,11 @@ parser = OptionParser.new do |parser|
|
|
|
14
14
|
|
|
15
15
|
parser.on( "--dry",
|
|
16
16
|
"dry run; do NOT write - default is (#{opts[:dry]})" ) do |dry|
|
|
17
|
-
opts[:dry] =
|
|
17
|
+
opts[:dry] = true
|
|
18
18
|
end
|
|
19
19
|
parser.on( "-q", "--quiet",
|
|
20
20
|
"less debug output/messages - default is (#{!opts[:debug]})" ) do |debug|
|
|
21
|
-
opts[:debug] =
|
|
21
|
+
opts[:debug] = false
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
parser.on( "-I DIR", "--include DIR",
|
data/lib/sportdb/fbup/main.rb
CHANGED
|
@@ -20,13 +20,16 @@ parser = OptionParser.new do |parser|
|
|
|
20
20
|
parser.on( "-p", "--[no-]push",
|
|
21
21
|
"fast forward sync and commit & push changes to git repo - default is (#{opts[:push]})" ) do |push|
|
|
22
22
|
opts[:push] = push
|
|
23
|
-
|
|
23
|
+
if opts[:push] ## note: autoset ffwd too if push == true
|
|
24
|
+
opts[:ffwd] = true
|
|
25
|
+
opts[:test] = false
|
|
26
|
+
end
|
|
24
27
|
end
|
|
25
28
|
## todo/check - add a --ffwd flag too - why? why not?
|
|
26
29
|
|
|
27
30
|
parser.on( "-t", "--test",
|
|
28
31
|
"test run; writing output to #{opts[:test_dir]} - default is #{opts[:test]}" ) do |test|
|
|
29
|
-
opts[:test] =
|
|
32
|
+
opts[:test] = true
|
|
30
33
|
opts[:push] = false
|
|
31
34
|
opts[:ffwd] = false
|
|
32
35
|
end
|
|
@@ -39,7 +42,7 @@ parser = OptionParser.new do |parser|
|
|
|
39
42
|
|
|
40
43
|
parser.on( "-q", "--quiet",
|
|
41
44
|
"less debug output/messages - default is (#{!opts[:debug]})" ) do |debug|
|
|
42
|
-
opts[:debug] =
|
|
45
|
+
opts[:debug] = false
|
|
43
46
|
end
|
|
44
47
|
|
|
45
48
|
parser.on( "-I DIR", "--include DIR",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sportdb-writers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.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-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: football-timezones
|