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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDQ0MTViMDk1ZDc4Y2ZjODcxOTEwYzk3MWNjYmY2MjFiN2JkODFjMA==
4
+ YTNlYzE5NjE0MjRhZTFkMGRmMDkwMzZjZGU0YTZhOTIxZDBmMDUzNQ==
5
5
  data.tar.gz: !binary |-
6
- ZjVkMDk2NThiY2RmNzRiYWNmZjY4MGExMzA1MWUzZGQ5YTA2YWE3Ng==
6
+ ODNmYjU3YTQ5MmVlZGNiNTE4YzhlZTczMWNhZTRjYTUxYzI4MGYyZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzRkMmMyNmE3MTg5M2Y3NTg4MzdlYmI2M2M2YmM2NmRhOGJjYTA1ZTEwMzk5
10
- MmM5MDFiM2IwZGY4ODJkM2E0MTYxNzZjMzUwOWEwMmJhN2U1YTU1NTU3YzNk
11
- NjU1ZjMzOTI2MjQ5MDA5OTcwMzA2MmZkZmNlZDM1OWJkMjRhZTc=
9
+ YTJhZTJkM2VhZWUzZDZjOWZjNTM0MDliOGY4MTZlOTExODI5OWRlNjRiN2E4
10
+ NjNkMTI2YmE0Nzk3YzM1OTg1NTgyODI2MWE3YTk2OTdlNTJhNjMzZTMzOTQy
11
+ YTI3ZmJlZjE5ODUwODA2M2Q5ZDc1ZjcyZWU0ZWNiMjk0ZDhkZTM=
12
12
  data.tar.gz: !binary |-
13
- ZjdhM2E2OGVlOTg0NWFlYTY5ZTM1OGJiM2Q1YzMzNzllM2JiYTE1Mzg5NWRj
14
- YTQxMTI4OGZkMWU1ZjZkMjAxNzI3NmMyYzRjODQwMjk3ZmQwNmMxZjdkNGRm
15
- MmY0MDZiNzJkNGUyNDdlNzZiYzY1ZjllODE0NjMxYmU0YjJmMmY=
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?201403072229)](http://badge.fury.io/rb/kumogata)
9
- [![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?201403072229)](https://drone.io/github.com/winebarrel/kumogata/latest)
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
@@ -1,3 +1,3 @@
1
1
  module Kumogata
2
- VERSION = '0.2.16'
2
+ VERSION = '0.2.17'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumogata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.16
4
+ version: 0.2.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara