newrelic-sequel 0.0.2 → 0.0.3

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.
@@ -36,7 +36,9 @@ DependencyDetection.defer do
36
36
  end
37
37
 
38
38
  ::Sequel::Dataset.class_eval do
39
-
39
+
40
+ add_method_tracer :first, 'ActiveRecord/#{self.respond_to?(:model) ? self.model.name : "Dataset"}/first'
41
+ add_method_tracer :find_all, 'ActiveRecord/#{self.respond_to?(:model) ? self.model.name : "Dataset"}/find_all'
40
42
  add_method_tracer :execute, 'ActiveRecord/#{self.respond_to?(:model) ? self.model.name : "Dataset"}/find'
41
43
  add_method_tracer :execute_insert, 'ActiveRecord/#{self.respond_to?(:model) ? self.model.name : "Dataset"}/create'
42
44
  add_method_tracer :execute_dui, 'ActiveRecord/#{self.respond_to?(:model) ? self.model.name : "Dataset"}/update'
@@ -52,6 +54,7 @@ DependencyDetection.defer do
52
54
  add_method_tracer :execute_ddl, 'ActiveRecord/Database/all'
53
55
 
54
56
  end
57
+
55
58
  end
56
59
  end
57
60
 
@@ -1,3 +1,3 @@
1
1
  class NewRelicSequel
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "newrelic-sequel"
5
- s.version = "0.0.2"
5
+ s.version = "0.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["REA Group"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-sequel
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - REA Group