trogdir_api_client 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trogdir_api_client/version.rb +1 -1
- data/lib/weary/middleware/hmac_auth.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0747e09a83eb19a6c7c818ac21025adca71c933
|
4
|
+
data.tar.gz: 005255b8ac892d56388e992b73029c821f662c6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0aec069dc45228f2bee88882cf1636931b0458225527822bd68ff6a31a204c7aed5e7748f92efc84d4a15e7d3cd2f877eae645a68b5c60c91208ad2bfe11318
|
7
|
+
data.tar.gz: 3b061e26275b6c2cb8e6c74564242448b6feacc9d4a955b2f164b67053571b302d3fe31939d2b853d5f0f60dde8e5e8a8ec1d039c636a646aec7b11c35a07d24
|
@@ -28,7 +28,7 @@ module Weary
|
|
28
28
|
# there's no difference in the headers when it's authenticated.
|
29
29
|
if ['POST', 'PUT'].include? e['REQUEST_METHOD']
|
30
30
|
e.update 'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
|
31
|
-
elsif e['REQUEST_METHOD'] == 'GET' && e['CONTENT_TYPE'].
|
31
|
+
elsif e['REQUEST_METHOD'] == 'GET' && e['CONTENT_TYPE'].to_s == ''
|
32
32
|
e.update 'CONTENT_TYPE' => 'text/plain'
|
33
33
|
end
|
34
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trogdir_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Crownoble
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: api-auth
|