awful 0.0.6 → 0.0.7

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: a489c3905456530f6bb1c8488efda13ad8855934
4
- data.tar.gz: 9955d6190e62661d9bef504d13f915f43a8567a1
3
+ metadata.gz: 3aad3b018c0688a9f25b0ebe9b229dcfbe37df39
4
+ data.tar.gz: 34c7320a6dfcc5cafc93d15654aeeaf346832505
5
5
  SHA512:
6
- metadata.gz: 19022988314be3f944afa42e4ed2e1e79a62d78301496dbe69be8534b45a182aba777053f72cb857f49ccc41e421dd4dc366e8ed16551a802bdd9889863571a5
7
- data.tar.gz: 6235726073e5515af5a66b19b41d34048aea162adb11923d2659c4f7ded1330aea43bb32c5ed3690d3fe9ecf72d5e0e92f0574e6c408813bdf394562d1cd44ba
6
+ metadata.gz: d7b19df16d6a9fbe6fcaa722e19278a21279277da6f7257c0ed2aa50eaba7d6162cf7cc8eba1efae5b6da7cd0c248dc331290e9b6987d6d5b409f48e149ee208
7
+ data.tar.gz: 455fed42422787be69d9ab1660c53137d27f9005fd3c7f0c768ee0279fbb9273fe13036145f7b14d971d472d1d7e22188d0e1c695b41556ba8a96c8ef2f12981
@@ -30,8 +30,8 @@ module Awful
30
30
  end.sort_by(&:created_time).first(num.to_i).map(&:launch_configuration_name).tap do |names|
31
31
  puts names
32
32
  if yes? 'delete these launch configs?', :yellow
33
- names.each do |name|
34
- autoscaling.delete_launch_configuration(launch_configuration_name: name)
33
+ names.each do |n|
34
+ autoscaling.delete_launch_configuration(launch_configuration_name: n)
35
35
  end
36
36
  end
37
37
  end
@@ -53,11 +53,11 @@ module Awful
53
53
  end
54
54
  end
55
55
 
56
- desc 'create [NAME]', 'create a new launch configuration'
56
+ desc 'create NAME [FILE]', 'create a new launch configuration'
57
57
  method_option :timestamp, aliases: '-t', default: false, desc: 'Add timestamp to launch config name'
58
58
  method_option :patch, aliases: '-p', default: false, desc: 'Add release to launch config name'
59
- def create(name)
60
- opt = load_cfg(options)
59
+ def create(name, file = nil)
60
+ opt = load_cfg(options, file)
61
61
 
62
62
  whitelist = %i[launch_configuration_name image_id key_name security_groups classic_link_vpc_id classic_link_vpc_security_groups user_data
63
63
  instance_id instance_type kernel_id ramdisk_id block_device_mappings instance_monitoring spot_price iam_instance_profile
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister