kumogata 0.5.1 → 0.5.2.beta

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7abbd98940ea00078cbb8e85f0b4c247bd23787
4
- data.tar.gz: 596a0b349420fd4acc30b0deaa61c3da05b4a8dc
3
+ metadata.gz: 56c768a31f46d1a8c5206e3bd20a121810d536ec
4
+ data.tar.gz: 7cf440c519193e89c9b8d29a7284216207156220
5
5
  SHA512:
6
- metadata.gz: bbc0444757175c13192e8b6d2d12ecc260c141dd878889a8e0350758c93c1d3dfe3e589e99f36030a144b9607b6af74a5dd3ea6447b58a8d9e30a58bf78606d7
7
- data.tar.gz: 40f1cac8dceb6d6ae3d6e6b661fe65d316601a3713af6edec884c01f4f28377f0a95ce9483d4efbdf8a12f68babc7b6e3c3c6d5648bf9af963a89ed2018cc7f0
6
+ metadata.gz: 5ccb5e4ddce456ac3323660289f2fb0053cf750982d109aae24fbabd35e90e68f67dac9255a81fc1edfa77d7a967441ae43a34fc37f6227914c56e64ac9420ac
7
+ data.tar.gz: b0672799d9603820c4534860204646b869fb0c854b0756a454cb39acf67a48d32ae3caf51361a1a5d876f6aa8a1783d6efaba4c0a2c7e17c83ceeec79aec2806
data/README.md CHANGED
@@ -156,7 +156,7 @@ JSON template can be converted to Ruby template.
156
156
  * `_user_data()` has been removed
157
157
  * `_join()` has been removed
158
158
 
159
- ### String#fn_joine()
159
+ ### String#fn_join()
160
160
 
161
161
  Ruby templates will be converted as follows by `String#fn_join()`:
162
162
 
@@ -601,13 +601,13 @@ end
601
601
 
602
602
  ## Configuration File
603
603
 
604
- Kumogata supports [aws-cli configuration file](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waitcondition.html).
604
+ Kumogata supports [aws-sdk configuration file](http://docs.aws.amazon.com/AWSSdkDocsRuby/latest/DeveloperGuide/ruby-dg-setup.html#set-up-creds).
605
605
 
606
606
  ```
607
607
  [default]
608
608
  aws_access_key_id=AKIAIOSFODNN7EXAMPLE
609
609
  aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
610
- aws_security_token=texample123324
610
+ aws_session_token=texample123324
611
611
  ```
612
612
 
613
613
  ## Demo
data/kumogata.gemspec CHANGED
@@ -34,6 +34,6 @@ Gem::Specification.new do |spec|
34
34
  spec.add_dependency 'uuidtools'
35
35
  spec.add_development_dependency 'bundler'
36
36
  spec.add_development_dependency 'rake'
37
- spec.add_development_dependency 'rspec', '>= 2.11.0'
37
+ spec.add_development_dependency 'rspec', '>= 3.0.0'
38
38
  spec.add_development_dependency 'timecop'
39
39
  end
@@ -91,6 +91,7 @@ class Kumogata::ArgumentParser
91
91
  opt.on('' , '--skip-replace-underscore') { options[:skip_replace_underscore] = false }
92
92
  opt.on('' , '--deletion-policy-retain') { options[:deletion_policy_retain] = true }
93
93
  opt.on('-p', '--parameters KEY_VALUES', Array) {|v| options[:parameters] = v }
94
+ opt.on('-j', '--json-parameters JSON') {|v| options[:json_parameters] = v }
94
95
  opt.on('-e', '--encrypt-parameters KEYS', Array) {|v| options[:encrypt_parameters] = v }
95
96
  opt.on('', '--encryption-password PASS') {|v| options[:encryption_password] = v }
96
97
  opt.on('', '--skip-send-password') { options[:skip_send_password] = true }
@@ -200,6 +201,10 @@ class Kumogata::ArgumentParser
200
201
  parameters[key] = value
201
202
  end
202
203
 
204
+ if options.json_parameters
205
+ parameters.merge! JSON.parse(options.json_parameters)
206
+ end
207
+
203
208
  options.parameters = parameters
204
209
  end
205
210
 
@@ -1,3 +1,3 @@
1
1
  module Kumogata
2
- VERSION = '0.5.1'
2
+ VERSION = '0.5.2.beta'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumogata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-30 00:00:00.000000000 Z
11
+ date: 2014-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -246,14 +246,14 @@ dependencies:
246
246
  requirements:
247
247
  - - '>='
248
248
  - !ruby/object:Gem::Version
249
- version: 2.11.0
249
+ version: 3.0.0
250
250
  type: :development
251
251
  prerelease: false
252
252
  version_requirements: !ruby/object:Gem::Requirement
253
253
  requirements:
254
254
  - - '>='
255
255
  - !ruby/object:Gem::Version
256
- version: 2.11.0
256
+ version: 3.0.0
257
257
  - !ruby/object:Gem::Dependency
258
258
  name: timecop
259
259
  requirement: !ruby/object:Gem::Requirement
@@ -336,12 +336,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
336
336
  version: '0'
337
337
  required_rubygems_version: !ruby/object:Gem::Requirement
338
338
  requirements:
339
- - - '>='
339
+ - - '>'
340
340
  - !ruby/object:Gem::Version
341
- version: '0'
341
+ version: 1.3.1
342
342
  requirements: []
343
343
  rubyforge_project:
344
- rubygems_version: 2.4.1
344
+ rubygems_version: 2.0.14
345
345
  signing_key:
346
346
  specification_version: 4
347
347
  summary: A tool for AWS CloudFormation.