fog 0.0.94 → 0.0.95

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/fog.gemspec +1 -1
  2. data/lib/fog.rb +1 -1
  3. data/lib/fog/aws/s3.rb +1 -1
  4. metadata +2 -2
@@ -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.94'
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
@@ -35,7 +35,7 @@ require 'fog/vcloud'
35
35
  module Fog
36
36
 
37
37
  unless const_defined?(:VERSION)
38
- VERSION = '0.0.94'
38
+ VERSION = '0.0.95'
39
39
  end
40
40
 
41
41
  module Mock
@@ -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}"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 94
9
- version: 0.0.94
8
+ - 95
9
+ version: 0.0.95
10
10
  platform: ruby
11
11
  authors:
12
12
  - geemus (Wesley Beary)