protosum2 0.9.14 → 0.9.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/feature/feature_api_pb.rb +26 -0
- data/lib/feature/feature_api_services_pb.rb +27 -0
- data/lib/post_pb.rb +21 -0
- data/lib/proto/feature/feature_api_pb.rb +2 -0
- data/lib/proto/feature/feature_api_services_pb.rb +1 -0
- data/lib/protosum2/version.rb +1 -1
- data/lib/user_pb.rb +21 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b826ce75f5e4f36c5378737bf83ef6f8d53b24cac0cef53c24bc2fff9d242d1
|
4
|
+
data.tar.gz: cfe2226818ec8b10a0ddaed8c4ad5edbeb088ad0ac3bf7f127884be5f455f3b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd7bdefd6c48bde84b286901039b02d7c6e6f40b2b1725fd85e27999107eb957eff1d3e5c5bcdd463d352f2ea3ca498b99731013b7f463b8c0447cebff874949
|
7
|
+
data.tar.gz: cad519243d9b321072ba7fe788098bbbd89f031cacce057f6898b45369c569e2591c9ea3057e27ce91bf79a1e5c5bfddf5944b878dc31dd5656f96bb32473307
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: feature/feature_api.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("feature/feature_api.proto", :syntax => :proto3) do
|
10
|
+
add_message "feature.feature_api_pb.Point" do
|
11
|
+
optional :latitude, :int32, 1
|
12
|
+
end
|
13
|
+
add_message "feature.feature_api_pb.Feature" do
|
14
|
+
optional :code, :int32, 1
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
module Protosum
|
20
|
+
module Feature
|
21
|
+
module FeatureApiPb
|
22
|
+
Point = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("feature.feature_api_pb.Point").msgclass
|
23
|
+
Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("feature.feature_api_pb.Feature").msgclass
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: feature/feature_api.proto for package 'Protosum.Feature.FeatureApiPb'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'feature/feature_api_pb'
|
6
|
+
|
7
|
+
module Protosum
|
8
|
+
module Feature
|
9
|
+
module FeatureApiPb
|
10
|
+
module FeatureService
|
11
|
+
class Service
|
12
|
+
|
13
|
+
include ::GRPC::GenericService
|
14
|
+
|
15
|
+
self.marshal_class_method = :encode
|
16
|
+
self.unmarshal_class_method = :decode
|
17
|
+
self.service_name = 'feature.feature_api_pb.FeatureService'
|
18
|
+
|
19
|
+
rpc :GetFeature, ::Protosum::Feature::FeatureApiPb::Point, ::Protosum::Feature::FeatureApiPb::Feature
|
20
|
+
rpc :GetFeatures, ::Protosum::Feature::FeatureApiPb::Point, ::Protosum::Feature::FeatureApiPb::Feature
|
21
|
+
end
|
22
|
+
|
23
|
+
Stub = Service.rpc_stub_class
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/post_pb.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: post.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("post.proto", :syntax => :proto3) do
|
8
|
+
add_message "postpb.Post" do
|
9
|
+
optional :name, :string, 1
|
10
|
+
optional :type, :int64, 2
|
11
|
+
optional :user_name, :int64, 3
|
12
|
+
optional :title, :string, 4
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Protosum
|
18
|
+
module PostPb
|
19
|
+
Post = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("postpb.Post").msgclass
|
20
|
+
end
|
21
|
+
end
|
@@ -17,6 +17,7 @@ module Protosum
|
|
17
17
|
self.service_name = 'feature.feature_api_pb.FeatureService'
|
18
18
|
|
19
19
|
rpc :GetFeature, ::Protosum::Feature::FeatureApiPb::Point, ::Protosum::Feature::FeatureApiPb::Feature
|
20
|
+
rpc :GetFeatures, ::Protosum::Feature::FeatureApiPb::Point, ::Protosum::Feature::FeatureApiPb::Feature
|
20
21
|
end
|
21
22
|
|
22
23
|
Stub = Service.rpc_stub_class
|
data/lib/protosum2/version.rb
CHANGED
data/lib/user_pb.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: user.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("user.proto", :syntax => :proto3) do
|
8
|
+
add_message "userpb.User" do
|
9
|
+
optional :name, :string, 1
|
10
|
+
optional :email, :string, 2
|
11
|
+
optional :age, :int64, 3
|
12
|
+
optional :type, :int64, 4
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Protosum
|
18
|
+
module UserPb
|
19
|
+
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("userpb.User").msgclass
|
20
|
+
end
|
21
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protosum2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- igsr5
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Write a longer description or delete this line.
|
14
14
|
email:
|
@@ -24,12 +24,16 @@ files:
|
|
24
24
|
- Rakefile
|
25
25
|
- bin/console
|
26
26
|
- bin/setup
|
27
|
+
- lib/feature/feature_api_pb.rb
|
28
|
+
- lib/feature/feature_api_services_pb.rb
|
29
|
+
- lib/post_pb.rb
|
27
30
|
- lib/proto/feature/feature_api_pb.rb
|
28
31
|
- lib/proto/feature/feature_api_services_pb.rb
|
29
32
|
- lib/proto/post_pb.rb
|
30
33
|
- lib/proto/user_pb.rb
|
31
34
|
- lib/protosum2.rb
|
32
35
|
- lib/protosum2/version.rb
|
36
|
+
- lib/user_pb.rb
|
33
37
|
- sig/protosum2.rbs
|
34
38
|
homepage: https://github.com/igsr5/protosum
|
35
39
|
licenses: []
|