fog 0.0.94 → 0.0.95
Sign up to get free protection for your applications and to get access to all the features.
- data/fog.gemspec +1 -1
- data/lib/fog.rb +1 -1
- data/lib/fog/aws/s3.rb +1 -1
- metadata +2 -2
data/fog.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
## If your rubyforge_project name is different, then edit it and comment out
|
8
8
|
## the sub! line in the Rakefile
|
9
9
|
s.name = 'fog'
|
10
|
-
s.version = '0.0.
|
10
|
+
s.version = '0.0.95'
|
11
11
|
s.date = '2010-05-13'
|
12
12
|
s.rubyforge_project = 'fog'
|
13
13
|
|
data/lib/fog.rb
CHANGED
data/lib/fog/aws/s3.rb
CHANGED
@@ -203,7 +203,7 @@ DATA
|
|
203
203
|
canonical_resource << "#{CGI.escape(subdomain).downcase}/"
|
204
204
|
end
|
205
205
|
canonical_resource << "#{params[:path]}"
|
206
|
-
if params[:query]
|
206
|
+
if params[:query] && !params[:query].empty?
|
207
207
|
canonical_resource << "?#{params[:query]}"
|
208
208
|
end
|
209
209
|
string_to_sign << "#{canonical_resource}"
|