sportdb-quick 0.1.0 → 0.1.1

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: 83d71fcb827a95a654d7294a4ac51e351b9e3990ad059c1efa60d75a0ead0cb1
4
- data.tar.gz: 30bafb710ef313eac75519621d70906b74144c063af1d413b4f2a008cc177ca3
3
+ metadata.gz: 5ee93b658f2f6fce94a131931ea37908a2edbfa19a182ec20072447b57ffc847
4
+ data.tar.gz: f5fa5ab664d71ea9a2ab8c62e1bd30d42fa678e0b2a7564124623dc5d7cd2963
5
5
  SHA512:
6
- metadata.gz: 33c746e0840990423eee328165d4c7bb6331db50a9e3e751845df28cfe5fd42356b4683906ad90c796e069819cea6048eaeec3fcfb787ff3b284336d833bd09d
7
- data.tar.gz: 4ea46d2e6e8f7b7f979dc5a537534e303cdd13dcd83ee6ffb2ddff505834ad2d60347f9fa3cf9c8b6c2de7a75d661b9e314e59ad1130ab4b4a6077b9af0be1eb
6
+ metadata.gz: b0df0b970600ee24a88d09ddffec1caa8ef94cfa75561569638da954357cec2d97ffc7ea566f03e42ec814a5998c99da79f861c54a863a439f1778a3f0426ab0
7
+ data.tar.gz: 01e1ad205c4d271a68136784a17b8f1b7987bdfa5e9b4ba5f395b42f6b488a53747525ecd7bea1e2c188012219529d7611e7d35f49ec4e5e7d499cc791e4e80a
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 0.1.0
1
+ ### 0.1.1
2
2
 
3
3
  ### 0.0.1 / 2024-08-27
4
4
 
data/bin/fbt CHANGED
@@ -39,19 +39,19 @@ require 'optparse'
39
39
 
40
40
  parser.on( "--verbose", "--debug",
41
41
  "turn on verbose / debug output (default: #{opts[:debug]})" ) do |debug|
42
- opts[:debug] = debug
42
+ opts[:debug] = true
43
43
  end
44
44
 
45
45
  parser.on( "--metal",
46
46
  "turn off typed parse tree; show to the metal tokens"+
47
47
  " (default: #{opts[:metal]})" ) do |metal|
48
- opts[:metal] = metal
48
+ opts[:metal] = true
49
49
  end
50
50
 
51
51
  parser.on( "--quick",
52
52
  "use quick match reader; output matches in json"+
53
53
  " (default: #{opts[:quick]})" ) do |quick|
54
- opts[:quick] = quick
54
+ opts[:quick] = true
55
55
  end
56
56
  end
57
57
  parser.parse!( args )
@@ -41,6 +41,15 @@ class QuickLeagueOutlineReader
41
41
  pp heading
42
42
  exit 1
43
43
  end
44
+ elsif node[0] == :h2
45
+ ## todo/check - make sure parsed h1 first
46
+ heading = node[1]
47
+ ## reuse league, season from h1
48
+ secs << { league: secs[-1][:league],
49
+ season: secs[-1][:season],
50
+ stage: heading,
51
+ lines: []
52
+ }
44
53
  elsif node[0] == :p ## paragraph with (text) lines
45
54
  lines = node[1]
46
55
  ## note: skip lines if no heading seen
@@ -4,7 +4,7 @@ module SportDb
4
4
  module Quick
5
5
  MAJOR = 0 ## todo: namespace inside version or something - why? why not??
6
6
  MINOR = 1
7
- PATCH = 0
7
+ PATCH = 1
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-quick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
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-04 00:00:00.000000000 Z
11
+ date: 2024-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sportdb-parser