newrelic-faraday 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- if defined?(::Faraday) and not NewRelic::Control.instance['disable_faraday']
1
+ if defined?(::Faraday) and not NewRelic::Control.instance['disable_faraday'] and not ENV['NEWRELIC_ENABLE'].to_s =~ /false|off|no/i
2
2
  Faraday::Connection.class_eval do
3
3
  def run_request_with_newrelic_trace(method, url, params, headers, &block)
4
4
  newrelic_host = parse_host_for_newrelic url
@@ -2,7 +2,7 @@ module NewrelicFaraday
2
2
  module VERSION
3
3
  MAJOR = '0'
4
4
  MINOR = '6'
5
- PATCH = '1'
5
+ PATCH = '2'
6
6
  STRING = [MAJOR, MINOR, PATCH].join('.')
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-faraday
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 1
10
- version: 0.6.1
9
+ - 2
10
+ version: 0.6.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Abbott