newrelic-hanami 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/newrelic-hanami/instrument.rb +2 -1
- data/lib/newrelic-hanami/version.rb +1 -1
- data/newrelic-hanami.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7df50207dccb1c3713a67548fbe40eeeedff3d0f2ab6f7a9a0e46799731df211
|
4
|
+
data.tar.gz: cdd73147b1dda5add3918f4d7660d1128ae5a7a2f78187873b080223eb7c7601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8844a4bdf3b04e36d4a8d12be71ad3dea787a9e18d80d736fc55ec5a5add681231d27c2453ba215a28bfeb0b7c7a37c401c4c57287edaa01b5fca2434fc3d44a
|
7
|
+
data.tar.gz: a79663d9e5b443db31cafc83491834abf85ad93d697b7c42a711a173026dd1c7579a96453577016e3540470147362537346951c78f4dd57a3c8e8931d546a424
|
@@ -8,6 +8,7 @@ module NewRelic
|
|
8
8
|
module Instrumentation
|
9
9
|
module Hanami
|
10
10
|
include ControllerInstrumentation
|
11
|
+
NAME_REGEX = /Controllers::/.freeze
|
11
12
|
|
12
13
|
protected
|
13
14
|
|
@@ -22,7 +23,7 @@ module NewRelic
|
|
22
23
|
def _trace_options
|
23
24
|
{
|
24
25
|
category: :controller,
|
25
|
-
|
26
|
+
name: self.class.name.sub(NAME_REGEX, ''),
|
26
27
|
request: request,
|
27
28
|
params: params.to_h
|
28
29
|
}
|
data/newrelic-hanami.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.require_paths = ['lib']
|
17
17
|
|
18
18
|
spec.add_runtime_dependency 'newrelic_rpm'
|
19
|
-
spec.add_runtime_dependency 'hanami-controller', '> 0.4.0',
|
19
|
+
spec.add_runtime_dependency 'hanami-controller', '> 0.4.0', "< 2"
|
20
20
|
|
21
21
|
spec.add_development_dependency 'rake', '~> 10.0'
|
22
22
|
spec.add_development_dependency 'rspec'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic-hanami
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuri Artemev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: newrelic_rpm
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: 0.4.0
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
36
|
+
version: '2'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: 0.4.0
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: '2'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.6
|
113
|
+
rubygems_version: 2.7.6
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Gem for connecting NewRelic and Hanami
|