shuck 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/shuck/cli.rb +11 -0
- data/lib/shuck/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/shuck/cli.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'thor'
|
2
2
|
require 'shuck/server'
|
3
|
+
require 'shuck/version'
|
3
4
|
|
4
5
|
module Shuck
|
5
6
|
class CLI < Thor
|
@@ -44,5 +45,15 @@ module Shuck
|
|
44
45
|
server = Shuck::Server.new(options[:port],store,hostname)
|
45
46
|
server.serve
|
46
47
|
end
|
48
|
+
|
49
|
+
desc "version", "Report the current shuck version"
|
50
|
+
def version
|
51
|
+
puts <<"EOF"
|
52
|
+
======================
|
53
|
+
Shuck #{Shuck::VERSION}
|
54
|
+
|
55
|
+
Copyright 2012, Curtis Spencer (@jubos)
|
56
|
+
EOF
|
57
|
+
end
|
47
58
|
end
|
48
59
|
end
|
data/lib/shuck/version.rb
CHANGED
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
+
- 1
|
7
8
|
- 0
|
8
|
-
|
9
|
-
version: 0.0.9
|
9
|
+
version: 0.1.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Curtis Spencer
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2012-
|
17
|
+
date: 2012-03-06 00:00:00 -08:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|