appoxy-aws 1.11.23 → 1.11.24

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 +4 -4
  2. metadata +1 -1
@@ -552,10 +552,10 @@ module RightAws
552
552
  order = options[:order] ? " ORDER BY #{options[:order]}" : ''
553
553
  limit = options[:limit] ? " LIMIT #{options[:limit]}" : ''
554
554
  # mix sort by argument (it must present in response)
555
- #unless order.blank?
556
- # sort_by, sort_order = sort_options(options[:order])
557
- # TR - this shouldn't be added anymore in new selectconditions << (conditions.blank? ? " WHERE " : " AND ") << "(#{sort_by} IS NOT NULL)"
558
- #end
555
+ unless order.blank?
556
+ sort_by, sort_order = sort_options(options[:order])
557
+ conditions << (conditions.blank? ? " WHERE " : " AND ") << "(#{sort_by} IS NOT NULL)"
558
+ end
559
559
  "SELECT #{select} FROM #{from}#{conditions}#{order}#{limit}"
560
560
  end
561
561
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appoxy-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.23
4
+ version: 1.11.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder