hubertlepicki-aws 1.11.32 → 1.11.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sdb/active_sdb.rb +5 -1
  2. metadata +2 -3
@@ -342,7 +342,11 @@ module RightAws
342
342
  # flatten ids
343
343
  args = args.to_a.flatten
344
344
  args.each { |id| cond << "id=#{self.connection.escape(id)}" }
345
- ids_cond = "(#{cond.join(' OR ')})"
345
+ if cond.size > 1
346
+ ids_cond = "(#{cond.join(' OR ')})"
347
+ else
348
+ ids_cond = cond.first
349
+ end
346
350
  # user defined :conditions to string (if it was defined)
347
351
  options[:conditions] = build_conditions(options[:conditions])
348
352
  # join ids condition and user defined conditions
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubertlepicki-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.32
4
+ version: 1.11.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
@@ -40,7 +40,6 @@ files:
40
40
  - README.markdown
41
41
  has_rdoc: false
42
42
  homepage: http://github.com/appoxy/aws/
43
- licenses:
44
43
  post_install_message:
45
44
  rdoc_options:
46
45
  - --charset=UTF-8
@@ -61,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
60
  requirements: []
62
61
 
63
62
  rubyforge_project:
64
- rubygems_version: 1.3.5
63
+ rubygems_version: 1.2.0
65
64
  signing_key:
66
65
  specification_version: 3
67
66
  summary: AWS Ruby Library for interfacing with Amazon Web Services.