stacker_bee 2.1.0.pre230 → 2.1.0.pre232
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.
- checksums.yaml +8 -8
- data/bin/stacker_bee +9 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTk2OTE3ZWYwM2UxNDdjMjFiNDMzZGFhNTA0NTYyYmYzYTIzMTliNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDMyNTJjOWJkMTI1YmIwZGMwZGM2NjA1MTNlMTAyMmQ4MTRlMGMwMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDRjNzdmMGZkZTBiZDAxZDFmMzZlNGFiNWI1MTY1ZTEwNGUzYmY2NDkxMmEx
|
10
|
+
YzRiZjAwNGNlM2Y1MGRkNTM5YzM3YTkwMDYwMWY4MDg3NjUwZmZkNWY2OThj
|
11
|
+
N2UyMzVjMzQxOTk1NTI4MjE2OGNlZDZmNjg2YWMxMWQzNzU5ZTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmJjZWZmNTZkNTRhYjJkMDdiNzBiMzJiZTg0ZmMxYzdhNjNmZTQ2MDBjNWE4
|
14
|
+
ZGEyNTNjYTg2NTBmYzQ0ODMzYzEwMjA5ZTE3MmU5M2VhNDA5M2QyNDRmYzMz
|
15
|
+
ZGI2OTVmMDRlMzk0ZTA3ZjYzOWMxZjAxMWNmZTYwYWY2MmQwZWQ=
|
data/bin/stacker_bee
CHANGED
@@ -23,16 +23,16 @@ optparse = OptionParser.new do |opts|
|
|
23
23
|
|
24
24
|
config_help = "StackerBee configuration file, formatted as YAML"
|
25
25
|
opts.on('-c', '--config=/PATH/TO/CONFIG.yml', config_help) do |config|
|
26
|
-
options[
|
26
|
+
options[:config] = config
|
27
27
|
end
|
28
28
|
opts.on('-a', '--api_key=API_KEY', "CloudStack API Key") do |key|
|
29
|
-
options[
|
29
|
+
options[:api_key] = key
|
30
30
|
end
|
31
31
|
opts.on('-s', '--secret_key=SECRET_KEY', "CloudStack Secret Key") do |key|
|
32
|
-
options[
|
32
|
+
options[:secret_key] = key
|
33
33
|
end
|
34
34
|
opts.on('-u', '--url=URL', "CloudStack URL") do |url|
|
35
|
-
options[
|
35
|
+
options[:url] = url
|
36
36
|
end
|
37
37
|
opts.on('-v', '--[no-]verbose', 'Run verbosely') do |v|
|
38
38
|
verbose = true
|
@@ -53,11 +53,11 @@ end
|
|
53
53
|
|
54
54
|
begin
|
55
55
|
optparse.parse!
|
56
|
-
if options[
|
57
|
-
hash = File.read options[
|
56
|
+
if options[:config]
|
57
|
+
hash = File.read options[:config]
|
58
58
|
options.merge! YAML.load(hash)
|
59
59
|
end
|
60
|
-
unless (
|
60
|
+
unless ([:api_key, :secret_key, :url] - options.keys).empty?
|
61
61
|
puts "Please specify a config file or all of the following: " \
|
62
62
|
"--api_key, --secret_key and --url"
|
63
63
|
exit
|
@@ -70,8 +70,8 @@ end
|
|
70
70
|
|
71
71
|
if verbose
|
72
72
|
puts "StackerBee version #{StackerBee::VERSION}"
|
73
|
-
puts "URL: #{options[
|
74
|
-
puts "API key: #{options[
|
73
|
+
puts "URL: #{options[:url]}"
|
74
|
+
puts "API key: #{options[:api_key]}"
|
75
75
|
end
|
76
76
|
|
77
77
|
client = StackerBee::Client.new(options)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stacker_bee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.0.
|
4
|
+
version: 2.1.0.pre232
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Sterndale
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|