ey_api_hmac 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ey_api_hmac/base_connection.rb +3 -1
- data/lib/ey_api_hmac/version.rb +1 -1
- metadata +5 -7
@@ -2,6 +2,8 @@ require 'rack/client'
|
|
2
2
|
require 'json'
|
3
3
|
require 'time'
|
4
4
|
|
5
|
+
puts "using the one in path!"
|
6
|
+
|
5
7
|
module EY
|
6
8
|
module ApiHMAC
|
7
9
|
class BaseConnection
|
@@ -13,7 +15,7 @@ module EY
|
|
13
15
|
@standard_headers = {
|
14
16
|
'CONTENT_TYPE' => 'application/json',
|
15
17
|
'Accept' => 'application/json',
|
16
|
-
'
|
18
|
+
'HTTP_DATE' => Time.now.httpdate,
|
17
19
|
'USER_AGENT' => user_agent || default_user_agent
|
18
20
|
}
|
19
21
|
end
|
data/lib/ey_api_hmac/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey_api_hmac
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Jacob Burkhart & Thorben Schr\xC3\xB6der & David Calavera & others"
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
19
|
-
default_executable:
|
18
|
+
date: 2011-08-17 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: rack-client
|
@@ -83,7 +82,6 @@ files:
|
|
83
82
|
- lib/ey_api_hmac/version.rb
|
84
83
|
- spec/api_auth_spec.rb
|
85
84
|
- spec/sso_spec.rb
|
86
|
-
has_rdoc: true
|
87
85
|
homepage: ""
|
88
86
|
licenses: []
|
89
87
|
|
@@ -113,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
111
|
requirements: []
|
114
112
|
|
115
113
|
rubyforge_project: ey_api_hmac
|
116
|
-
rubygems_version: 1.
|
114
|
+
rubygems_version: 1.8.8
|
117
115
|
signing_key:
|
118
116
|
specification_version: 3
|
119
117
|
summary: HMAC Rack basic implementation for Engine Yard services
|