protosum2 0.1.0 → 0.4.0
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/Gemfile.lock +1 -1
 - data/lib/gen/feature/feature_api_pb.rb +25 -0
 - data/lib/gen/feature/feature_api_services_pb.rb +26 -0
 - data/lib/gen/gen.rb +0 -0
 - data/lib/gen/post_pb.rb +22 -0
 - data/lib/gen/proto/feature/feature_api_pb.rb +24 -0
 - data/lib/gen/proto/feature/feature_api_services_pb.rb +26 -0
 - data/lib/gen/proto/post_pb.rb +22 -0
 - data/lib/gen/proto/user_pb.rb +21 -0
 - data/lib/gen/user_pb.rb +21 -0
 - data/lib/protosum2/version.rb +1 -1
 - data/lib/protosum2.rb +2 -0
 - metadata +10 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 1ace629e648380590f4b0e327812f80858baa50b6a173d0735aafcf527f7a7e4
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: e07f7b044d4a0113cf2de0ff4e032c1a1a39072f45adf8637fa68a720da3ee8b
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: bd7f0a9fb7fc118aaab2d0fdcb5621067c0d1617e2a815239f436c0f2ba95dcaf1be8279c3d1256cf884352e92f3c3ce1cfeb311e83c4f1690b5a8f95d6093f9
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 3a4fcceeefa6f4f43afaedaf1bf3f78a77f1f563807e5fca8aff8f95e694c52684dcf4eff49c8d7575daea83fdb0c1d039a0cfcf3e5f36d76b268c4ee739ad13
         
     | 
    
        data/Gemfile.lock
    CHANGED
    
    
| 
         @@ -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
         
     | 
    
        data/lib/gen/post_pb.rb
    ADDED
    
    | 
         @@ -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,24 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
      
 2 
     | 
    
         
            +
            # source: proto/feature/feature_api.proto
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            require 'google/protobuf'
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            Google::Protobuf::DescriptorPool.generated_pool.build do
         
     | 
| 
      
 7 
     | 
    
         
            +
              add_file("proto/feature/feature_api.proto", :syntax => :proto3) do
         
     | 
| 
      
 8 
     | 
    
         
            +
                add_message "feature.feature_api_pb.Point" do
         
     | 
| 
      
 9 
     | 
    
         
            +
                  optional :latitude, :int32, 1
         
     | 
| 
      
 10 
     | 
    
         
            +
                end
         
     | 
| 
      
 11 
     | 
    
         
            +
                add_message "feature.feature_api_pb.Feature" do
         
     | 
| 
      
 12 
     | 
    
         
            +
                  optional :code, :int32, 1
         
     | 
| 
      
 13 
     | 
    
         
            +
                end
         
     | 
| 
      
 14 
     | 
    
         
            +
              end
         
     | 
| 
      
 15 
     | 
    
         
            +
            end
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            module Protosum
         
     | 
| 
      
 18 
     | 
    
         
            +
              module Feature
         
     | 
| 
      
 19 
     | 
    
         
            +
                module FeatureApiPb
         
     | 
| 
      
 20 
     | 
    
         
            +
                  Point = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("feature.feature_api_pb.Point").msgclass
         
     | 
| 
      
 21 
     | 
    
         
            +
                  Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("feature.feature_api_pb.Feature").msgclass
         
     | 
| 
      
 22 
     | 
    
         
            +
                end
         
     | 
| 
      
 23 
     | 
    
         
            +
              end
         
     | 
| 
      
 24 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,26 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Source: proto/feature/feature_api.proto for package 'Protosum.Feature.FeatureApiPb'
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            require 'grpc'
         
     | 
| 
      
 5 
     | 
    
         
            +
            require 'proto/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
         
     | 
| 
         @@ -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/gen/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
         
     | 
    
        data/lib/protosum2/version.rb
    CHANGED
    
    
    
        data/lib/protosum2.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.4.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - igsr5
         
     | 
| 
         @@ -25,6 +25,15 @@ 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/proto/feature/feature_api_pb.rb
         
     | 
| 
      
 33 
     | 
    
         
            +
            - lib/gen/proto/feature/feature_api_services_pb.rb
         
     | 
| 
      
 34 
     | 
    
         
            +
            - lib/gen/proto/post_pb.rb
         
     | 
| 
      
 35 
     | 
    
         
            +
            - lib/gen/proto/user_pb.rb
         
     | 
| 
      
 36 
     | 
    
         
            +
            - lib/gen/user_pb.rb
         
     | 
| 
       28 
37 
     | 
    
         
             
            - lib/protosum2.rb
         
     | 
| 
       29 
38 
     | 
    
         
             
            - lib/protosum2/version.rb
         
     | 
| 
       30 
39 
     | 
    
         
             
            - protosum2.gemspec
         
     |