appoxy-aws 1.11.32 → 1.11.34

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/awsbase/right_awsbase.rb +1 -1
  2. metadata +1 -1
@@ -41,7 +41,7 @@ module RightAws
41
41
  # Escape a string accordingly Amazon rulles
42
42
  # http://docs.amazonwebservices.com/AmazonSimpleDB/2007-11-07/DeveloperGuide/index.html?REST_RESTAuth.html
43
43
  def self.amz_escape(param)
44
- return CGI.escape(param).gsub("%7E", "~").gsub("+", "%20") # from: http://umlaut.rubyforge.org/svn/trunk/lib/aws_product_sign.rb
44
+ return CGI.escape(param.to_s).gsub("%7E", "~").gsub("+", "%20") # from: http://umlaut.rubyforge.org/svn/trunk/lib/aws_product_sign.rb
45
45
  #param.to_s.gsub(/([^a-zA-Z0-9._~-]+)/n) do
46
46
  # '%' + $1.unpack('H2' * $1.size).join('%').upcase
47
47
  #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.32
4
+ version: 1.11.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder