racingdb 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.md +4 -0
- data/Manifest.txt +6 -0
- data/README.md +25 -0
- data/Rakefile +26 -0
- data/lib/racingdb.rb +31 -0
- data/lib/racingdb/version.rb +4 -0
- metadata +80 -0
data/HISTORY.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# racingdb - sport.db addon for racing (e.g. formula 1, tour de france, ski racing, marathons, etc.)
|
2
|
+
|
3
|
+
* home :: [github.com/sportdb/racing.db.ruby](https://github.com/sportdb/racing.db.ruby)
|
4
|
+
* bugs :: [github.com/sportdb/racing.db.ruby/issues](https://github.com/sportdb/racing.db.ruby/issues)
|
5
|
+
* gem :: [rubygems.org/gems/racingdb](https://rubygems.org/gems/racingdb)
|
6
|
+
* rdoc :: [rubydoc.info/gems/racingdb](http://rubydoc.info/gems/racingdb)
|
7
|
+
* forum :: [groups.google.com/group/opensport](https://groups.google.com/group/opensport)
|
8
|
+
|
9
|
+
|
10
|
+
## Usage
|
11
|
+
|
12
|
+
TBD
|
13
|
+
|
14
|
+
|
15
|
+
## License
|
16
|
+
|
17
|
+
The `racingdb` scripts are dedicated to the public domain.
|
18
|
+
Use it as you please with no restrictions whatsoever.
|
19
|
+
|
20
|
+
|
21
|
+
## Questions? Comments?
|
22
|
+
|
23
|
+
Send them along to the
|
24
|
+
[Open Sports & Friends Forum/Mailing List](http://groups.google.com/group/opensport).
|
25
|
+
Thanks!
|
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'hoe'
|
2
|
+
require './lib/racingdb/version.rb'
|
3
|
+
|
4
|
+
Hoe.spec 'racingdb' do
|
5
|
+
|
6
|
+
self.version = RacingDb::VERSION
|
7
|
+
|
8
|
+
self.summary = 'racingdb - sport.db addon for racing (e.g. formula 1, tour de france, ski racing, marathons, etc.)'
|
9
|
+
self.description = summary
|
10
|
+
|
11
|
+
self.urls = ['https://github.com/sportdb/racing.db.ruby']
|
12
|
+
|
13
|
+
self.author = 'Gerald Bauer'
|
14
|
+
self.email = 'opensport@googlegroups.com'
|
15
|
+
|
16
|
+
# switch extension to .markdown for gihub formatting
|
17
|
+
self.readme_file = 'README.md'
|
18
|
+
self.history_file = 'HISTORY.md'
|
19
|
+
|
20
|
+
self.licenses = ['Public Domain']
|
21
|
+
|
22
|
+
self.spec_extras = {
|
23
|
+
:required_ruby_version => '>= 1.9.2'
|
24
|
+
}
|
25
|
+
|
26
|
+
end
|
data/lib/racingdb.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
|
4
|
+
###
|
5
|
+
# note:
|
6
|
+
# racingdb is a addon for sportdb
|
7
|
+
# assumes sportdb gets required
|
8
|
+
|
9
|
+
|
10
|
+
# our own code
|
11
|
+
|
12
|
+
require 'racing/version' # let it always go first
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
module RacingDb
|
18
|
+
|
19
|
+
def self.banner
|
20
|
+
"racingdb/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.root
|
24
|
+
"#{File.expand_path( File.dirname(File.dirname(__FILE__)) )}"
|
25
|
+
end
|
26
|
+
|
27
|
+
end # module RacingDb
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
puts RacingDb.banner # say hello
|
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: racingdb
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Gerald Bauer
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-07-31 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rdoc
|
16
|
+
requirement: &72572540 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '4.0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *72572540
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: hoe
|
27
|
+
requirement: &72572270 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.11'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *72572270
|
36
|
+
description: racingdb - sport.db addon for racing (e.g. formula 1, tour de france,
|
37
|
+
ski racing, marathons, etc.)
|
38
|
+
email: opensport@googlegroups.com
|
39
|
+
executables: []
|
40
|
+
extensions: []
|
41
|
+
extra_rdoc_files:
|
42
|
+
- HISTORY.md
|
43
|
+
- Manifest.txt
|
44
|
+
- README.md
|
45
|
+
files:
|
46
|
+
- HISTORY.md
|
47
|
+
- Manifest.txt
|
48
|
+
- README.md
|
49
|
+
- Rakefile
|
50
|
+
- lib/racingdb.rb
|
51
|
+
- lib/racingdb/version.rb
|
52
|
+
homepage: https://github.com/sportdb/racing.db.ruby
|
53
|
+
licenses:
|
54
|
+
- Public Domain
|
55
|
+
post_install_message:
|
56
|
+
rdoc_options:
|
57
|
+
- --main
|
58
|
+
- README.md
|
59
|
+
require_paths:
|
60
|
+
- lib
|
61
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 1.9.2
|
67
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ! '>='
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
73
|
+
requirements: []
|
74
|
+
rubyforge_project:
|
75
|
+
rubygems_version: 1.8.17
|
76
|
+
signing_key:
|
77
|
+
specification_version: 3
|
78
|
+
summary: racingdb - sport.db addon for racing (e.g. formula 1, tour de france, ski
|
79
|
+
racing, marathons, etc.)
|
80
|
+
test_files: []
|