faraday-conductivity 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,11 +30,11 @@ module Faraday
30
30
  private
31
31
 
32
32
  def request_info(env)
33
- "Started #{env[:method].to_s.upcase} request to: #{env[:url]}"
33
+ "Started %s request to: %s" % [ env[:method].to_s.upcase, env[:url] ]
34
34
  end
35
35
 
36
36
  def response_info(env, response_time)
37
- "Response from #{env[:url]}; Status: #{env[:status]}; Time: %.1fms" % (response_time * 1_000.0)
37
+ "Response from %s; Status: %d; Time: %.1fms" % [ 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.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday-conductivity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-21 00:00:00.000000000 Z
12
+ date: 2013-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday