footballdb-data 2024.6.22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1b2b8487f33cb208cf64d98e10d868643cd981df9e58d0d2af57229893ec9d73
4
+ data.tar.gz: c6d6a5ac67de3a3a90a142b7b839e39267d2c0f3fc638c0b0a63ceb85ea05851
5
+ SHA512:
6
+ metadata.gz: d36455c9549186dcd41ac00474f48ca4afc89877aa59c6861f357142a82cec64887ee5a212820e87efb81577c4e96005257b2ed52bd23d65d0ab5de44f95b599
7
+ data.tar.gz: f2ee0ea16dadae82dfab041cc1405bb19b26780362ebe8d50d0baa4b805149789bbfd67e529964a6a89e49f89ac57a22266873c9b1a161081c5a2efdd3dc25fd
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ### 2024.6.22
2
+
3
+ ### 0.0.1 / 2024-06-22
4
+
5
+ * Everything is new. First release.
data/Manifest.txt ADDED
@@ -0,0 +1,7 @@
1
+ CHANGELOG.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ data/catalog.db
6
+ lib/footballdb-data.rb
7
+ lib/footballdb/data.rb
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # footballdb-data - built-in (default) football data incl. leagues & cups, clubs, grounds, and more
2
+
3
+
4
+ * home :: [github.com/sportdb/sport.db](https://github.com/sportdb/sport.db)
5
+ * bugs :: [github.com/sportdb/sport.db/issues](https://github.com/sportdb/sport.db/issues)
6
+ * gem :: [rubygems.org/gems/footballdb-data](https://rubygems.org/gems/footballdb-data)
7
+ * rdoc :: [rubydoc.info/gems/footballdb-data](http://rubydoc.info/gems/footballdb-data)
8
+
9
+
10
+
11
+ ## Usage
12
+
13
+ See the footballdb-clubs, footballdb-leagues et al gems.
14
+
15
+
16
+
17
+ ## License
18
+
19
+ The `footballdb-data` scripts and data are dedicated to the public domain.
20
+ Use it as you please with no restrictions whatsoever.
21
+
22
+
23
+
24
+
25
+ ## Questions? Comments?
26
+
27
+ Yes, you can. More than welcome.
28
+ See [Help & Support »](https://github.com/openfootball/help)
29
+
data/Rakefile ADDED
@@ -0,0 +1,27 @@
1
+ require 'hoe'
2
+ require './lib/footballdb-data.rb'
3
+
4
+ Hoe.spec 'footballdb-data' do
5
+
6
+ self.version = FootballDb::Data::VERSION
7
+
8
+ self.summary = "footballdb-data - built-in (default) football data incl. leagues & cups, clubs, grounds, and more"
9
+ self.description = summary
10
+
11
+ self.urls = { home: 'https://github.com/sportdb/sport.db' }
12
+
13
+ self.author = 'Gerald Bauer'
14
+ self.email = 'gerald.bauer@gmail.com'
15
+
16
+ # switch extension to .markdown for gihub formatting
17
+ self.readme_file = 'README.md'
18
+ self.history_file = 'CHANGELOG.md'
19
+
20
+ self.licenses = ['Public Domain']
21
+
22
+ self.extra_deps = []
23
+
24
+ self.spec_extras = {
25
+ required_ruby_version: '>= 2.2.2'
26
+ }
27
+ end
data/data/catalog.db ADDED
Binary file
@@ -0,0 +1,5 @@
1
+ # note: allow require 'footballdb/data' too
2
+ # (in addition to require 'footballdb-data')
3
+
4
+ require_relative '../footballdb-data'
5
+
@@ -0,0 +1,31 @@
1
+
2
+ module FootballDb
3
+ module Data
4
+
5
+ MAJOR = 2024 ## todo: namespace inside version or something - why? why not??
6
+ MINOR = 6
7
+ PATCH = 22
8
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
9
+
10
+ def self.version
11
+ VERSION
12
+ end
13
+
14
+ def self.banner
15
+ "footballdb-data/#{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__)) )
20
+ end
21
+
22
+ def self.data_dir ## rename to config_dir - why? why not?
23
+ "#{root}/data"
24
+ end
25
+
26
+ end # module Data
27
+ end # module FootballDb
28
+
29
+
30
+
31
+ puts FootballDb::Data.banner # say hello
metadata ADDED
@@ -0,0 +1,90 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: footballdb-data
3
+ version: !ruby/object:Gem::Version
4
+ version: 2024.6.22
5
+ platform: ruby
6
+ authors:
7
+ - Gerald Bauer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-06-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rdoc
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '7'
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '4.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '7'
33
+ - !ruby/object:Gem::Dependency
34
+ name: hoe
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '4.1'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '4.1'
47
+ description: footballdb-data - built-in (default) football data incl. leagues & cups,
48
+ clubs, grounds, and more
49
+ email: gerald.bauer@gmail.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files:
53
+ - CHANGELOG.md
54
+ - Manifest.txt
55
+ - README.md
56
+ files:
57
+ - CHANGELOG.md
58
+ - Manifest.txt
59
+ - README.md
60
+ - Rakefile
61
+ - data/catalog.db
62
+ - lib/footballdb-data.rb
63
+ - lib/footballdb/data.rb
64
+ homepage: https://github.com/sportdb/sport.db
65
+ licenses:
66
+ - Public Domain
67
+ metadata: {}
68
+ post_install_message:
69
+ rdoc_options:
70
+ - "--main"
71
+ - README.md
72
+ require_paths:
73
+ - lib
74
+ required_ruby_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 2.2.2
79
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ requirements: []
85
+ rubygems_version: 3.4.10
86
+ signing_key:
87
+ specification_version: 4
88
+ summary: footballdb-data - built-in (default) football data incl. leagues & cups,
89
+ clubs, grounds, and more
90
+ test_files: []