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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c36ed17ae02ff9398179ca95187a072f69aa7de8f610986cf2a69592cbccaf69
4
- data.tar.gz: f06bed189b4a25049541e2e4a0d25dd3cb26df3b76b989c6839c5b512bf37d41
3
+ metadata.gz: 7e39ff7eabe3ea46542b2578b6b16e78898c78fe050f51b8144edd58ca4db6cf
4
+ data.tar.gz: 5b7217690f74688ea6e58be0471a2469b384da68c2d11a26aaceb8b0dd0a2e89
5
5
  SHA512:
6
- metadata.gz: 960adee4eea590e6ae820a336775a051a2c170a55af32add89dfcf4e8bf44ae8f96ec678ff021be89d6e0a065d7f32b91c1526631078f7311a9352789100c1c8
7
- data.tar.gz: 2781130d839a11d5bc1c30ae25a3573d56715fa21eb39eae69018f7251e8ae5d5e5e9fdbc7a3866b951800a289d055543cd91fe06d8071371a1c1679e448b4cf
6
+ metadata.gz: c2f423732fe974d9e6f422a2d1b5b511d67596e5ceaab96a812d2774008f86cc1b94a23c793c12c0b9a058f1a208d2ffc554ae7761777b719d679e1804a9bf91
7
+ data.tar.gz: e3ae9cf74f038df21a3f3275a03758eae2b1b110ec8571ed6fa6dd17cf4804eb5b34e6037ac85bbfe94a64b9f3645c0b9e8d6c8e67da11cf4f083f34e3417cb4
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.2.1
1
+ ### 0.2.3
2
2
 
3
3
  ### 0.0.1 / 2020-11-15
4
4
 
@@ -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
- mx.1, Liga MX, 1-ligamx,,, ## note: basename gets overwritten by stages e.g. 1-apertura or 1-clausura
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
 
@@ -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
@@ -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] = 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] = !debug
21
+ opts[:debug] = false
22
22
  end
23
23
 
24
24
  parser.on( "-I DIR", "--include DIR",
@@ -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
- opts[:fwd] = true if opts[:push] ## note: autoset ffwd too if push == true
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] = 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] = !debug
45
+ opts[:debug] = false
43
46
  end
44
47
 
45
48
  parser.on( "-I DIR", "--include DIR",
@@ -4,7 +4,7 @@ module Module
4
4
  module Writers
5
5
  MAJOR = 0 ## todo: namespace inside version or something - why? why not??
6
6
  MINOR = 2
7
- PATCH = 1
7
+ PATCH = 3
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-writers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
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-15 00:00:00.000000000 Z
11
+ date: 2024-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: football-timezones