ey_api_hmac 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,8 @@ module EY
11
11
  end
12
12
  uri.query = params_to_string(parameters)
13
13
  signature = CGI.escape(signature_param(uri.to_s, auth_id, auth_key))
14
- uri.query += "&signature=#{signature}"
14
+ sig_param = uri.query.empty? ? "signature=#{signature}" : "&signature=#{signature}"
15
+ uri.query += sig_param
15
16
  uri.to_s
16
17
  end
17
18
 
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  module ApiHMAC
3
- VERSION = "0.4.8"
3
+ VERSION = "0.4.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ey_api_hmac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-11 00:00:00.000000000 Z
12
+ date: 2013-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack-client
@@ -130,3 +130,4 @@ test_files:
130
130
  - spec/authed_connection_spec.rb
131
131
  - spec/spec_helper.rb
132
132
  - spec/sso_spec.rb
133
+ has_rdoc: