cluster 0.7.5 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -375,24 +375,25 @@ class Amazon < Infrastructure
375
375
 
376
376
  def sdb(o = nil)
377
377
  params = connection_params o
378
- params.delete :region
378
+ params.delete(:region) if params[:region] =~ /^us-east/
379
379
  @sdb ||= RightAws::SdbInterface.new(key, secret, params)
380
380
  end
381
381
 
382
382
  def connect_to_active_sdb(o = nil)
383
383
  params = connection_params o
384
- params.delete :region
384
+ params.delete(:region) if params[:region] =~ /^us-east/
385
385
  RightAws::ActiveSdb.establish_connection key, secret, params
386
386
  end
387
387
 
388
388
  def sss(o = nil)
389
389
  params = connection_params o
390
- params.delete :region
390
+ params.delete(:region) if params[:region] =~ /^us-east/
391
391
  @sqs ||= RightAws::S3.new(key, secret, params)
392
392
  end
393
393
 
394
394
  def sqs(o = nil)
395
395
  params = connection_params o
396
+ params.delete(:region) if params[:region] =~ /^us-east/
396
397
  @sqs ||= {}
397
398
  @sqs[params[:region]] ||= RightAws::SqsGen2.new(key, secret, params)
398
399
  end
@@ -5,7 +5,7 @@ class Cluster
5
5
 
6
6
  class << self
7
7
  def version
8
- '0.7.5'
8
+ '0.7.6'
9
9
  end
10
10
  end
11
11
  end
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.5
4
+ version: 0.7.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: