protobuffy 3.4.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/protobuf/rpc/error/server_error.rb +6 -0
- data/lib/protobuf/rpc/rpc.pb.rb +1 -0
- data/lib/protobuf/rpc/servers/http/server.rb +1 -0
- data/lib/protobuf/version.rb +1 -1
- data/proto/rpc.proto +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6c1d5bfad6397559b237d7d382b86d38e52a5b4
|
4
|
+
data.tar.gz: 8f09b82dec50f954eaf072c6ce27440188f4ebd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87a1c33ee0c8f104fb3165458379f22994a2d82cdd0f81ddc15604992f74c3176361c449c56e267a68f8e018b3ab0abc9c603074fe96319c8205e7c36c7007f9
|
7
|
+
data.tar.gz: 7e1128579d172e3404f85442668e1090931110d0216bb4c2ae0f402031a4bcb81fabaa9ed47739d67d438b9ad29e2c23822b6b20ca87f761e5de52d817d38389
|
data/lib/protobuf/rpc/rpc.pb.rb
CHANGED
@@ -18,6 +18,7 @@ module Protobuf
|
|
18
18
|
Protobuf::Socketrpc::ErrorReason::FORBIDDEN_REQUEST => 403,
|
19
19
|
Protobuf::Socketrpc::ErrorReason::SERVICE_NOT_FOUND => 404,
|
20
20
|
Protobuf::Socketrpc::ErrorReason::METHOD_NOT_FOUND => 404,
|
21
|
+
Protobuf::Socketrpc::ErrorReason::DATA_NOT_FOUND => 404,
|
21
22
|
Protobuf::Socketrpc::ErrorReason::RPC_ERROR => 500,
|
22
23
|
Protobuf::Socketrpc::ErrorReason::RPC_FAILED => 500,
|
23
24
|
Protobuf::Socketrpc::ErrorReason::INVALID_REQUEST_PROTO => 500,
|
data/lib/protobuf/version.rb
CHANGED
data/proto/rpc.proto
CHANGED
@@ -55,6 +55,7 @@ enum ErrorReason
|
|
55
55
|
RPC_FAILED = 5; // Rpc failed on server
|
56
56
|
UNAUTHORIZED_REQUEST = 10; // Server received unauthorized request
|
57
57
|
FORBIDDEN_REQUEST = 11; // Server understood the request, but is refusing to fulfill it
|
58
|
+
DATA_NOT_FOUND = 12; // Requested data not found
|
58
59
|
|
59
60
|
// Client-side errors (these are returned by the client-side code)
|
60
61
|
INVALID_REQUEST_PROTO = 6; // Rpc was called with invalid request proto
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuffy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BJ Neilsen
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-06-
|
15
|
+
date: 2015-06-29 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: activesupport
|