newrelic-excon 0.2 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- if defined?(::Excon) and not NewRelic::Control.instance['disable_excon'] and not ENV['NEWRELIC_ENABLE'].to_s =~ /false|off|no/i
1
+ if defined?(::Excon) && !NewRelic::Agent.config[:disable_excon] && !(ENV['NEWRELIC_ENABLE'].to_s =~ /false|off|no/i)
2
2
  Excon::Connection.class_eval do
3
3
  def request_with_newrelic_trace(params, &block)
4
4
  metrics = ["External/#{params[:host]}/Excon::Connection/#{params[:method]}", "External/#{params[:host]}/all", "External/all"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-excon
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.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: 2012-10-23 00:00:00.000000000 Z
12
+ date: 2012-10-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: excon
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: '0'
37
+ version: '3.5'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: '0'
45
+ version: '3.5'
46
46
  description:
47
47
  email: andi@tickaroo.com
48
48
  executables: []
@@ -54,7 +54,7 @@ files:
54
54
  - LICENSE
55
55
  - lib/newrelic-excon/instrumentation.rb
56
56
  - lib/newrelic-excon.rb
57
- homepage: http://www.tickaroo.com
57
+ homepage: https://github.com/helle/newrelic-excon
58
58
  licenses:
59
59
  - MIT
60
60
  post_install_message: