kumo 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/kumo/commands.rb +4 -4
- data/lib/kumo/version.rb +1 -1
- metadata +10 -10
data/lib/kumo/commands.rb
CHANGED
|
@@ -28,7 +28,7 @@ module Kumo
|
|
|
28
28
|
#
|
|
29
29
|
# kumo terminate
|
|
30
30
|
def terminate(global_options, options, args)
|
|
31
|
-
Kumo.initialize_config(File.expand_path(global_options[:'config-file']), sanitize_options(options))
|
|
31
|
+
Kumo.initialize_config(File.expand_path(global_options[:'config-file']), sanitize_options(options), parse_sets(options))
|
|
32
32
|
if args[0]
|
|
33
33
|
Kumo::Server.find_by_id(args[0]).terminate
|
|
34
34
|
else
|
|
@@ -42,7 +42,7 @@ module Kumo
|
|
|
42
42
|
#
|
|
43
43
|
# kumo start
|
|
44
44
|
def start(global_options, options, args)
|
|
45
|
-
Kumo.initialize_config(File.expand_path(global_options[:'config-file']), sanitize_options(options))
|
|
45
|
+
Kumo.initialize_config(File.expand_path(global_options[:'config-file']), sanitize_options(options), parse_sets(options))
|
|
46
46
|
if args[0]
|
|
47
47
|
Kumo::Server.find_by_id(args[0]).start
|
|
48
48
|
else
|
|
@@ -56,7 +56,7 @@ module Kumo
|
|
|
56
56
|
#
|
|
57
57
|
# kumo stop
|
|
58
58
|
def stop(global_options, options, args)
|
|
59
|
-
Kumo.initialize_config(File.expand_path(global_options[:'config-file']), sanitize_options(options))
|
|
59
|
+
Kumo.initialize_config(File.expand_path(global_options[:'config-file']), sanitize_options(options), parse_sets(options))
|
|
60
60
|
if args[0]
|
|
61
61
|
Kumo::Server.find_by_id(args[0]).stop
|
|
62
62
|
else
|
|
@@ -70,7 +70,7 @@ module Kumo
|
|
|
70
70
|
#
|
|
71
71
|
# kumo dns
|
|
72
72
|
def dns(global_options, options, args)
|
|
73
|
-
Kumo.initialize_config(File.expand_path(global_options[:'config-file']), sanitize_options(options))
|
|
73
|
+
Kumo.initialize_config(File.expand_path(global_options[:'config-file']), sanitize_options(options), parse_sets(options))
|
|
74
74
|
if args[0]
|
|
75
75
|
puts Kumo::Server.find_by_id(args[0]).public_dns
|
|
76
76
|
else
|
data/lib/kumo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kumo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-12-
|
|
12
|
+
date: 2012-12-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|
|
@@ -64,33 +64,33 @@ dependencies:
|
|
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
|
65
65
|
none: false
|
|
66
66
|
requirements:
|
|
67
|
-
- -
|
|
67
|
+
- - ~>
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: 2.
|
|
69
|
+
version: 2.5.2
|
|
70
70
|
type: :runtime
|
|
71
71
|
prerelease: false
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
73
|
none: false
|
|
74
74
|
requirements:
|
|
75
|
-
- -
|
|
75
|
+
- - ~>
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
|
-
version: 2.
|
|
77
|
+
version: 2.5.2
|
|
78
78
|
- !ruby/object:Gem::Dependency
|
|
79
79
|
name: fog
|
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
|
81
81
|
none: false
|
|
82
82
|
requirements:
|
|
83
|
-
- -
|
|
83
|
+
- - ~>
|
|
84
84
|
- !ruby/object:Gem::Version
|
|
85
|
-
version:
|
|
85
|
+
version: 1.8.0
|
|
86
86
|
type: :runtime
|
|
87
87
|
prerelease: false
|
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
|
89
89
|
none: false
|
|
90
90
|
requirements:
|
|
91
|
-
- -
|
|
91
|
+
- - ~>
|
|
92
92
|
- !ruby/object:Gem::Version
|
|
93
|
-
version:
|
|
93
|
+
version: 1.8.0
|
|
94
94
|
description:
|
|
95
95
|
email: michael@michaelvobrien.com
|
|
96
96
|
executables:
|