rpm_contrib 2.1.9 → 2.1.10

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ * Version 2.1.10
2
+ - Removed Workling instrumentation in favor of https://github.com/aurorafeint/newrelic-workling
3
+
1
4
  * Version 2.1.9
2
5
  - Removed riak-client and ripple instrumentation in favor of
3
6
  https://github.com/alinpopa/newrelic-riak
data/README.md CHANGED
@@ -36,10 +36,16 @@ https://github.com/Viximo/newrelic-faraday
36
36
 
37
37
  #### Riak-Client and Ripple
38
38
 
39
- Riak client and ripple instrumenatation are available at:
39
+ Riak client and ripple instrumentation are available at:
40
40
 
41
41
  https://github.com/alinpopa/newrelic-riak
42
42
 
43
+ #### Workling
44
+
45
+ Workling instrumenatation can be found at:
46
+
47
+ https://github.com/aurorafeint/newrelic-workling
48
+
43
49
 
44
50
  ## Getting Started
45
51
 
@@ -190,12 +196,6 @@ This adds basic instrumentation to the `run` and `results` method of Ultrasphinx
190
196
 
191
197
  You can disable it with `disable_ultrasphinx` in your newrelic.yml file.
192
198
 
193
- ### Workling
194
-
195
- This adds instrumentation to the Workling::Base and all children, for all defined public methods not inherited from the Workling::Base class
196
-
197
- You can disable it with `disable_workling` in your newrelic.yml file.
198
-
199
199
  ### YAJL
200
200
 
201
201
  This adds instrumentation to the YAJL json parser
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpm_contrib
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.9
4
+ version: 2.1.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-05-04 00:00:00.000000000Z
13
+ date: 2012-05-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: newrelic_rpm
17
- requirement: &70323273326060 !ruby/object:Gem::Requirement
17
+ requirement: &70210346727380 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.1.1
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70323273326060
25
+ version_requirements: *70210346727380
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: newrelic_rpm
28
- requirement: &70323273325580 !ruby/object:Gem::Requirement
28
+ requirement: &70210346726420 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 3.1.1
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70323273325580
36
+ version_requirements: *70210346726420
37
37
  description: ! 'Community contributed instrumentation for various frameworks based
38
38
  on
39
39
 
@@ -76,7 +76,6 @@ files:
76
76
  - lib/rpm_contrib/instrumentation/thinking_sphinx.rb
77
77
  - lib/rpm_contrib/instrumentation/typhoeus.rb
78
78
  - lib/rpm_contrib/instrumentation/ultrasphinx.rb
79
- - lib/rpm_contrib/instrumentation/workling.rb
80
79
  - lib/rpm_contrib/instrumentation/yajl.rb
81
80
  - lib/rpm_contrib/language_support.rb
82
81
  - lib/rpm_contrib/samplers.rb
@@ -85,7 +84,6 @@ files:
85
84
  - test/test_curb.rb
86
85
  - test/test_picky.rb
87
86
  - test/test_resque.rb
88
- - test/test_workling.rb
89
87
  homepage: http://github.com/newrelic/rpm_contrib
90
88
  licenses: []
91
89
  post_install_message:
@@ -1,27 +0,0 @@
1
- # Workling instrumentation contributed by Chad Ingram of Aurora Feint
2
- #
3
- DependencyDetection.defer do
4
- @name = :workling
5
-
6
- depends_on do
7
- defined?(::Workling) and not ::NewRelic::Control.instance['disable_workling']
8
- end
9
-
10
- executes do
11
- NewRelic::Agent.logger.debug 'Installing Workling instrumentation'
12
- end
13
-
14
- executes do
15
- ::Workling::Base.class_eval do
16
- include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation
17
- end
18
-
19
- ::Workling::Discovery.discovered.each do |clazz|
20
- (clazz.public_instance_methods - ::Workling::Base.public_instance_methods).each do |method|
21
- puts "added method tracer Workling/#{clazz.name}/#{method}"
22
- clazz.send(:add_method_tracer, method, "Workling/#{clazz.name}/#{method}", :category => :task)
23
- end
24
- end
25
- end
26
-
27
- end
@@ -1,34 +0,0 @@
1
- require "#{File.dirname(__FILE__)}/helper"
2
- begin
3
- require 'redis'
4
- require 'ruby-debug'
5
- rescue LoadError
6
- end
7
-
8
- require "#{File.dirname(__FILE__)}/../lib/rpm_contrib/instrumentation/workling"
9
-
10
- if defined?(::Workling)
11
-
12
-
13
- class WorklingTest < Test::Unit::TestCase
14
-
15
- # Called before every test method runs. Can be used
16
- # to set up fixture information.
17
- def setup
18
- # Do nothing
19
- end
20
-
21
- # Called after every test method runs. Can be used to tear
22
- # down fixture information.
23
-
24
- def teardown
25
- # Do nothing
26
- end
27
-
28
- # Fake test
29
- def test_fail
30
-
31
-
32
- end
33
- end
34
- end