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: c0e0b4ab8e7ebe14c7b3ac66223ac8249e457555
4
- data.tar.gz: 9de5e1b2b2cb788589612ffdb35b656c538bdda8
3
+ metadata.gz: 6881981ef0909be7b9068c7b807507a5a06ff9af
4
+ data.tar.gz: b4839cd37451314cc0f82049300ec3fe3a3899f1
5
5
  SHA512:
6
- metadata.gz: 72d31c8c4ccb84c8ed76bbe98db9e94dff8c2e39c412ebac07a305cb16d232c3c233faf070e09de23868ad7b8295bb77afbd30c2dc1220c96da9f4f551980e92
7
- data.tar.gz: 0b47e2a12d797d83d873c60ef4c0fe45b872a442b40343bc64e9a17ded073ac642e84e470277cf32d2dc465517270254a2beca32f459ae4149a4d6ae4776d371
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
- info { request_info(env) }
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)
@@ -1,5 +1,5 @@
1
1
  module Faraday
2
2
  module Conductivity
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
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.0
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-09-27 00:00:00.000000000 Z
11
+ date: 2013-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday