fbtxt2json 0.2.1 → 0.2.2
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/Rakefile +1 -1
- data/bin/fbtxt2json +3 -4
- 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: 66b36b917ccd87f925171e33aadc3edd58db330f7f46af0a8c7ca7f36060ba2d
|
4
|
+
data.tar.gz: 324a37bb90fdb2badf86e187c8e422eca9ecead101cbc057a638aac247b86e65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4c5dcac2a7ba88ab44943536bbad963bc5897d641076ae4f9af078d87d49be40e7a0cd853547a6bd247ae39f69a83c08d12ef941cc7fb5b4a1f9d36820370dd
|
7
|
+
data.tar.gz: 1336d12e9b6009b970ac4f7401146790a6dca5cd08098add1956fba224a5f6aef8ec82da36b0310c0c0296f35ee24041eb097d3178215ba27e6bcf1233e5aace
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
data/bin/fbtxt2json
CHANGED
@@ -172,10 +172,8 @@ elsif dirs > 0
|
|
172
172
|
puts "==> reading dir [#{i+1}/#{paths.size}] >#{path}<..."
|
173
173
|
summary << "==> [#{i+1}/#{paths.size}] dir #{path}\n"
|
174
174
|
|
175
|
-
### todo/fix: add seasons filter upstream??
|
176
|
-
##
|
177
175
|
|
178
|
-
datafiles = SportDb::Parser::Opts._find( path )
|
176
|
+
datafiles = SportDb::Parser::Opts._find( path, seasons: opts[:seasons] )
|
179
177
|
pp datafiles
|
180
178
|
puts " #{datafiles.size} datafile(s)"
|
181
179
|
summary << " #{datafiles.size} datafile(s)\n\n"
|
@@ -206,7 +204,8 @@ elsif dirs > 0
|
|
206
204
|
|
207
205
|
summary << "</pre>"
|
208
206
|
puts summary
|
209
|
-
if
|
207
|
+
## note - do NOT write-out summary if seasons filter is used!!!
|
208
|
+
if opts[:summary] && opts[:seasons].size == 0
|
210
209
|
write_text( "#{opts[:output]}/index.html", summary )
|
211
210
|
end
|
212
211
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fbtxt2json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
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-04-
|
11
|
+
date: 2025-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sportdb-quick
|