ec2ctl 0.7.6 → 0.7.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: ef20c7f1644eb97cc35e3d55f1aae7e368d03423
4
- data.tar.gz: b19989f470da8ac2d2fdd43606cecf54bd303668
3
+ metadata.gz: fa3d84d47e143af453d52a57006eea0081432caf
4
+ data.tar.gz: dfae70f0c1fe189affaa45b9bcea95ec96db42c3
5
5
  SHA512:
6
- metadata.gz: a9d63876e884810227e292d88d80d8258550f9bf1412b64585592b088dc9659a389b198972adac166682829b3d5f5d51725e4b4db066722e856bf649d1287d76
7
- data.tar.gz: ed7c9fd3b1ba62892b69b7021fda5eac29a713ed546993eb4e55375192a89d90d402fee64cd856fa0aa5e3ce63b7ddb9cadf9b1414f1aa243c3a62e0a664aff5
6
+ metadata.gz: e9515efc5b065b5d7cc0cc1a8bb1c9d71e99a07c370d7f4d435b58e2b620353311ddf5aaba57f119114803e782587b605ffc3b4fb30d5c3762e08b3319345452
7
+ data.tar.gz: bd1fd0091260e0540b5849e229a85e1267e6779e2663c2da3ced044b6c2381df79a073498b8ee9c6b8416e38f668bc8da97bc52c507e4224a3875af869ebd4a3
data/lib/ec2ctl/cli.rb CHANGED
@@ -91,7 +91,11 @@ module EC2Ctl
91
91
  end
92
92
 
93
93
  def set_client(options)
94
- @client = EC2Ctl::Client.new(profile: options.profile, region: options.region)
94
+ o = {}
95
+ o[:profile] = options.profile if options.profile
96
+ o[:region] = options.region if options.region
97
+
98
+ @client = EC2Ctl::Client.new(o)
95
99
  end
96
100
  end
97
101
  end
@@ -1,3 +1,3 @@
1
1
  module EC2Ctl
2
- VERSION = "0.7.6"
2
+ VERSION = "0.7.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ec2ctl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - y13i
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-11 00:00:00.000000000 Z
11
+ date: 2016-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander