protobuf 3.10.0.pre0 → 3.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +9 -0
- data/lib/protobuf/rpc/connectors/base.rb +8 -6
- data/lib/protobuf/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 278b7883f457cfa823f9c9d0d4330b1978086a0ad4d1b3e08cb479fbde256f15
|
4
|
+
data.tar.gz: d1e6232e9a9b1074d66f35c4790d5590f48775f5dec73fb2f15777f11b505ddf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce7aac680a1638e2dd848869ee2d002bc1c0554f9d37831843cbdfd18fff370377958e3f5ae8d72e610256e4e7bc83ff23bf3062fef05bb7985e9670d6855f01
|
7
|
+
data.tar.gz: caaae07d19d4299b3d216c803151ce2965604723ba6e5fa6cbcfb246c8ae1d2eefc0413be02d5d196b7189cf134cbe070d1be1ccb7d29bea1072074c22347b3a
|
data/CHANGES.md
CHANGED
@@ -139,12 +139,7 @@ module Protobuf
|
|
139
139
|
|
140
140
|
def request_bytes
|
141
141
|
validate_request_type!
|
142
|
-
|
143
|
-
:method_name => @options[:method].to_s,
|
144
|
-
:request_proto => @options[:request],
|
145
|
-
:caller => request_caller }
|
146
|
-
|
147
|
-
return ::Protobuf::Socketrpc::Request.encode(fields)
|
142
|
+
return ::Protobuf::Socketrpc::Request.encode(request_fields)
|
148
143
|
rescue => e
|
149
144
|
failure(:INVALID_REQUEST_PROTO, "Could not set request proto: #{e.message}")
|
150
145
|
end
|
@@ -153,6 +148,13 @@ module Protobuf
|
|
153
148
|
@options[:client_host] || ::Protobuf.client_host
|
154
149
|
end
|
155
150
|
|
151
|
+
def request_fields
|
152
|
+
{ :service_name => @options[:service].name,
|
153
|
+
:method_name => @options[:method].to_s,
|
154
|
+
:request_proto => @options[:request],
|
155
|
+
:caller => request_caller }
|
156
|
+
end
|
157
|
+
|
156
158
|
def send_request
|
157
159
|
fail 'If you inherit a Connector from Base you must implement send_request'
|
158
160
|
end
|
data/lib/protobuf/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.10.0
|
4
|
+
version: 3.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BJ Neilsen
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2019-
|
14
|
+
date: 2019-03-18 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
@@ -480,9 +480,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
480
480
|
version: '0'
|
481
481
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
482
482
|
requirements:
|
483
|
-
- - "
|
483
|
+
- - ">="
|
484
484
|
- !ruby/object:Gem::Version
|
485
|
-
version:
|
485
|
+
version: '0'
|
486
486
|
requirements: []
|
487
487
|
rubyforge_project:
|
488
488
|
rubygems_version: 2.7.6
|