awful 0.0.10 → 0.0.11

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: 2eeb60b2be1a2adadd261542d168d8f50466fd59
4
- data.tar.gz: 465c2accff6e8f971c2e8440d1f14394ee94703d
3
+ metadata.gz: 64808f5ad8cd115aafd870f9dc89fd583b83cb8b
4
+ data.tar.gz: ba8ca53a1fb56bb13501de414fe57e389f3df0a4
5
5
  SHA512:
6
- metadata.gz: 879ebf772b7020f5a7e6e76849404db529374444933304a3e2f7116c308ea33cf6b6c144ab7e62911ca61df6c3fcb423accc5053a7312588d622914dcaa577ba
7
- data.tar.gz: f1ebce72e9fbd9b63be4f71335273d71a43e203d5d665b282e27c333667d114d485e2cc69df58f53d96bd2a6630b6e24aee8200e3f7c22b6399669a165d50b2f
6
+ metadata.gz: a90c817d1f6f7f9c18be681cae6942b543dda5e66772097934dc69e601fcb4c49353bccf8ebc88f7de5e8b902098f968d11ca71c09f85067b0ae7342cc91f208
7
+ data.tar.gz: c5070773d7307abb9657650b60825e6ab6da423eb7332d9e944215696343ea61b8799c222a267373a2b3f20dfa2c3c55354eaa80cd858694f06d2c9e776f1802
@@ -87,6 +87,10 @@ module Awful
87
87
  end
88
88
 
89
89
  desc 'create NAME [FILE]', 'create a new auto-scaling group'
90
+ method_option :desired_capacity, aliases: '-d', default: nil, desc: 'Set desired capacity'
91
+ method_option :min_size, aliases: '-m', default: nil, desc: 'Set minimum capacity'
92
+ method_option :max_size, aliases: '-M', default: nil, desc: 'Set maximum capacity'
93
+ method_option :launch_configuration_name, aliases: '-l', default: nil, desc: 'Launch config name'
90
94
  def create(name, file = nil)
91
95
  opt = load_cfg(options, file)
92
96
  whitelist = %i[auto_scaling_group_name launch_configuration_name instance_id min_size max_size desired_capacity default_cooldown availability_zones
data/lib/awful/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
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.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-09 00:00:00.000000000 Z
11
+ date: 2015-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.2.2
131
+ rubygems_version: 2.2.3
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: Simple AWS command-line tool.