ace-client-ext 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -2,6 +2,17 @@
2
2
  module AceClient
3
3
  module Niftycloud
4
4
  module Computing
5
+ def build_client(options={})
6
+ options = options.merge(
7
+ :before_signature => lambda {|params|
8
+ params['AccessKeyId'] = params.delete('AWSAccessKeyId')
9
+ }
10
+ )
11
+ client = AceClient::Query2.new(options)
12
+ client.extend(AceClient::Niftycloud::Computing)
13
+ client
14
+ end
15
+
5
16
  def instances
6
17
  response = self.action('DescribeInstances', {})
7
18
  begin
@@ -159,6 +170,8 @@ module AceClient
159
170
  delete_images
160
171
  delete_ssl_certificates
161
172
  end
173
+
174
+ module_function :build_client
162
175
  end
163
176
  end
164
177
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-client-ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-02 00:00:00.000000000 Z
12
+ date: 2014-11-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler