persondb 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 +22 -0
- data/Rakefile +31 -0
- data/lib/persondb/version.rb +4 -0
- data/lib/persondb.rb +20 -0
- metadata +87 -0
data/HISTORY.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# persondb
|
2
|
+
|
3
|
+
persondb gems - person schema n models for easy (re) use
|
4
|
+
|
5
|
+
* home :: [github.com/geraldb/person.db.ruby](https://github.com/geraldb/person.db.ruby)
|
6
|
+
* bugs :: [github.com/geraldb/person.db.ruby/issues](https://github.com/geraldb/person.db.ruby/issues)
|
7
|
+
* gem :: [rubygems.org/gems/persondb](https://rubygems.org/gems/persondb)
|
8
|
+
* rdoc :: [rubydoc.info/gems/persondb](http://rubydoc.info/gems/persondb)
|
9
|
+
|
10
|
+
## Usage
|
11
|
+
|
12
|
+
TBD
|
13
|
+
|
14
|
+
## Alternatives
|
15
|
+
|
16
|
+
TBD
|
17
|
+
|
18
|
+
|
19
|
+
## License
|
20
|
+
|
21
|
+
The `persondb` scripts are dedicated to the public domain.
|
22
|
+
Use it as you please with no restrictions whatsoever.
|
data/Rakefile
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'hoe'
|
2
|
+
require './lib/persondb/version.rb'
|
3
|
+
|
4
|
+
Hoe.spec 'persondb' do
|
5
|
+
|
6
|
+
self.version = PersonDb::VERSION
|
7
|
+
|
8
|
+
self.summary = 'persondb - person schema n models for easy (re)use'
|
9
|
+
self.description = summary
|
10
|
+
|
11
|
+
self.urls = ['https://github.com/geraldb/person.db.ruby']
|
12
|
+
|
13
|
+
self.author = 'Gerald Bauer'
|
14
|
+
self.email = 'webslideshow@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.extra_deps = [
|
21
|
+
['logutils', '>= 0.5']
|
22
|
+
]
|
23
|
+
|
24
|
+
self.licenses = ['Public Domain']
|
25
|
+
|
26
|
+
self.spec_extras = {
|
27
|
+
:required_ruby_version => '>= 1.9.2'
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
end
|
data/lib/persondb.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
require 'persondb/version' # let it always go first
|
4
|
+
|
5
|
+
|
6
|
+
module PersonDb
|
7
|
+
|
8
|
+
def self.banner
|
9
|
+
"persondb/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.root
|
13
|
+
"#{File.expand_path( File.dirname(File.dirname(__FILE__)) )}"
|
14
|
+
end
|
15
|
+
|
16
|
+
end # module PersonDb
|
17
|
+
|
18
|
+
|
19
|
+
puts PersonDb.banner # say hello
|
20
|
+
|
metadata
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: persondb
|
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-03-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: logutils
|
16
|
+
requirement: &77830470 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0.5'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *77830470
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rdoc
|
27
|
+
requirement: &77830090 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.10'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *77830090
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: hoe
|
38
|
+
requirement: &77829640 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '3.3'
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *77829640
|
47
|
+
description: persondb - person schema n models for easy (re)use
|
48
|
+
email: webslideshow@googlegroups.com
|
49
|
+
executables: []
|
50
|
+
extensions: []
|
51
|
+
extra_rdoc_files:
|
52
|
+
- Manifest.txt
|
53
|
+
files:
|
54
|
+
- HISTORY.md
|
55
|
+
- Manifest.txt
|
56
|
+
- README.md
|
57
|
+
- Rakefile
|
58
|
+
- lib/persondb.rb
|
59
|
+
- lib/persondb/version.rb
|
60
|
+
homepage: https://github.com/geraldb/person.db.ruby
|
61
|
+
licenses:
|
62
|
+
- Public Domain
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options:
|
65
|
+
- --main
|
66
|
+
- README.md
|
67
|
+
require_paths:
|
68
|
+
- lib
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
71
|
+
requirements:
|
72
|
+
- - ! '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 1.9.2
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ! '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
requirements: []
|
82
|
+
rubyforge_project: persondb
|
83
|
+
rubygems_version: 1.8.17
|
84
|
+
signing_key:
|
85
|
+
specification_version: 3
|
86
|
+
summary: persondb - person schema n models for easy (re)use
|
87
|
+
test_files: []
|