fbtxt-document 0.9.0
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 +7 -0
- data/CHANGELOG.md +4 -0
- data/Manifest.txt +19 -0
- data/README.md +21 -0
- data/Rakefile +33 -0
- data/lib/fbtxt/document/match_tree/goal.rb +67 -0
- data/lib/fbtxt/document/match_tree/group.rb +23 -0
- data/lib/fbtxt/document/match_tree/match.rb +249 -0
- data/lib/fbtxt/document/match_tree/round.rb +34 -0
- data/lib/fbtxt/document/match_tree-helpers.rb +81 -0
- data/lib/fbtxt/document/match_tree.rb +126 -0
- data/lib/fbtxt/document/match_tree_on/on_date_header.rb +45 -0
- data/lib/fbtxt/document/match_tree_on/on_goal_line.rb +95 -0
- data/lib/fbtxt/document/match_tree_on/on_group_def.rb +27 -0
- data/lib/fbtxt/document/match_tree_on/on_match_line.rb +195 -0
- data/lib/fbtxt/document/match_tree_on/on_round_def.rb +85 -0
- data/lib/fbtxt/document/match_tree_on/on_round_outline.rb +104 -0
- data/lib/fbtxt/document/quick_match_reader.rb +137 -0
- data/lib/fbtxt/document/version.rb +24 -0
- data/lib/fbtxt/document.rb +33 -0
- metadata +129 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
module Fbtxt
|
|
3
|
+
module Module
|
|
4
|
+
module Document
|
|
5
|
+
MAJOR = 0 ## todo: namespace inside version or something - why? why not??
|
|
6
|
+
MINOR = 9
|
|
7
|
+
PATCH = 0
|
|
8
|
+
VERSION = [MAJOR,MINOR,PATCH].join('.')
|
|
9
|
+
|
|
10
|
+
def self.version
|
|
11
|
+
VERSION
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def self.banner
|
|
15
|
+
"fbtxt-document/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in (#{root})"
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def self.root
|
|
19
|
+
File.expand_path( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
end # module Document
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
require 'fbtxt/parser' # depends on/pulls in: cocos
|
|
2
|
+
|
|
3
|
+
require 'season-formats'
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## our own code
|
|
10
|
+
require_relative 'document/version'
|
|
11
|
+
|
|
12
|
+
## match & league machinery
|
|
13
|
+
require_relative 'document/match_tree'
|
|
14
|
+
require_relative 'document/match_tree-helpers'
|
|
15
|
+
|
|
16
|
+
require_relative 'document/match_tree/match' ## ("inline") structs
|
|
17
|
+
require_relative 'document/match_tree/goal'
|
|
18
|
+
require_relative 'document/match_tree/round'
|
|
19
|
+
require_relative 'document/match_tree/group'
|
|
20
|
+
|
|
21
|
+
require_relative 'document/match_tree_on/on_group_def'
|
|
22
|
+
require_relative 'document/match_tree_on/on_round_def'
|
|
23
|
+
require_relative 'document/match_tree_on/on_round_outline'
|
|
24
|
+
require_relative 'document/match_tree_on/on_date_header'
|
|
25
|
+
require_relative 'document/match_tree_on/on_match_line'
|
|
26
|
+
require_relative 'document/match_tree_on/on_goal_line'
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
require_relative 'document/quick_match_reader'
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
puts Fbtxt::Module::Document.banner # say hello
|
metadata
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: fbtxt-document
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.9.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Gerald Bauer
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-07-07 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: fbtxt-parser
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 0.9.0
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 0.9.0
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: season-formats
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 0.1.0
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 0.1.0
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: rdoc
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '4.0'
|
|
48
|
+
- - "<"
|
|
49
|
+
- !ruby/object:Gem::Version
|
|
50
|
+
version: '7'
|
|
51
|
+
type: :development
|
|
52
|
+
prerelease: false
|
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
54
|
+
requirements:
|
|
55
|
+
- - ">="
|
|
56
|
+
- !ruby/object:Gem::Version
|
|
57
|
+
version: '4.0'
|
|
58
|
+
- - "<"
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '7'
|
|
61
|
+
- !ruby/object:Gem::Dependency
|
|
62
|
+
name: hoe
|
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - "~>"
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '4.2'
|
|
68
|
+
type: :development
|
|
69
|
+
prerelease: false
|
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - "~>"
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '4.2'
|
|
75
|
+
description: fbtxt-document - football.txt match readers (incl. Fbtxt::Document) and
|
|
76
|
+
more
|
|
77
|
+
email: gerald.bauer@gmail.com
|
|
78
|
+
executables: []
|
|
79
|
+
extensions: []
|
|
80
|
+
extra_rdoc_files:
|
|
81
|
+
- CHANGELOG.md
|
|
82
|
+
- Manifest.txt
|
|
83
|
+
- README.md
|
|
84
|
+
files:
|
|
85
|
+
- CHANGELOG.md
|
|
86
|
+
- Manifest.txt
|
|
87
|
+
- README.md
|
|
88
|
+
- Rakefile
|
|
89
|
+
- lib/fbtxt/document.rb
|
|
90
|
+
- lib/fbtxt/document/match_tree-helpers.rb
|
|
91
|
+
- lib/fbtxt/document/match_tree.rb
|
|
92
|
+
- lib/fbtxt/document/match_tree/goal.rb
|
|
93
|
+
- lib/fbtxt/document/match_tree/group.rb
|
|
94
|
+
- lib/fbtxt/document/match_tree/match.rb
|
|
95
|
+
- lib/fbtxt/document/match_tree/round.rb
|
|
96
|
+
- lib/fbtxt/document/match_tree_on/on_date_header.rb
|
|
97
|
+
- lib/fbtxt/document/match_tree_on/on_goal_line.rb
|
|
98
|
+
- lib/fbtxt/document/match_tree_on/on_group_def.rb
|
|
99
|
+
- lib/fbtxt/document/match_tree_on/on_match_line.rb
|
|
100
|
+
- lib/fbtxt/document/match_tree_on/on_round_def.rb
|
|
101
|
+
- lib/fbtxt/document/match_tree_on/on_round_outline.rb
|
|
102
|
+
- lib/fbtxt/document/quick_match_reader.rb
|
|
103
|
+
- lib/fbtxt/document/version.rb
|
|
104
|
+
homepage: https://github.com/sportdb/sport.db
|
|
105
|
+
licenses:
|
|
106
|
+
- Public Domain
|
|
107
|
+
metadata: {}
|
|
108
|
+
post_install_message:
|
|
109
|
+
rdoc_options:
|
|
110
|
+
- "--main"
|
|
111
|
+
- README.md
|
|
112
|
+
require_paths:
|
|
113
|
+
- lib
|
|
114
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
115
|
+
requirements:
|
|
116
|
+
- - ">="
|
|
117
|
+
- !ruby/object:Gem::Version
|
|
118
|
+
version: 3.1.0
|
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
|
+
requirements:
|
|
121
|
+
- - ">="
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: '0'
|
|
124
|
+
requirements: []
|
|
125
|
+
rubygems_version: 3.5.22
|
|
126
|
+
signing_key:
|
|
127
|
+
specification_version: 4
|
|
128
|
+
summary: fbtxt-document - football.txt match readers (incl. Fbtxt::Document) and more
|
|
129
|
+
test_files: []
|