protosum2 0.1.0 → 0.2.0

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
  SHA256:
3
- metadata.gz: fa893f5297f98b217eb476373d772b1b9e1c727e341abbb07831a41b402116bf
4
- data.tar.gz: 4c2330650baf66b32f4268cbc37b723bfdc38ea998a167d9f13798b9e5c918a5
3
+ metadata.gz: a69085f89b233aae7177c85e554fffe1aecc87325eddbd294b4ab930cecd6300
4
+ data.tar.gz: 9ac487e2e50e47b3e0e46cafad71ebbe295732ea84c6b1100aa7953680f133e8
5
5
  SHA512:
6
- metadata.gz: 0255d20048b3c6096817541a7c19159d800787b1e860b9ccb1000a12024b17483beef14aee0580ebcd86e9db9a68228242ff96e5580661aa603063f814821df7
7
- data.tar.gz: 952df8400449608817ccd5811a27bac6e0adbc40a93e40b08556cdd715b3c97edbe941bea3fab8b258c9afd3bff23106eac539f873a56ba6fd0a90076f730ff7
6
+ metadata.gz: 4e5a643a4f5ffe102d34e15a8f03802ee943dd3f61f332adf7bc0578c208f0cfc042b2b530658b1aaaae2b603f93b9e5535bbdfbfdcac91b636a31d19f1ec359
7
+ data.tar.gz: ba40c285597814ba895d3777db4da5f1d0aa978fa13d6b0217256dd27142f497098e8b564a2971716f86a46347b6b7b948006c13245caef3e54849c83e384491
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- protosum2 (0.1.0)
4
+ protosum2 (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -0,0 +1,25 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: feature/feature_api.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("feature/feature_api.proto", :syntax => :proto3) do
8
+ add_message "feature.feature_api_pb.Point" do
9
+ optional :latitude, :int32, 1
10
+ optional :longitude, :int32, 2
11
+ end
12
+ add_message "feature.feature_api_pb.Feature" do
13
+ optional :code, :int32, 1
14
+ end
15
+ end
16
+ end
17
+
18
+ module Protosum
19
+ module Feature
20
+ module FeatureApiPb
21
+ Point = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("feature.feature_api_pb.Point").msgclass
22
+ Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("feature.feature_api_pb.Feature").msgclass
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,26 @@
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
+ end
21
+
22
+ Stub = Service.rpc_stub_class
23
+ end
24
+ end
25
+ end
26
+ end
data/lib/gen/gen.rb ADDED
File without changes
@@ -0,0 +1,22 @@
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
+ optional :description, :string, 5
14
+ end
15
+ end
16
+ end
17
+
18
+ module Protosum
19
+ module PostPb
20
+ Post = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("postpb.Post").msgclass
21
+ end
22
+ end
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Protosum2
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protosum2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - igsr5
@@ -25,6 +25,11 @@ files:
25
25
  - Rakefile
26
26
  - bin/console
27
27
  - bin/setup
28
+ - lib/gen/feature/feature_api_pb.rb
29
+ - lib/gen/feature/feature_api_services_pb.rb
30
+ - lib/gen/gen.rb
31
+ - lib/gen/post_pb.rb
32
+ - lib/gen/user_pb.rb
28
33
  - lib/protosum2.rb
29
34
  - lib/protosum2/version.rb
30
35
  - protosum2.gemspec