appoxy-aws 1.11.27 → 1.11.28

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.
Files changed (2) hide show
  1. data/lib/sdb/right_sdb_interface.rb +5 -2
  2. metadata +1 -1
@@ -206,12 +206,15 @@ module RightAws
206
206
  #
207
207
  def query_expression_from_array(params) #:nodoc:
208
208
  return '' if params.blank?
209
- query = params.shift.to_s
209
+ query = params[0].to_s
210
+ i = 1
210
211
  query.gsub(/(\\)?(\?)/) do
211
212
  if $1 # if escaped '\?' is found - replace it by '?' without backslash
212
213
  "?"
213
214
  else # well, if no backslash precedes '?' then replace it by next param from the list
214
- escape(params.shift)
215
+ ret = escape(params[i])
216
+ i+=1
217
+ ret
215
218
  end
216
219
  end
217
220
  end
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.27
4
+ version: 1.11.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder