hellogrpc 0.1.5 → 0.1.6

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: ed50a9bb3f48beab4664f0011eec6989a2b0446785189a902472ec496edcdb26
4
- data.tar.gz: 57f77247b790be4aacc224485332b10eee15f4f062608fceb1339d4cabfc06a4
3
+ metadata.gz: ccb43cd4182a00c41ea40c17a3e0a6eb92b49d7227e09119c95a0e7dd26eadb8
4
+ data.tar.gz: c664f9f2bda338a08da65c9204d12a7c0ccb82d6d838209426a5ecfbe57f1723
5
5
  SHA512:
6
- metadata.gz: 1f1220be6dc1ae3a50864e239dce30964407d283b655625e7b21d5a5b4500fc8fd77a49a32dd7cd4b5f0745d7425414269764b12cd196daf1a823bdd8befd018
7
- data.tar.gz: 1319cfeea25b9211ba63c82ab9a5e055802fc8cf878db9e83f5cb695fd3d3ae0d9e89264fdac8f9b9e393f3959dff2a18deb64cf20fe141e75fd538c4fec43dd
6
+ metadata.gz: bb489344a086ac67f3bbe9343bfc85c23c584c9e035731c1fc200dbc28b0681183e0916bf356c6c1fb14c2cd3ed7634bc14314a3bf8cc6e7a406865565f4262e
7
+ data.tar.gz: 35121086c01f55c2fba82ae5479405f2d748373fe6269c8317097df55061748b6d120c4635a7875f0c8df19ed4f9970316e286d3f2f527942fc7c97638e02966
@@ -0,0 +1,20 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: hellogrpc.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("hellogrpc.proto", :syntax => :proto3) do
8
+ add_message "hellogrpc.HelloRequest" do
9
+ optional :name, :string, 1
10
+ end
11
+ add_message "hellogrpc.HelloReply" do
12
+ optional :message, :string, 1
13
+ end
14
+ end
15
+ end
16
+
17
+ module Hellogrpc
18
+ HelloRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hellogrpc.HelloRequest").msgclass
19
+ HelloReply = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("hellogrpc.HelloReply").msgclass
20
+ end
@@ -0,0 +1,38 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: hellogrpc.proto for package 'hellogrpc'
3
+ # Original file comments:
4
+ # Copyright 2015 gRPC authors.
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+
21
+ module Hellogrpc
22
+ module Greeter
23
+ # The greeting service definition.
24
+ class Service
25
+
26
+ include GRPC::GenericService
27
+
28
+ self.marshal_class_method = :encode
29
+ self.unmarshal_class_method = :decode
30
+ self.service_name = 'hellogrpc.Greeter'
31
+
32
+ # Sends a greeting
33
+ rpc :SayHello, HelloRequest, HelloReply
34
+ end
35
+
36
+ Stub = Service.rpc_stub_class
37
+ end
38
+ end
@@ -0,0 +1,3 @@
1
+ module Hellogrpc
2
+ VERSION = "0.1.6"
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hellogrpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Conroy
@@ -38,6 +38,9 @@ extensions: []
38
38
  extra_rdoc_files: []
39
39
  files:
40
40
  - lib/hellogrpc.rb
41
+ - lib/hellogrpc/hellogrpc_pb.rb
42
+ - lib/hellogrpc/hellogrpc_services_pb.rb
43
+ - lib/hellogrpc/version.rb
41
44
  homepage: https://github.com/stackmachine/hellogrpc
42
45
  licenses:
43
46
  - MIT