vigilion 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vigilion/configuration.rb +3 -0
- data/lib/vigilion/http.rb +3 -1
- data/lib/vigilion/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: 0e286f397cfa04014ef19e5b927f172f075ad8d3
|
4
|
+
data.tar.gz: 5eade92209ebba43d76ed67d0fda0c4a5ee34f04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fbbe254b3d2a41a52d4a60e5a26790e898dd9d1ba712ba83b212444b46e498fda699dbde1f48dabf1b7d35798777be5872a794f4dc647c9350c0f9b91fd326e
|
7
|
+
data.tar.gz: cf2020f29c62410d7cdd3c0bca32c9ee7a5a53de85aa7cbd1d605e756e0102f5fa7bc0506bacae5bae5bbe5941c637f650e750eb807236a6dbcce18bec84cfda
|
data/lib/vigilion/http.rb
CHANGED
@@ -8,7 +8,9 @@ module Vigilion
|
|
8
8
|
c.request :multipart
|
9
9
|
c.request :json
|
10
10
|
c.response :json, content_type: /\bjson$/
|
11
|
-
|
11
|
+
if Configuration.debug
|
12
|
+
c.response :detailed_logger, Configuration.logger
|
13
|
+
end
|
12
14
|
c.adapter ::Faraday.default_adapter
|
13
15
|
c.headers = {
|
14
16
|
'X-Api-Key' => Configuration.access_key_id,
|
data/lib/vigilion/version.rb
CHANGED