awful 0.0.62 → 0.0.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/awful.rb +6 -0
  3. data/lib/awful/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f95833d42a45ebbe11943600ad47c0154f6d971d
4
- data.tar.gz: b155483d0719e88268210fbfed8d18770e3cc612
3
+ metadata.gz: 838579407d4f4d8373a3447e842a7c65ff05a6dc
4
+ data.tar.gz: 320d7466dae268b2e6555bf4f978d857a1f768c0
5
5
  SHA512:
6
- metadata.gz: 6f4a1db5f374f27bac8baf813c0748c4db2a913f3c6600047c943e8c20241164cbed0efdad9ba9460515a09108a49314fd6a337fdc4eb7ddefcd2d69d6bab358
7
- data.tar.gz: a594f7e829d45a30c788d2ba7c822183a983b02fa44a85b4a7d491bd7cb662cb43aa0a96095c1aa9441fe15cacca3ea7d5c94470464f1b31801af13a680d2948
6
+ metadata.gz: 27ffeba59bcc5a12d8e937893082c28630be89bad814db812ba5f494a326a1053b8e2418d3d18780e0dba794e24b6bfc4ca3d3ea9194c6ee8bf91a91eaef3aa0
7
+ data.tar.gz: 5709f47d2461e8d2b3f33f2e041ecf28441c1629befeb9b0c447159c58d7a1c8204ec9438598b3b611e770334732eab2039c38be637ab69520fe53430560b65c
@@ -10,6 +10,12 @@ module Awful
10
10
  class Cli < Thor
11
11
  class_option :env, aliases: '-e', default: nil, desc: 'Load environment variables from file'
12
12
  class_option :quiet, aliases: '-q', default: nil, desc: 'Quieten output'
13
+ class_option :region, default: nil, desc: 'Set region; can use AWS_REGION instead'
14
+
15
+ def initialize(args = [], local_options = {}, config = {})
16
+ super
17
+ ENV['AWS_REGION'] = options[:region] if options[:region] #cmdline override for region
18
+ end
13
19
 
14
20
  no_commands do
15
21
  def ec2
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = "0.0.62"
2
+ VERSION = "0.0.63"
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.62
4
+ version: 0.0.63
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister