grpc_newrelic_interceptor 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52a1fa41d6cca5fe25fb6d01fec2e75323725efb6db4c49e1f14539dbcabe690
4
- data.tar.gz: fee4b6bc62c403fc9ade21cb0cfa8f280ec1feb6bbe3d0efb20481c2c52a200a
3
+ metadata.gz: 7d86f9493f8018ce11e2e831892c0f1c20ffa3cddd4b1e12ee0e752885520fd3
4
+ data.tar.gz: 2f1674ddcfb8f8633bed9e4811d39ee4c67dee774526ef4ca98130c730c5ddae
5
5
  SHA512:
6
- metadata.gz: 066d0af34fa9e33a40691169fb3684960f78829e421d6a40d3c12e683f232d274e18be4129d00a02331b3cd0b12a23c23a3b25e3a04490be28959c9a1fb17abf
7
- data.tar.gz: 49ba61cd669e60da4b90201fab0f409d66d15ed50ab5c20fc178b6577608ce9918da0f927fb1ed08fae254e720aa198a2c2f70f71516091d6d6b5e1357fa2865
6
+ metadata.gz: e8b4b83801b2ceb06f1d9e0661c037e55a2bb137960314c8391a089f1a43440c68b9d625db3ea363638745dc72bb36384cdc5ca91e87777d6651e05c72b459b4
7
+ data.tar.gz: c20549c3d2a352f883e57ad42c91c39ae56bad5b16123fe1aea9fe7097710096e52101039f3ddea73fefa1c9d6126c08de9f9500de7503de975d7766e686d7d6
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grpc_newrelic_interceptor (0.0.2)
4
+ grpc_newrelic_interceptor (0.0.3)
5
5
  grpc
6
6
  newrelic_rpm (~> 6.0)
7
7
 
@@ -11,20 +11,20 @@ GEM
11
11
  coderay (1.1.2)
12
12
  diff-lcs (1.3)
13
13
  google-protobuf (3.11.3)
14
- googleapis-common-protos-types (1.0.4)
15
- google-protobuf (~> 3.0)
16
- grpc (1.27.0)
14
+ googleapis-common-protos-types (1.0.5)
15
+ google-protobuf (~> 3.11)
16
+ grpc (1.28.0)
17
17
  google-protobuf (~> 3.11)
18
18
  googleapis-common-protos-types (~> 1.0)
19
19
  method_source (0.9.2)
20
- newrelic_rpm (6.8.0.360)
20
+ newrelic_rpm (6.14.0)
21
21
  pry (0.12.2)
22
22
  coderay (~> 1.1.0)
23
23
  method_source (~> 0.9.0)
24
24
  pry-doc (1.0.0)
25
25
  pry (~> 0.11)
26
26
  yard (~> 0.9.11)
27
- rake (10.5.0)
27
+ rake (13.0.1)
28
28
  rspec (3.9.0)
29
29
  rspec-core (~> 3.9.0)
30
30
  rspec-expectations (~> 3.9.0)
@@ -49,8 +49,8 @@ DEPENDENCIES
49
49
  grpc_newrelic_interceptor!
50
50
  pry
51
51
  pry-doc
52
- rake (~> 10.0)
52
+ rake (~> 13.0)
53
53
  rspec
54
54
 
55
55
  BUNDLED WITH
56
- 2.0.2
56
+ 2.1.4
data/README.md CHANGED
@@ -57,7 +57,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
57
57
 
58
58
  ## Contributing
59
59
 
60
- Bug reports and pull requests are welcome on GitHub at https://github.com/south37/grpc_newrelic_interceptor.
60
+ Bug reports and pull requests are welcome on GitHub at https://github.com/wantedly/grpc_newrelic_interceptor.
61
61
 
62
62
  ## License
63
63
 
@@ -10,11 +10,11 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = %q{An interceptor for using New Relic with gRPC.}
12
12
  spec.description = %q{An interceptor for using New Relic with gRPC.}
13
- spec.homepage = "https://github.com/south37/grpc_newrelic_interceptor"
13
+ spec.homepage = "https://github.com/wantedly/grpc_newrelic_interceptor"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.metadata["homepage_uri"] = spec.homepage
17
- spec.metadata["source_code_uri"] = "https://github.com/south37/grpc_newrelic_interceptor"
17
+ spec.metadata["source_code_uri"] = "https://github.com/wantedly/grpc_newrelic_interceptor"
18
18
 
19
19
  # Specify which files should be added to the gem when it is released.
20
20
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.require_paths = ["lib"]
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 2.0"
29
- spec.add_development_dependency "rake", "~> 10.0"
29
+ spec.add_development_dependency "rake", "~> 13.0"
30
30
  spec.add_development_dependency "rspec"
31
31
  spec.add_development_dependency "pry"
32
32
  spec.add_development_dependency "pry-doc"
@@ -49,13 +49,13 @@ module GrpcNewrelicInterceptor
49
49
  # @param [Method] method
50
50
  # @return [String]
51
51
  def get_service_name(method)
52
- method.owner.service_name
52
+ method.receiver.class.service_name
53
53
  end
54
54
 
55
55
  # @param [Method] method
56
56
  # @return [String]
57
57
  def get_partial_name(method)
58
- "#{method.owner.name}/#{method.name}"
58
+ "#{method.receiver.class.name}/#{method.name}"
59
59
  end
60
60
 
61
61
  # @param [Method] method
@@ -1,3 +1,3 @@
1
1
  module GrpcNewrelicInterceptor
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grpc_newrelic_interceptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nao Minami
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-10 00:00:00.000000000 Z
11
+ date: 2020-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -144,13 +144,13 @@ files:
144
144
  - lib/grpc_newrelic_interceptor/client_interceptor.rb
145
145
  - lib/grpc_newrelic_interceptor/server_interceptor.rb
146
146
  - lib/grpc_newrelic_interceptor/version.rb
147
- homepage: https://github.com/south37/grpc_newrelic_interceptor
147
+ homepage: https://github.com/wantedly/grpc_newrelic_interceptor
148
148
  licenses:
149
149
  - MIT
150
150
  metadata:
151
- homepage_uri: https://github.com/south37/grpc_newrelic_interceptor
152
- source_code_uri: https://github.com/south37/grpc_newrelic_interceptor
153
- post_install_message:
151
+ homepage_uri: https://github.com/wantedly/grpc_newrelic_interceptor
152
+ source_code_uri: https://github.com/wantedly/grpc_newrelic_interceptor
153
+ post_install_message:
154
154
  rdoc_options: []
155
155
  require_paths:
156
156
  - lib
@@ -165,8 +165,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  requirements: []
168
- rubygems_version: 3.0.6
169
- signing_key:
168
+ rubygems_version: 3.0.3
169
+ signing_key:
170
170
  specification_version: 4
171
171
  summary: An interceptor for using New Relic with gRPC.
172
172
  test_files: []