hellogrpc 0.1.2 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hellogrpc.rb +1 -3
- metadata +11 -15
- data/LICENSE.txt +0 -21
- data/hellogrpc.gemspec +0 -35
- data/lib/hellogrpc/hellogrpc_pb.rb +0 -20
- data/lib/hellogrpc/hellogrpc_services.rb +0 -23
- data/lib/hellogrpc/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed50a9bb3f48beab4664f0011eec6989a2b0446785189a902472ec496edcdb26
|
4
|
+
data.tar.gz: 57f77247b790be4aacc224485332b10eee15f4f062608fceb1339d4cabfc06a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f1220be6dc1ae3a50864e239dce30964407d283b655625e7b21d5a5b4500fc8fd77a49a32dd7cd4b5f0745d7425414269764b12cd196daf1a823bdd8befd018
|
7
|
+
data.tar.gz: 1319cfeea25b9211ba63c82ab9a5e055802fc8cf878db9e83f5cb695fd3d3ae0d9e89264fdac8f9b9e393f3959dff2a18deb64cf20fe141e75fd538c4fec43dd
|
data/lib/hellogrpc.rb
CHANGED
@@ -3,7 +3,5 @@ require "hellogrpc/hellogrpc_pb"
|
|
3
3
|
require "hellogrpc/hellogrpc_services"
|
4
4
|
|
5
5
|
module Hellogrpc
|
6
|
-
|
7
|
-
Hellogrpc::Greeter::Stub.new('hello.rpc.stackmachine.com:443', GRPC::Core::ChannelCredentials.new(nil))
|
8
|
-
end
|
6
|
+
ADDRESS = 'hello.rpc.stackmachine.com:443'
|
9
7
|
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.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Conroy
|
@@ -14,22 +14,22 @@ dependencies:
|
|
14
14
|
name: grpc
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0.0
|
20
17
|
- - "~>"
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: '1.0'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - ">="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.0.0
|
30
27
|
- - "~>"
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: '1.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.0
|
33
33
|
description: Say Hi
|
34
34
|
email:
|
35
35
|
- kyle@conroy.org
|
@@ -37,18 +37,13 @@ executables: []
|
|
37
37
|
extensions: []
|
38
38
|
extra_rdoc_files: []
|
39
39
|
files:
|
40
|
-
- LICENSE.txt
|
41
|
-
- hellogrpc.gemspec
|
42
40
|
- lib/hellogrpc.rb
|
43
|
-
|
44
|
-
- lib/hellogrpc/hellogrpc_services.rb
|
45
|
-
- lib/hellogrpc/version.rb
|
46
|
-
homepage: https://rubygems.org/gems/hellogrpc
|
41
|
+
homepage: https://github.com/stackmachine/hellogrpc
|
47
42
|
licenses:
|
48
43
|
- MIT
|
49
44
|
metadata:
|
50
45
|
allowed_push_host: https://rubygems.org/
|
51
|
-
homepage_uri: https://
|
46
|
+
homepage_uri: https://github.com/stackmachine/hellogrpc
|
52
47
|
source_code_uri: https://github.com/stackmachine/hellogrpc-rb
|
53
48
|
post_install_message:
|
54
49
|
rdoc_options: []
|
@@ -65,7 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
60
|
- !ruby/object:Gem::Version
|
66
61
|
version: '0'
|
67
62
|
requirements: []
|
68
|
-
|
63
|
+
rubyforge_project:
|
64
|
+
rubygems_version: 2.7.6
|
69
65
|
signing_key:
|
70
66
|
specification_version: 4
|
71
67
|
summary: Say Hello
|
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2020 Kyle Conroy
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/hellogrpc.gemspec
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
lib = File.expand_path("../lib", __FILE__)
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require "hellogrpc/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "hellogrpc"
|
7
|
-
spec.version = Hellogrpc::VERSION
|
8
|
-
spec.authors = ["Kyle Conroy"]
|
9
|
-
spec.email = ["kyle@conroy.org"]
|
10
|
-
|
11
|
-
spec.summary = "Say Hello"
|
12
|
-
spec.description = "Say Hi"
|
13
|
-
spec.homepage = "https://rubygems.org/gems/hellogrpc"
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
17
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
18
|
-
if spec.respond_to?(:metadata)
|
19
|
-
spec.metadata["allowed_push_host"] = "https://rubygems.org/"
|
20
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
21
|
-
spec.metadata["source_code_uri"] = "https://github.com/stackmachine/hellogrpc-rb"
|
22
|
-
else
|
23
|
-
raise "RubyGems 2.0 or newer is required to protect against " \
|
24
|
-
"public gem pushes."
|
25
|
-
end
|
26
|
-
|
27
|
-
# Specify which files should be added to the gem when it is released.
|
28
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
29
|
-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
30
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
31
|
-
end
|
32
|
-
spec.require_paths = ["lib"]
|
33
|
-
|
34
|
-
spec.add_runtime_dependency 'grpc', '~> 1.0', '>= 1.0.0'
|
35
|
-
end
|
@@ -1,20 +0,0 @@
|
|
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
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: hellogrpc.proto for package 'hellogrpc'
|
3
|
-
|
4
|
-
require 'grpc'
|
5
|
-
|
6
|
-
module Hellogrpc
|
7
|
-
module Greeter
|
8
|
-
|
9
|
-
# TODO: add proto service documentation here
|
10
|
-
class Service
|
11
|
-
|
12
|
-
include GRPC::GenericService
|
13
|
-
|
14
|
-
self.marshal_class_method = :encode
|
15
|
-
self.unmarshal_class_method = :decode
|
16
|
-
self.service_name = 'hellogrpc.Greeter'
|
17
|
-
|
18
|
-
rpc :SayHello, HelloRequest, HelloReply
|
19
|
-
end
|
20
|
-
|
21
|
-
Stub = Service.rpc_stub_class
|
22
|
-
end
|
23
|
-
end
|
data/lib/hellogrpc/version.rb
DELETED