sportdb-update 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/update/version.rb +6 -0
- data/lib/sportdb/update.rb +29 -0
- metadata +80 -0
data/HISTORY.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# sportdb-update gem - sport.db addon for auto-updates (e.g. pulling n merging updates from upstream sources)
|
2
|
+
|
3
|
+
* home :: [github.com/sportdb/sport.db.update.ruby](https://github.com/sportdb/sport.db.update.ruby)
|
4
|
+
* bugs :: [github.com/sportdb/sport.db.update.ruby/issues](https://github.com/sportdb/sport.db.update.ruby/issues)
|
5
|
+
* gem :: [rubygems.org/gems/sportdb-update](https://rubygems.org/gems/sportdb-update)
|
6
|
+
* rdoc :: [rubydoc.info/gems/sportdb-update](http://rubydoc.info/gems/sportdb-update)
|
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-update
|
20
|
+
|
21
|
+
|
22
|
+
## License
|
23
|
+
|
24
|
+
The `sportdb-update` 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/update/version.rb'
|
3
|
+
|
4
|
+
Hoe.spec 'sportdb-update' do
|
5
|
+
|
6
|
+
self.version = SportDb::Update::VERSION
|
7
|
+
|
8
|
+
self.summary = 'sportdb-update - sport.db addon for auto-updates (e.g. pulling n merging updates from upstream sources)'
|
9
|
+
self.description = summary
|
10
|
+
|
11
|
+
self.urls = ['https://github.com/sportdb/sport.db.update.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
|
@@ -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/update/version' # let it always go first
|
11
|
+
|
12
|
+
|
13
|
+
module SportDb
|
14
|
+
module Update
|
15
|
+
|
16
|
+
def self.banner
|
17
|
+
"sportdb-update/#{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 Update
|
25
|
+
end # module SportDb
|
26
|
+
|
27
|
+
|
28
|
+
puts SportDb::Update.banner # say hello
|
29
|
+
|
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sportdb-update
|
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: &83336190 !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: *83336190
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: hoe
|
27
|
+
requirement: &83335950 !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: *83335950
|
36
|
+
description: sportdb-update - sport.db addon for auto-updates (e.g. pulling n merging
|
37
|
+
updates from upstream sources)
|
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/update.rb
|
51
|
+
- lib/sportdb/update/version.rb
|
52
|
+
homepage: https://github.com/sportdb/sport.db.update.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-update - sport.db addon for auto-updates (e.g. pulling n merging
|
79
|
+
updates from upstream sources)
|
80
|
+
test_files: []
|