sportdb-keys 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 +32 -0
- data/Rakefile +26 -0
- data/lib/sportdb/keys.rb +29 -0
- data/lib/sportdb/keys/version.rb +6 -0
- metadata +80 -0
data/HISTORY.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# sportdb-keys - sport.db addon for well known keys (e.g. EURO, EN, etc.) and model finder shortcuts, etc.
|
2
|
+
|
3
|
+
* home :: [github.com/sportdb/sport.db.keys.ruby](https://github.com/sportdb/sport.db.keys.ruby)
|
4
|
+
* bugs :: [github.com/sportdb/sport.db.keys.ruby/issues](https://github.com/sportdb/sport.db.keys.ruby/issues)
|
5
|
+
* gem :: [rubygems.org/gems/sportdb-keys](https://rubygems.org/gems/sportdb-keys)
|
6
|
+
* rdoc :: [rubydoc.info/gems/sportdb-keys](http://rubydoc.info/gems/sportdb-keys)
|
7
|
+
* forum :: [groups.google.com/group/opensport](https://groups.google.com/group/opensport)
|
8
|
+
|
9
|
+
|
10
|
+
## Usage
|
11
|
+
|
12
|
+
TBD
|
13
|
+
|
14
|
+
|
15
|
+
## Install
|
16
|
+
|
17
|
+
Just install the gem:
|
18
|
+
|
19
|
+
$ gem install sportdb-keys
|
20
|
+
|
21
|
+
|
22
|
+
## License
|
23
|
+
|
24
|
+
The `sportdb-keys` scripts are dedicated to the public domain.
|
25
|
+
Use it as you please with no restrictions whatsoever.
|
26
|
+
|
27
|
+
|
28
|
+
## Questions? Comments?
|
29
|
+
|
30
|
+
Send them along to the
|
31
|
+
[Open Sports & Friends Forum/Mailing List](http://groups.google.com/group/opensport).
|
32
|
+
Thanks!
|
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'hoe'
|
2
|
+
require './lib/sportdb/keys/version.rb'
|
3
|
+
|
4
|
+
Hoe.spec 'sportdb-keys' do
|
5
|
+
|
6
|
+
self.version = SportDb::Keys::VERSION
|
7
|
+
|
8
|
+
self.summary = 'sportdb-keys - sport.db addon for well known keys (e.g. EURO, EN, etc.) and model finder shortcuts, etc.'
|
9
|
+
self.description = summary
|
10
|
+
|
11
|
+
self.urls = ['https://github.com/sportdb/sport.db.keys.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/sportdb/keys.rb
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
###
|
4
|
+
# note: it's an addon to sportdb (get all libs via sportdb)
|
5
|
+
require 'sportdb'
|
6
|
+
|
7
|
+
|
8
|
+
# our own code
|
9
|
+
|
10
|
+
require 'sportdb/keys/version' # let it always go first
|
11
|
+
|
12
|
+
|
13
|
+
module SportDb
|
14
|
+
module Keys
|
15
|
+
|
16
|
+
def self.banner
|
17
|
+
"sportdb-keys/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.root
|
21
|
+
"#{File.expand_path( File.dirname( File.dirname(File.dirname(__FILE__))) )}"
|
22
|
+
end
|
23
|
+
|
24
|
+
end # module Keys
|
25
|
+
end # module SportDb
|
26
|
+
|
27
|
+
|
28
|
+
puts SportDb::Keys.banner # say hello
|
29
|
+
|
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sportdb-keys
|
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-08-10 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rdoc
|
16
|
+
requirement: &83966490 !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: *83966490
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: hoe
|
27
|
+
requirement: &83966240 !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: *83966240
|
36
|
+
description: sportdb-keys - sport.db addon for well known keys (e.g. EURO, EN, etc.)
|
37
|
+
and model finder shortcuts, 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/sportdb/keys.rb
|
51
|
+
- lib/sportdb/keys/version.rb
|
52
|
+
homepage: https://github.com/sportdb/sport.db.keys.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: sportdb-keys - sport.db addon for well known keys (e.g. EURO, EN, etc.) and
|
79
|
+
model finder shortcuts, etc.
|
80
|
+
test_files: []
|