protosum2 0.3.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gen/{feature → proto/feature}/feature_api_pb.rb +2 -3
- data/lib/gen/{feature → proto/feature}/feature_api_services_pb.rb +2 -2
- data/lib/gen/proto/post_pb.rb +22 -0
- data/lib/gen/proto/user_pb.rb +21 -0
- data/lib/protosum2/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bd6691184f5ad01296d615a3fea6686882013639c47b5836f8ee865adfea8ab
|
4
|
+
data.tar.gz: 45ab0af6fba815bb06dff0d15b813fedd3e4b6aa7f3ec53f06578def5d56f32b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 324df212e47ead1a31ac78f4c0132daef75a647bca1068c1ffc679d1a5f90d5e0c7656b82ff8e16287737969ad40223526338f4d5c901f14a948611f869662fb
|
7
|
+
data.tar.gz: 71405e008a8f4907d28f026d505a61853a9b2fa7b03bf49be73a47bb536562ce7b8fbe521afd67d8e8af67b2bf5bf2c88927b9251f50763f23d2d56cee11f4db
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: feature/feature_api.proto
|
2
|
+
# source: proto/feature/feature_api.proto
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_file("feature/feature_api.proto", :syntax => :proto3) do
|
7
|
+
add_file("proto/feature/feature_api.proto", :syntax => :proto3) do
|
8
8
|
add_message "feature.feature_api_pb.Point" do
|
9
9
|
optional :latitude, :int32, 1
|
10
|
-
optional :longitude, :int32, 2
|
11
10
|
end
|
12
11
|
add_message "feature.feature_api_pb.Feature" do
|
13
12
|
optional :code, :int32, 1
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: feature/feature_api.proto for package 'Protosum.Feature.FeatureApiPb'
|
2
|
+
# Source: proto/feature/feature_api.proto for package 'Protosum.Feature.FeatureApiPb'
|
3
3
|
|
4
4
|
require 'grpc'
|
5
|
-
require 'feature/feature_api_pb'
|
5
|
+
require 'proto/feature/feature_api_pb'
|
6
6
|
|
7
7
|
module Protosum
|
8
8
|
module Feature
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: proto/post.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("proto/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: proto/user.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("proto/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
|
data/lib/protosum2/version.rb
CHANGED
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.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- igsr5
|
@@ -25,10 +25,12 @@ 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
28
|
- lib/gen/gen.rb
|
31
29
|
- lib/gen/post_pb.rb
|
30
|
+
- lib/gen/proto/feature/feature_api_pb.rb
|
31
|
+
- lib/gen/proto/feature/feature_api_services_pb.rb
|
32
|
+
- lib/gen/proto/post_pb.rb
|
33
|
+
- lib/gen/proto/user_pb.rb
|
32
34
|
- lib/gen/user_pb.rb
|
33
35
|
- lib/protosum2.rb
|
34
36
|
- lib/protosum2/version.rb
|