awful 0.0.72 → 0.0.73
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awful/cloudformation.rb +2 -1
- data/lib/awful/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b14e6a539be6ccdb56556f5b511a82af7295ce31
|
4
|
+
data.tar.gz: c4bee06767aea50a5efed77e8b9a32997da929db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 917fa172ee3f044d15884fdb2eabcf8960d1ae0c9dd0ac803c46ff7746d5f4dfafa19b774e836370fa5f9b5401f7d03bbd3d5fb731074f1cd2f4130fe87990d1
|
7
|
+
data.tar.gz: 5ba47da606acb2aaf637897624c83e33a6ae3b8ac0d20eebdf24fe8cbf70881cbf04f904e5937e0dede8689b83ad0c869956dc999ae610282f8c62b6bda497e8
|
data/lib/awful/cloudformation.rb
CHANGED
@@ -149,8 +149,9 @@ module Awful
|
|
149
149
|
end
|
150
150
|
|
151
151
|
desc 'policy NAME [JSON]', 'get policy for stack NAME, or set from JSON file or stdin'
|
152
|
+
method_option :json, aliases: '-j', type: :string, default: nil, desc: 'Inline policy as json string'
|
152
153
|
def policy(name, file = nil)
|
153
|
-
policy = file_or_stdin(file)
|
154
|
+
policy = options[:json].nil? ? file_or_stdin(file) : options[:json]
|
154
155
|
if policy
|
155
156
|
cf.set_stack_policy(stack_name: name, stack_policy_body: policy)
|
156
157
|
else
|
data/lib/awful/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.73
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ric Lister
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|