protobuf-rspec 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protobuf/rspec/helpers.rb +5 -1
- data/lib/protobuf/rspec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c770cd65dbfff07d80e97e5331d83354fc1ad67f
|
4
|
+
data.tar.gz: 9f1cbc1b02381e12f5640a645cf84c0d87f5a9e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbf0f586a64c9cf7f0ac8a6883303d061f98f7e91f6b65eb531d5ccedeea7b580a42ab0e756b9ddc711486923f10fc8b27c6f971bd3a61b71dccaa65a3458748
|
7
|
+
data.tar.gz: 1cd1434211367cf5086306c74bc96770848827d738fd9e59ae863e2111813f8d4a42a1f0c9935766403393ce3a68bf05927a88a380627e5d703026ff9959d1b4
|
@@ -126,7 +126,11 @@ module Protobuf
|
|
126
126
|
yield(service) if block_given?
|
127
127
|
|
128
128
|
# Dispatch the RPC method invoking all of the filters
|
129
|
-
service.callable_rpc_method
|
129
|
+
if service.respond_to?(:callable_rpc_method)
|
130
|
+
service.callable_rpc_method(rpc_method).call
|
131
|
+
else
|
132
|
+
service.call(rpc_method)
|
133
|
+
end
|
130
134
|
service.response
|
131
135
|
end
|
132
136
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BJ Neilsen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-08-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: protobuf
|
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubyforge_project: protobuf-rspec
|
99
|
-
rubygems_version: 2.
|
99
|
+
rubygems_version: 2.5.1
|
100
100
|
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: Protobuf RSpec helpers for testing services and clients. Meant to be used
|