protosum2 0.9.14 → 0.9.17

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6aa5d1552adf619d95ffb5228e690f2d10c558d42ca7bae1643a9ba379187b65
4
- data.tar.gz: bac005760b94a6b5b7e9e8fa2d8f7973b887fd0a6a8afff0500095c8e0e4beca
3
+ metadata.gz: 7b826ce75f5e4f36c5378737bf83ef6f8d53b24cac0cef53c24bc2fff9d242d1
4
+ data.tar.gz: cfe2226818ec8b10a0ddaed8c4ad5edbeb088ad0ac3bf7f127884be5f455f3b9
5
5
  SHA512:
6
- metadata.gz: 97be02e5675f0adfacba7ee4583715ed00914d12a0c807863e9603b2ccb414959c559e94edc5edd6ecc739cb31bd0aa9ca7501963f49bf65bc4a6ab1b6e98c9e
7
- data.tar.gz: 5f304424a060fbd2f85a3740aa55a18382878f5b7a782d7be24c23808e92e292843f550b682c662b6d964657d27555eab5cada1b488936e6f52b5610d7e01162
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
@@ -3,6 +3,8 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'google/api/annotations_pb'
7
+
6
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
9
  add_file("proto/feature/feature_api.proto", :syntax => :proto3) do
8
10
  add_message "feature.feature_api_pb.Point" do
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Protosum2
4
- VERSION = "0.9.14"
4
+ VERSION = "0.9.17"
5
5
  end
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.14
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-03 00:00:00.000000000 Z
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: []