cluster 0.7.8 → 0.7.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cluster/infrastructures/amazon.rb +11 -6
- data/lib/cluster/version.rb +1 -1
- metadata +2 -2
@@ -375,8 +375,10 @@ class Amazon < Infrastructure
|
|
375
375
|
|
376
376
|
def sdb(o = nil)
|
377
377
|
params = connection_params o
|
378
|
-
|
379
|
-
|
378
|
+
region = params[:region]
|
379
|
+
params.delete(:region) if region =~ /^us-east/
|
380
|
+
@sdb ||= {}
|
381
|
+
@sdb[region] ||= RightAws::SdbInterface.new(key, secret, params)
|
380
382
|
end
|
381
383
|
|
382
384
|
def connect_to_active_sdb(o = nil)
|
@@ -387,15 +389,18 @@ class Amazon < Infrastructure
|
|
387
389
|
|
388
390
|
def sss(o = nil)
|
389
391
|
params = connection_params o
|
390
|
-
|
391
|
-
|
392
|
+
region = params[:region]
|
393
|
+
params.delete(:region) if region =~ /^us-east/
|
394
|
+
@sss ||= {}
|
395
|
+
@sss[region] ||= RightAws::S3.new(key, secret, params)
|
392
396
|
end
|
393
397
|
|
394
398
|
def sqs(o = nil)
|
395
399
|
params = connection_params o
|
396
|
-
|
400
|
+
region = params[:region]
|
401
|
+
params.delete(:region) if region =~ /^us-east/
|
397
402
|
@sqs ||= {}
|
398
|
-
@sqs[
|
403
|
+
@sqs[region] ||= RightAws::SqsGen2.new(key, secret, params)
|
399
404
|
end
|
400
405
|
|
401
406
|
def elb(o = nil)
|
data/lib/cluster/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cluster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.9
|
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: 2013-02-
|
12
|
+
date: 2013-02-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: uuidtools
|