grpc_newrelic_interceptor 0.0.3 → 0.0.4

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: 7d86f9493f8018ce11e2e831892c0f1c20ffa3cddd4b1e12ee0e752885520fd3
4
- data.tar.gz: 2f1674ddcfb8f8633bed9e4811d39ee4c67dee774526ef4ca98130c730c5ddae
3
+ metadata.gz: 820920780c15ac250e005df4f36a86d87a4656fa9ad87f618751aa5578f09b1e
4
+ data.tar.gz: bee53bdee30743cf81eb1899ba5525e93c2a955ace2cc2fdcb714404a2a571fe
5
5
  SHA512:
6
- metadata.gz: e8b4b83801b2ceb06f1d9e0661c037e55a2bb137960314c8391a089f1a43440c68b9d625db3ea363638745dc72bb36384cdc5ca91e87777d6651e05c72b459b4
7
- data.tar.gz: c20549c3d2a352f883e57ad42c91c39ae56bad5b16123fe1aea9fe7097710096e52101039f3ddea73fefa1c9d6126c08de9f9500de7503de975d7766e686d7d6
6
+ metadata.gz: 485725f8f0b724627362b74902251c523dda7292ad135b164253d0db952f2150b3cea5aaabb7d4a0aff9fcff487426a90c4c0914fe2b5b570f1b903714b29ce6
7
+ data.tar.gz: e5ade875ecbf048e7393cdb89f2b89dcc253b22c9ae6a055db9e9731ce5067950d4f3baba7607881b81917d66b606e493164d622dc46a157164a77dcf3ab463e
@@ -0,0 +1,10 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ - package-ecosystem: github-actions
8
+ directory: "/"
9
+ schedule:
10
+ interval: daily
@@ -0,0 +1,28 @@
1
+ name: test
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ test:
7
+ runs-on: ubuntu-latest
8
+
9
+ strategy:
10
+ matrix:
11
+ ruby: ["2.5", "2.6", "2.7", "3.0"]
12
+ gemfile: ['Gemfile']
13
+ include:
14
+ - ruby: "3.0"
15
+ gemfile: "gemfiles/newrelic-6.gemfile"
16
+ - ruby: "3.0"
17
+ gemfile: "gemfiles/newrelic-7.gemfile"
18
+
19
+ env:
20
+ BUNDLE_GEMFILE: ${{ matrix.gemfile }}
21
+
22
+ steps:
23
+ - uses: actions/checkout@v2.3.5
24
+ - uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: ${{ matrix.ruby }}
27
+ - run: bundle install
28
+ - run: bundle exec rspec
data/.gitignore CHANGED
@@ -1,8 +1,57 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
4
  /coverage/
5
- /doc/
5
+ /InstalledFiles
6
6
  /pkg/
7
7
  /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
8
11
  /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ # Ignore Byebug command history file.
17
+ .byebug_history
18
+
19
+ ## Specific to RubyMotion:
20
+ .dat*
21
+ .repl_history
22
+ build/
23
+ *.bridgesupport
24
+ build-iPhoneOS/
25
+ build-iPhoneSimulator/
26
+
27
+ ## Specific to RubyMotion (use of CocoaPods):
28
+ #
29
+ # We recommend against adding the Pods directory to your .gitignore. However
30
+ # you should judge for yourself, the pros and cons are mentioned at:
31
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
32
+ #
33
+ # vendor/Pods/
34
+
35
+ ## Documentation cache and generated files:
36
+ /.yardoc/
37
+ /_yardoc/
38
+ /doc/
39
+ /rdoc/
40
+
41
+ ## Environment normalization:
42
+ /.bundle/
43
+ /vendor/bundle
44
+ /lib/bundler/man/
45
+
46
+ # for a library or gem, you might want to ignore these files since the code is
47
+ # intended to run in multiple environments; otherwise, check them in:
48
+ Gemfile.lock
49
+ *.gemfile.lock
50
+ .ruby-version
51
+ .ruby-gemset
52
+
53
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
54
+ .rvmrc
55
+
56
+ # Used by RuboCop. Remote config files pulled in from inherit_from directive.
57
+ # .rubocop-https?--*
data/CHANGELOG.md ADDED
@@ -0,0 +1,26 @@
1
+ ## 0.0.4
2
+
3
+ - Added
4
+ - Allow newrelic_rpm 7.x and 8.x https://github.com/wantedly/grpc_newrelic_interceptor/pull/11
5
+ - Misc
6
+ - Migrate to GitHub Actions https://github.com/wantedly/grpc_newrelic_interceptor/pull/10
7
+ - Set up dependabot https://github.com/wantedly/grpc_newrelic_interceptor/pull/12
8
+
9
+ ## 0.0.3
10
+
11
+ - Fixed
12
+ - Fix server interceptor with overridden methods https://github.com/wantedly/grpc_newrelic_interceptor/pull/8
13
+ - Misc
14
+ - Bump rake https://github.com/wantedly/grpc_newrelic_interceptor/pull/5
15
+
16
+ ## 0.0.2
17
+
18
+ - Added
19
+ - Add client interceptor https://github.com/wantedly/grpc_newrelic_interceptor/pull/1
20
+ - Misc
21
+ - Activate Travis CI https://github.com/wantedly/grpc_newrelic_interceptor/pull/2
22
+ - Update README https://github.com/wantedly/grpc_newrelic_interceptor/pull/3
23
+
24
+ ## 0.0.1
25
+
26
+ Initial release.
data/Gemfile CHANGED
@@ -2,3 +2,5 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in grpc_newrelic_interceptor.gemspec
4
4
  gemspec
