faraday-conductivity 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6881981ef0909be7b9068c7b807507a5a06ff9af
|
4
|
+
data.tar.gz: b4839cd37451314cc0f82049300ec3fe3a3899f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0d512fbf02229c25e38d1d8306e3853d07a36ba5a095ed1df5470a31a9c87661a7116b842c49477316eadbc303232fe743d45d91329a60ebcb8081b15d7a4c4
|
7
|
+
data.tar.gz: 701bc930076a97d3dafe8cc11abc3a37a7f77441b3ba101d755cca1d1f85dc3eea5aac1802f6685689cc6a56cce4a97b632ee93a2d26f31af956696b720d75a8
|
@@ -17,7 +17,7 @@ module Faraday
|
|
17
17
|
|
18
18
|
def call(env)
|
19
19
|
start_time = Time.now
|
20
|
-
|
20
|
+
debug { request_info(env) }
|
21
21
|
debug { request_debug(env) }
|
22
22
|
@app.call(env).on_complete do
|
23
23
|
end_time = Time.now
|
@@ -34,7 +34,7 @@ module Faraday
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def response_info(env, response_time)
|
37
|
-
"Response from %s; Status: %d; Time: %.1fms" % [ env[:url], env[:status], (response_time * 1_000.0) ]
|
37
|
+
"Response from %s %s; Status: %d; Time: %.1fms" % [ env[:method].to_s.upcase, env[:url], env[:status], (response_time * 1_000.0) ]
|
38
38
|
end
|
39
39
|
|
40
40
|
def request_debug(env)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday-conductivity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iain
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|