grpc_mock 0.4.5 → 0.4.6

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: b2061779fc0f48faecd97933713277ba734d97c7d1581b0aee12899f54c1ec0c
4
- data.tar.gz: 78ef2ecb1199bb9e0dedddcfb2aa32ac6d3af6afedd8055396600174d008e17a
3
+ metadata.gz: 923aaec305faa3a4f0a093ec6eb4fed078177ed24ec159fbc8682ccff0cd41b6
4
+ data.tar.gz: 78f0e359f956ee325815460def53092eee7915aab443a11211fd1d72835371e6
5
5
  SHA512:
6
- metadata.gz: d50395ad65d30b8284628ed6a26d1234c99767a4bc8bee47452ae8c018a6e43aadcbf08cc9a04d130c92f3c5c749be53260c823b1238ae2977aca0f135869f8c
7
- data.tar.gz: 6d93f5de445f48b68128b4c0d4f01f287289fb2f63e882de12e2446500c7fe00682a6af858033e0aa3e531173b1dccae8b59527d2357a8950c8b5eba99ec0cfb
6
+ metadata.gz: a7112127ba8e8d8b139fcff5810ef8d84bf5fe3e57cc445bb662f5a31811814f66ccc485a5f28b79770f61e428914a587baf86026c15461a3fe56cb546b993ef
7
+ data.tar.gz: 93ef179f2f8eb0abc3210f5029aaf04e847ac8c8bcd643e4cab9d458a97f5989b745f2446ae292f2dec887a06d0cc3eeefeba9973b49a3f4f160a0fba0f8218b
@@ -12,9 +12,10 @@ jobs:
12
12
  strategy:
13
13
  matrix:
14
14
  ruby-version:
15
- - '2.5'
16
- - '2.6'
17
15
  - '2.7'
16
+ - '3.0'
17
+ - '3.1'
18
+ - '3.2'
18
19
  steps:
19
20
  - uses: actions/checkout@v2
20
21
  - uses: ruby/setup-ruby@v1
@@ -66,6 +66,7 @@ module GrpcMock
66
66
 
67
67
  mock = GrpcMock.stub_registry.response_for_request(method, request)
68
68
  if mock
69
+ call = GrpcMock::MockedCall.new(metadata: metadata)
69
70
  if return_op
70
71
  operation = call.operation
71
72
  operation.define_singleton_method(:execute) do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GrpcMock
4
- VERSION = '0.4.5'
4
+ VERSION = '0.4.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grpc_mock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuta Iwama
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2022-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  - !ruby/object:Gem::Version
169
169
  version: '0'
170
170
  requirements: []
171
- rubygems_version: 3.0.3
171
+ rubygems_version: 3.3.7
172
172
  signing_key:
173
173
  specification_version: 4
174
174
  summary: Library for stubbing grpc in Ruby