5
+
6
+ gem "newrelic_rpm", "~> 8.0"
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in grpc_newrelic_interceptor.gemspec
4
+ gemspec path: ".."
5
+
6
+ gem "newrelic_rpm", "~> 6.0"
7
+
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in grpc_newrelic_interceptor.gemspec
4
+ gemspec path: ".."
5
+
6
+ gem "newrelic_rpm", "~> 7.0"
7
+
@@ -31,6 +31,6 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "pry"
32
32
  spec.add_development_dependency "pry-doc"
33
33
  spec.add_development_dependency "google-protobuf"
34
- spec.add_dependency "newrelic_rpm", "~> 6.0"
34
+ spec.add_dependency "newrelic_rpm", ">= 6.0", "< 9.0"
35
35
  spec.add_dependency "grpc"
36
36
  end
@@ -1,3 +1,3 @@
1
1
  module GrpcNewrelicInterceptor
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nao Minami
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-15 00:00:00.000000000 Z
11
+ date: 2021-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -98,16 +98,22 @@ dependencies:
98
98
  name: newrelic_rpm
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '6.0'
104
+ - - "<"
105
+ - !ruby/object:Gem::Version
106
+ version: '9.0'
104
107
  type: :runtime
105
108
  prerelease: false
106
109
  version_requirements: !ruby/object:Gem::Requirement
107
110
  requirements:
108
- - - "~>"
111
+ - - ">="
109
112
  - !ruby/object:Gem::Version
110
113
  version: '6.0'
114
+ - - "<"
115
+ - !ruby/object:Gem::Version
116
+ version: '9.0'
111
117
  - !ruby/object:Gem::Dependency
112
118
  name: grpc
113
119
  requirement: !ruby/object:Gem::Requirement
@@ -129,16 +135,19 @@ executables: []
129
135
  extensions: []
130
136
  extra_rdoc_files: []
131
137
  files:
138
+ - ".github/dependabot.yml"
139
+ - ".github/workflows/test.yml"
132
140
  - ".gitignore"
133
141
  - ".rspec"
134
- - ".travis.yml"
142
+ - CHANGELOG.md
135
143
  - Gemfile
136
- - Gemfile.lock
137
144
  - LICENSE.txt
138
145
  - README.md
139
146
  - Rakefile
140
147
  - bin/console
141
148
  - bin/setup
149
+ - gemfiles/newrelic-6.gemfile
150
+ - gemfiles/newrelic-7.gemfile
142
151
  - grpc_newrelic_interceptor.gemspec
143
152
  - lib/grpc_newrelic_interceptor.rb
144
153
  - lib/grpc_newrelic_interceptor/client_interceptor.rb
@@ -165,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
174
  - !ruby/object:Gem::Version
166
175
  version: '0'
167
176
  requirements: []
168
- rubygems_version: 3.0.3
177
+ rubygems_version: 3.2.22
169
178
  signing_key:
170
179
  specification_version: 4
171
180
  summary: An interceptor for using New Relic with gRPC.
data/.travis.yml DELETED
@@ -1,10 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6.2
7
- before_install:
8
- - gem install bundler -v 2.0.2
9
- script:
10
- - bundle exec rspec
data/Gemfile.lock DELETED
@@ -1,56 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- grpc_newrelic_interceptor (0.0.3)
5
- grpc
6
- newrelic_rpm (~> 6.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- coderay (1.1.2)
12
- diff-lcs (1.3)
13
- google-protobuf (3.11.3)
14
- googleapis-common-protos-types (1.0.5)
15
- google-protobuf (~> 3.11)
16
- grpc (1.28.0)
17
- google-protobuf (~> 3.11)
18
- googleapis-common-protos-types (~> 1.0)
19
- method_source (0.9.2)
20
- newrelic_rpm (6.14.0)
21
- pry (0.12.2)
22
- coderay (~> 1.1.0)
23
- method_source (~> 0.9.0)
24
- pry-doc (1.0.0)
25
- pry (~> 0.11)
26
- yard (~> 0.9.11)
27
- rake (13.0.1)
28
- rspec (3.9.0)
29
- rspec-core (~> 3.9.0)
30
- rspec-expectations (~> 3.9.0)
31
- rspec-mocks (~> 3.9.0)
32
- rspec-core (3.9.0)
33
- rspec-support (~> 3.9.0)
34
- rspec-expectations (3.9.0)
35
- diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.9.0)
37
- rspec-mocks (3.9.0)
38
- diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.9.0)
40
- rspec-support (3.9.0)
41
- yard (0.9.20)
42
-
43
- PLATFORMS
44
- ruby
45
-
46
- DEPENDENCIES
47
- bundler (~> 2.0)
48
- google-protobuf
49
- grpc_newrelic_interceptor!
50
- pry
51
- pry-doc
52
- rake (~> 13.0)
53
- rspec
54
-
55
- BUNDLED WITH
56
- 2.1.4