winedb 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ ### 0.0.1 / 2014-03-01
2
+
3
+ * Everything is new. First release.
@@ -0,0 +1,6 @@
1
+ HISTORY.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/winedb.rb
6
+ lib/winedb/version.rb
@@ -0,0 +1,58 @@
1
+ # winedb
2
+
3
+ wine.db Command Line Tool in Ruby
4
+
5
+ * home :: [github.com/geraldb/wine.db.ruby](https://github.com/geraldb/wine.db.ruby)
6
+ * bugs :: [github.com/geraldb/wine.db.ruby/issues](https://github.com/geraldb/wine.db.ruby/issues)
7
+ * gem :: [rubygems.org/gems/winedb](https://rubygems.org/gems/winedb)
8
+ * rdoc :: [rubydoc.info/gems/winedb](http://rubydoc.info/gems/winedb)
9
+ * forum :: [groups.google.com/group/winedb](https://groups.google.com/group/winedb)
10
+
11
+
12
+ ## Usage Command Line
13
+
14
+ wine.db command line tool, version 0.5.0
15
+
16
+ Commands:
17
+ create Create DB schema
18
+ help Display global or [command] help documentation.
19
+ load Load fixtures
20
+ logs Show logs
21
+ props Show props
22
+ serve Start web service (HTTP JSON API)
23
+ setup Create DB schema 'n' load all data
24
+ stats Show stats
25
+ test Debug/test command suite
26
+
27
+ Global Options:
28
+ -i, --include PATH Data path (default is .)
29
+ -d, --dbpath PATH Database path (default is .)
30
+ -n, --dbname NAME Database name (datault is wine.db)
31
+ -q, --quiet Only show warnings, errors and fatal messages
32
+ -w, --verbose Show debug messages
33
+ -h, --help Display help documentation
34
+ -v, --version Display version information
35
+ -t, --trace Display backtrace when an error occurs
36
+
37
+
38
+ ## Usage Models
39
+
40
+ TBD
41
+
42
+
43
+ ## Install
44
+
45
+ Just install the gem:
46
+
47
+ $ gem install winedb
48
+
49
+
50
+ ## License
51
+
52
+ The `winedb` scripts are dedicated to the public domain.
53
+ Use it as you please with no restrictions whatsoever.
54
+
55
+ ## Questions? Comments?
56
+
57
+ Send them along to the [Open Wine & Winery Database Forum/Mailing List](http://groups.google.com/group/winedb). Thanks!
58
+
@@ -0,0 +1,40 @@
1
+ require 'hoe'
2
+ require './lib/winedb/version.rb'
3
+
4
+ Hoe.spec 'winedb' do
5
+
6
+ self.version = WineDb::VERSION
7
+
8
+ self.summary = 'winedb - wine.db command line tool'
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/geraldb/wine.db.ruby']
12
+
13
+ self.author = 'Gerald Bauer'
14
+ self.email = 'winedb@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
+ ['activerecord', '~> 3.2'], # NB: will include activesupport,etc.
22
+ ### ['sqlite3', '~> 1.3'] # NB: install on your own; remove dependency
23
+
24
+ ['worlddb', '~> 1.7'], # NB: worlddb already includes
25
+ # - commander
26
+ # - logutils
27
+ # - textutils
28
+
29
+ ## 3rd party
30
+ ['gli', '>= 2.5.6']
31
+ ]
32
+
33
+ self.licenses = ['Public Domain']
34
+
35
+ self.spec_extras = {
36
+ :required_ruby_version => '>= 1.9.2'
37
+ }
38
+
39
+
40
+ end
@@ -0,0 +1,19 @@
1
+
2
+
3
+ require 'winedb/version' # let it always go first
4
+
5
+
6
+ module WineDb
7
+
8
+ def self.banner
9
+ "winedb/#{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 WineDb
17
+
18
+
19
+ puts WineDb.banner # say hello
@@ -0,0 +1,4 @@
1
+
2
+ module WineDb
3
+ VERSION = '0.0.1'
4
+ end
metadata ADDED
@@ -0,0 +1,109 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: winedb
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-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activerecord
16
+ requirement: &77438490 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.2'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *77438490
25
+ - !ruby/object:Gem::Dependency
26
+ name: worlddb
27
+ requirement: &77438010 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: '1.7'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *77438010
36
+ - !ruby/object:Gem::Dependency
37
+ name: gli
38
+ requirement: &77457290 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 2.5.6
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *77457290
47
+ - !ruby/object:Gem::Dependency
48
+ name: rdoc
49
+ requirement: &77456620 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '3.10'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *77456620
58
+ - !ruby/object:Gem::Dependency
59
+ name: hoe
60
+ requirement: &77455830 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: '3.3'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *77455830
69
+ description: winedb - wine.db command line tool
70
+ email: winedb@googlegroups.com
71
+ executables: []
72
+ extensions: []
73
+ extra_rdoc_files:
74
+ - Manifest.txt
75
+ files:
76
+ - HISTORY.md
77
+ - Manifest.txt
78
+ - README.md
79
+ - Rakefile
80
+ - lib/winedb.rb
81
+ - lib/winedb/version.rb
82
+ homepage: https://github.com/geraldb/wine.db.ruby
83
+ licenses:
84
+ - Public Domain
85
+ post_install_message:
86
+ rdoc_options:
87
+ - --main
88
+ - README.md
89
+ require_paths:
90
+ - lib
91
+ required_ruby_version: !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: 1.9.2
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ! '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ requirements: []
104
+ rubyforge_project: winedb
105
+ rubygems_version: 1.8.17
106
+ signing_key:
107
+ specification_version: 3
108
+ summary: winedb - wine.db command line tool
109
+ test_files: []