rubycat 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3c35c45b7f7cf2bf154d36e8d69f09d849cf5523
4
+ data.tar.gz: 3fcb742540d0c586a9d7d9165bbbea5bfd3175ab
5
+ SHA512:
6
+ metadata.gz: ed46c3db1204955c6a2343ea4ec97cf2556ce3ce08771c3208b7a3ff81640f100ce39f1810ecf7c138258f4ecf76d4a917eca6fe185c0acc9a27860d50216d3c
7
+ data.tar.gz: ba67a2270d48d9dad5dcee503f3861f2fbf1ce6e648f0ed192e03d9dfd4cd97bc6ee1124ba7d630e4ae93aad218e56fa129ad289d9d0ad9b68bf9e40fc47e1dd
data/HISTORY.md ADDED
@@ -0,0 +1,3 @@
1
+ ### 0.0.1 / 2015-06-30
2
+
3
+ * Everything is new. First release
data/Manifest.txt ADDED
@@ -0,0 +1,6 @@
1
+ HISTORY.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/rubycat.rb
6
+ lib/rubycat/version.rb
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # rubycat
2
+
3
+ ruby (library) catalog (cards) command line tool (using the catalog.db machinery)
4
+
5
+
6
+ * home :: [github.com/textkit/rubycat](https://github.com/textkit/rubycat)
7
+ * bugs :: [github.com/textkit/rubycat/issues](https://github.com/textkit/rubycat/issues)
8
+ * gem :: [rubygems.org/gems/rubycat](https://rubygems.org/gems/rubycat)
9
+ * rdoc :: [rubydoc.info/gems/rubycat](http://rubydoc.info/gems/rubycat)
10
+ * forum :: [ruby-talk@ruby-lang.org](http://www.ruby-lang.org/en/community/mailing-lists)
11
+
12
+
13
+ ## Usage
14
+
15
+ To be done
16
+
17
+
18
+ ## Install
19
+
20
+ Just install the gem:
21
+
22
+ $ gem install rubycat
23
+
24
+
25
+ ## License
26
+
27
+ The `rubycat` scripts are dedicated to the public domain.
28
+ Use it as you please with no restrictions whatsoever.
29
+
30
+
31
+ ## Questions? Comments?
32
+
33
+ Send them along to the ruby-talk mailing list.
34
+ Thanks!
35
+
data/Rakefile ADDED
@@ -0,0 +1,33 @@
1
+ require 'hoe'
2
+ require './lib/rubycat/version.rb'
3
+
4
+ Hoe.spec 'rubycat' do
5
+
6
+ self.version = RubyCat::VERSION
7
+
8
+ self.summary = "rubycat - ruby (library) catalog (cards) command line tool (using the catalog.db machinery)"
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/textkit/rubycat']
12
+
13
+ self.author = 'Gerald Bauer'
14
+ self.email = 'ruby-talk@ruby-lang.org'
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
+ ['catalogdb', '>= 0.1.0'],
22
+ ## 3rd party
23
+ ['fetcher', '>= 0.4.5'],
24
+ ['sqlite3']
25
+ ]
26
+
27
+ self.licenses = ['Public Domain']
28
+
29
+ self.spec_extras = {
30
+ required_ruby_version: '>= 1.9.2'
31
+ }
32
+
33
+ end
@@ -0,0 +1,26 @@
1
+ # encoding: utf-8
2
+
3
+ module RubyCat
4
+
5
+ MAJOR = 0 ## todo: namespace inside version or something - why? why not??
6
+ MINOR = 0
7
+ PATCH = 1
8
+ VERSION = [MAJOR,MINOR,PATCH].join('.')
9
+
10
+ def self.version
11
+ VERSION
12
+ end
13
+
14
+ def self.banner
15
+ "rubycat/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
16
+ end
17
+
18
+ def self.root
19
+ "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
20
+ end
21
+
22
+ end # module RubyCat
23
+
24
+ ## add module alias
25
+ Rubycat = RubyCat
26
+
data/lib/rubycat.rb ADDED
@@ -0,0 +1,15 @@
1
+ # encoding: utf-8
2
+
3
+ # 3rd party libs (gems)
4
+ require 'catalogdb'
5
+ require 'fetcher'
6
+
7
+
8
+ # our own code
9
+
10
+ require 'rubycat/version' ## let version always go first
11
+
12
+
13
+
14
+ # say hello
15
+ puts RubyCat.banner if defined?($RUBYLIBS_DEBUG) && $RUBYLIBS_DEBUG
metadata ADDED
@@ -0,0 +1,126 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubycat
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Gerald Bauer
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-06-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: catalogdb
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.1.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: fetcher
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.4.5
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 0.4.5
41
+ - !ruby/object:Gem::Dependency
42
+ name: sqlite3
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rdoc
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '4.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '4.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: hoe
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.13'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.13'
83
+ description: rubycat - ruby (library) catalog (cards) command line tool (using the
84
+ catalog.db machinery)
85
+ email: ruby-talk@ruby-lang.org
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files:
89
+ - HISTORY.md
90
+ - Manifest.txt
91
+ - README.md
92
+ files:
93
+ - HISTORY.md
94
+ - Manifest.txt
95
+ - README.md
96
+ - Rakefile
97
+ - lib/rubycat.rb
98
+ - lib/rubycat/version.rb
99
+ homepage: https://github.com/textkit/rubycat
100
+ licenses:
101
+ - Public Domain
102
+ metadata: {}
103
+ post_install_message:
104
+ rdoc_options:
105
+ - "--main"
106
+ - README.md
107
+ require_paths:
108
+ - lib
109
+ required_ruby_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: 1.9.2
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ requirements: []
120
+ rubyforge_project:
121
+ rubygems_version: 2.4.2
122
+ signing_key:
123
+ specification_version: 4
124
+ summary: rubycat - ruby (library) catalog (cards) command line tool (using the catalog.db
125
+ machinery)
126
+ test_files: []