haile 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/haile/client.rb +2 -1
- data/lib/haile/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a549c283cb8c7592bbb69f8fbef1e29bbd68e50
|
4
|
+
data.tar.gz: 7a81d6ed4a85afa2cc761a8b58d9d00f08547adb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0820968c1d081d9fd48b31865d9237a325db419ca12b52f58d32500f82012b1c15c579eecba7baf8181077e8c1e24c71ab1bcf8252a4aa482090b433d75132c9
|
7
|
+
data.tar.gz: 99944e2e125bc9aed14e96a7ae96f81c3cddaf6ea0d22f7984e562bc352e83800f0c235c3510a289f0bf2fcbe190a03f4f70d58e06d49553e0bdfb571920660c
|
data/lib/haile/client.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'uri'
|
2
|
+
require 'multi_json'
|
2
3
|
|
3
4
|
module Haile
|
4
5
|
class Client
|
@@ -9,7 +10,7 @@ module Haile
|
|
9
10
|
'Accept' => 'application/json'
|
10
11
|
)
|
11
12
|
|
12
|
-
query_string_normalizer proc { |query| MultiJson.dump(query) }
|
13
|
+
query_string_normalizer proc { |query| ::MultiJson.dump(query) }
|
13
14
|
maintain_method_across_redirects
|
14
15
|
default_timeout 5
|
15
16
|
|
data/lib/haile/version.rb
CHANGED