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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed54bca3d35f17966628d977f41afa9db7ab39b1
4
- data.tar.gz: e3935fe7ef731fb2f087262b95e8fbbb5ef134d6
3
+ metadata.gz: c770cd65dbfff07d80e97e5331d83354fc1ad67f
4
+ data.tar.gz: 9f1cbc1b02381e12f5640a645cf84c0d87f5a9e1
5
5
  SHA512:
6
- metadata.gz: e2cd6a7cacf955302cf1a09b7f21117f63f09627727b1beeb4c7d94fe5ca0aed1c90497ae3baba11995bd7af34d8f379c0dc73eb44ef6d0438cfe6a6a962dec5
7
- data.tar.gz: 6ca483a4e5611ab5d6a76a918ce27acf335365d5dff72207dbc260de238a086882c66baa620c356783d4a22adb20bdd9aaf7c6874b8e0a12ca875eddf852aeb0
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(rpc_method).call
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
 
@@ -1,5 +1,5 @@
1
1
  module Protobuf
2
2
  module RSpec
3
- VERSION = "1.1.2"
3
+ VERSION = "1.1.3"
4
4
  end
5
5
  end
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.2
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: 2015-07-17 00:00:00.000000000 Z
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.4.8
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