kumogata 0.2.16 → 0.2.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +2 -2
- data/lib/kumogata/argument_parser.rb +7 -1
- data/lib/kumogata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTNlYzE5NjE0MjRhZTFkMGRmMDkwMzZjZGU0YTZhOTIxZDBmMDUzNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODNmYjU3YTQ5MmVlZGNiNTE4YzhlZTczMWNhZTRjYTUxYzI4MGYyZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTJhZTJkM2VhZWUzZDZjOWZjNTM0MDliOGY4MTZlOTExODI5OWRlNjRiN2E4
|
10
|
+
NjNkMTI2YmE0Nzk3YzM1OTg1NTgyODI2MWE3YTk2OTdlNTJhNjMzZTMzOTQy
|
11
|
+
YTI3ZmJlZjE5ODUwODA2M2Q5ZDc1ZjcyZWU0ZWNiMjk0ZDhkZTM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTk5MTEyZGVhMTljZmFlNWE5ZDkxMmIyMmNiNWE4ODYyYzhkMzI1OGEzY2Y3
|
14
|
+
ZTBjZGQyZWMxMzJiM2I1MzgyOWNlZTk1NTU2MjRjYmJkMzIwYTNmYTQ4YjQx
|
15
|
+
MWNlN2RkMWZmOTgyYjJhNmJjOWYxYjc3MTNhMmFhOGNmYjEyNmM=
|
data/README.md
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
|
6
6
|
Kumogata is a tool for [AWS CloudFormation](https://aws.amazon.com/cloudformation/).
|
7
7
|
|
8
|
-
[![Gem Version](https://badge.fury.io/rb/kumogata.png?
|
9
|
-
[![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?
|
8
|
+
[![Gem Version](https://badge.fury.io/rb/kumogata.png?201403072249)](http://badge.fury.io/rb/kumogata)
|
9
|
+
[![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?201403072249)](https://drone.io/github.com/winebarrel/kumogata/latest)
|
10
10
|
|
11
11
|
It can define a template in Ruby DSL, such as:
|
12
12
|
|
@@ -1,4 +1,5 @@
|
|
1
1
|
Version = Kumogata::VERSION
|
2
|
+
$kumogata = Hashie::Mash.new
|
2
3
|
|
3
4
|
module Kumogata
|
4
5
|
ENCRYPTION_PASSWORD = 'EncryptionPassword'
|
@@ -129,6 +130,11 @@ class Kumogata::ArgumentParser
|
|
129
130
|
end
|
130
131
|
|
131
132
|
command = command.to_s.gsub('-', '_').to_sym
|
133
|
+
|
134
|
+
$kumogata.command = command
|
135
|
+
$kumogata.arguments = arguments
|
136
|
+
$kumogata.options = options
|
137
|
+
|
132
138
|
[command, arguments, options]
|
133
139
|
end
|
134
140
|
|
@@ -192,7 +198,7 @@ class Kumogata::ArgumentParser
|
|
192
198
|
end
|
193
199
|
|
194
200
|
options.parameters = parameters
|
195
|
-
$parameters = options.parameters
|
201
|
+
$kumogata.parameters = options.parameters
|
196
202
|
|
197
203
|
if options.encrypt_parameters? and not options.skip_send_password?
|
198
204
|
options.parameters[Kumogata::ENCRYPTION_PASSWORD] = passwd.encode64
|
data/lib/kumogata/version.rb
CHANGED