aws 1.11.4 → 1.11.5

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.
@@ -53,7 +53,7 @@ module RightAws #:nodoc:
53
53
  module VERSION #:nodoc:
54
54
  MAJOR = 1
55
55
  MINOR = 11
56
- TINY = 4
56
+ TINY = 5
57
57
 
58
58
  STRING = [MAJOR, MINOR, TINY].join('.')
59
59
  end
@@ -663,7 +663,7 @@ module RightAws
663
663
  #
664
664
  def []=(attribute, values)
665
665
  attribute = attribute.to_s
666
- @attributes[attribute] = attribute == 'id' ? values.to_s : [*values].uniq
666
+ @attributes[attribute] = attribute == 'id' ? values.to_s : values.is_a?(Array) ? values.uniq : [values]
667
667
  end
668
668
 
669
669
  # Reload attributes from SDB. Replaces in-memory attributes.
@@ -905,7 +905,7 @@ module RightAws
905
905
  attrs = {}
906
906
  attributes.each do |attribute, values|
907
907
  attribute = attribute.to_s
908
- attrs[attribute] = attribute == 'id' ? values.to_s : [*values].uniq
908
+ attrs[attribute] = attribute == 'id' ? values.to_s : values.uniq
909
909
  attrs.delete(attribute) if values.blank?
910
910
  end
911
911
  attrs
@@ -30,8 +30,8 @@ module RightAws
30
30
  include RightAwsBaseInterface
31
31
 
32
32
  DEFAULT_HOST = 'sdb.amazonaws.com'
33
- DEFAULT_PORT = 80
34
- DEFAULT_PROTOCOL = 'http'
33
+ DEFAULT_PORT = 443
34
+ DEFAULT_PROTOCOL = 'https'
35
35
  API_VERSION = '2007-11-07'
36
36
  DEFAULT_NIL_REPRESENTATION = 'nil'
37
37
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.4
4
+ version: 1.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-21 00:00:00 -07:00
12
+ date: 2009-06-02 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency