football-cat 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b99f5753f1c440b0c2bce4c18965ed07b37bc193
4
+ data.tar.gz: db8bf5223f6e5e42de9f610fcb5812e45c87e65f
5
+ SHA512:
6
+ metadata.gz: c4fdddaebd05f0df7bfae509c2ace78374888f421fa1aac68b815e1a6830cc7c815e1b4438c7ee1926cccfe805e8dee1f1355a99b1f979a959795ecea13bec6f
7
+ data.tar.gz: 063de7fe1f277d2f968a17b16bc5f83c9455fe956d88f96403d21079355fb4867bb0bc65c526137241a3ba573a2da0ddf0fc0efd3b2de8325f3de716aa73cf81
@@ -0,0 +1,3 @@
1
+ ### 0.0.1 / 2020-11-15
2
+
3
+ * Everything is new. First release.
@@ -0,0 +1,9 @@
1
+ CHANGELOG.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ bin/football-cat
6
+ lib/football-cat.rb
7
+ lib/football-cat/version.rb
8
+ test/helper.rb
9
+ test/test_version.rb
@@ -0,0 +1,47 @@
1
+ # football-cat - concatenate football.csv datafiles
2
+
3
+
4
+ * home :: [github.com/sportdb/football.db](https://github.com/sportdb/football.db)
5
+ * bugs :: [github.com/sportdb/football.db/issues](https://github.com/sportdb/football.db/issues)
6
+ * gem :: [rubygems.org/gems/football-cat](https://rubygems.org/gems/football-cat)
7
+ * rdoc :: [rubydoc.info/gems/football-cat](http://rubydoc.info/gems/football-cat)
8
+ * forum :: [opensport](http://groups.google.com/group/opensport)
9
+
10
+
11
+
12
+ ## Usage
13
+
14
+
15
+
16
+ ## Datasets
17
+
18
+ For some open public domain Football.CSV datasets to get started, see the [football.csv org](https://github.com/footballcsv).
19
+
20
+
21
+ Add your datasets here!
22
+
23
+
24
+
25
+ ## Installation
26
+
27
+ Use
28
+
29
+ gem install football-cat
30
+
31
+ or add the gem to your Gemfile
32
+
33
+ gem 'football-cat'
34
+
35
+
36
+ ## License
37
+
38
+ The `football-cat` scripts are dedicated to the public domain.
39
+ Use it as you please with no restrictions whatsoever.
40
+
41
+
42
+ ## Questions? Comments?
43
+
44
+ Send them along to the
45
+ [Open Sports & Friends Forum/Mailing List](http://groups.google.com/group/opensport).
46
+ Thanks!
47
+
@@ -0,0 +1,31 @@
1
+ require 'hoe'
2
+ require './lib/football-cat/version.rb'
3
+
4
+
5
+ Hoe.spec 'football-cat' do
6
+
7
+ self.version = SportDb::Module::FootballCat::VERSION
8
+
9
+ self.summary = 'football-cat - concatenate football.csv datafiles'
10
+ self.description = summary
11
+
12
+ self.urls = { home: 'https://github.com/sportdb/football.db'}
13
+
14
+ self.author = 'Gerald Bauer'
15
+ self.email = 'opensport@googlegroups.com'
16
+
17
+ # switch extension to .markdown for gihub formatting
18
+ # -- Note: auto-changed when included in manifest
19
+ self.readme_file = 'README.md'
20
+ self.history_file = 'CHANGELOG.md'
21
+
22
+ self.extra_deps = [
23
+ ['sportdb-catalogs', '>= 1.0.0'],
24
+ ]
25
+
26
+ self.licenses = ['Public Domain']
27
+
28
+ self.spec_extras = {
29
+ required_ruby_version: '>= 2.2.2'
30
+ }
31
+ end
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ ###################
4
+ # == DEV TIPS:
5
+ #
6
+ # For local testing run like:
7
+ #
8
+ # ruby -Ilib bin/football-cat
9
+ #
10
+ # Set the executable bit in Linux. Example:
11
+ #
12
+ # % chmod a+x bin/football-cat
13
+ #
14
+
15
+ require 'football-cat'
16
+
17
+ FootballCat.main
@@ -0,0 +1,21 @@
1
+ require 'optparse'
2
+
3
+
4
+ require 'sportdb/catalogs'
5
+
6
+ ###
7
+ # our own code
8
+ require 'football-cat/version' # let version always go first
9
+
10
+
11
+ module FootballCat
12
+ class Tool
13
+
14
+ end # class Tool
15
+
16
+ def self.main( args=ARGV ) Tool.new.run( args ); end
17
+ end # module FootballCat
18
+
19
+
20
+
21
+ puts SportDb::Module::FootballCat.banner # say hello
@@ -0,0 +1,24 @@
1
+ module SportDb
2
+ module Module
3
+ module FootballCat
4
+
5
+ MAJOR = 0 ## todo: namespace inside version or something - why? why not??
6
+ MINOR = 0
7
+ PATCH = 1
8
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
9
+
10
+ def self.version
11
+ VERSION
12
+ end
13
+
14
+ def self.banner
15
+ "football-cat/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
16
+ end
17
+
18
+ def self.root
19
+ File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )
20
+ end
21
+
22
+ end # module FootballCat
23
+ end # module Module
24
+ end # module SportDb
@@ -0,0 +1,9 @@
1
+ ## minitest setup
2
+
3
+ require 'minitest/autorun'
4
+
5
+
6
+ ## our own code
7
+ require 'football-cat'
8
+
9
+
@@ -0,0 +1,17 @@
1
+ ###
2
+ # to run use
3
+ # ruby -I ./lib -I ./test test/test_version.rb
4
+
5
+
6
+ require 'helper'
7
+
8
+ class TestVersion < MiniTest::Test
9
+
10
+ def test_version
11
+ puts SportDb::Module::FootballCat.banner
12
+ puts SportDb::Module::FootballCat.root
13
+ puts SportDb::Module::FootballCat::VERSION
14
+ end
15
+
16
+ end # class TestVersion
17
+
metadata ADDED
@@ -0,0 +1,106 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: football-cat
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Gerald Bauer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-11-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sportdb-catalogs
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '7'
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '4.0'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '7'
47
+ - !ruby/object:Gem::Dependency
48
+ name: hoe
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '3.22'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '3.22'
61
+ description: football-cat - concatenate football.csv datafiles
62
+ email: opensport@googlegroups.com
63
+ executables:
64
+ - football-cat
65
+ extensions: []
66
+ extra_rdoc_files:
67
+ - CHANGELOG.md
68
+ - Manifest.txt
69
+ - README.md
70
+ files:
71
+ - CHANGELOG.md
72
+ - Manifest.txt
73
+ - README.md
74
+ - Rakefile
75
+ - bin/football-cat
76
+ - lib/football-cat.rb
77
+ - lib/football-cat/version.rb
78
+ - test/helper.rb
79
+ - test/test_version.rb
80
+ homepage: https://github.com/sportdb/football.db
81
+ licenses:
82
+ - Public Domain
83
+ metadata: {}
84
+ post_install_message:
85
+ rdoc_options:
86
+ - "--main"
87
+ - README.md
88
+ require_paths:
89
+ - lib
90
+ required_ruby_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 2.2.2
95
+ required_rubygems_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: '0'
100
+ requirements: []
101
+ rubyforge_project:
102
+ rubygems_version: 2.5.2
103
+ signing_key:
104
+ specification_version: 4
105
+ summary: football-cat - concatenate football.csv datafiles
106
+ test_files: []