grpc_kit 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/README.md +0 -2
- data/grpc_kit.gemspec +2 -2
- data/lib/grpc_kit/session/server_session.rb +7 -1
- data/lib/grpc_kit/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dad9e00f7b8c87f220a4c1c4f576e85567e14b2069c74df52c714c928db4d672
|
4
|
+
data.tar.gz: 54eaa519ea0fd92195b26aae853a17bf1bbdd53d8bb29a3e749627fa172eb666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70578d578f866b8f4e6a974a7fa0279bf80ed911e3abecf12ea3f699fe7bbc7c405159714caff7fb14df898c231b14354da3d1aa45a86d0e9e5806b1ccdf4298
|
7
|
+
data.tar.gz: afaa1d45665349cf62e5b75a334d7c15f98caba35f3579ca5a4320b4aa507a3b89c152295ebb954212552f8dc10445d211438e9a8a1393c48f23cca9e310b201
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -3,8 +3,6 @@
|
|
3
3
|
[![Build Status](https://travis-ci.org/ganmacs/grpc_kit.svg?branch=master)](https://travis-ci.org/ganmacs/grpc_kit)
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/grpc_kit.svg)](https://badge.fury.io/rb/grpc_kit)
|
5
5
|
|
6
|
-
__UNDER DEVELOPMENT__
|
7
|
-
|
8
6
|
A kit for creating [gRPC](https://grpc.io/) server/client in Ruby.
|
9
7
|
|
10
8
|
## Installation
|
data/grpc_kit.gemspec
CHANGED
@@ -22,8 +22,8 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
|
-
spec.add_dependency 'ds9', '>= 1.
|
26
|
-
spec.add_dependency 'google-protobuf', '>= 3.
|
25
|
+
spec.add_dependency 'ds9', '>= 1.4.0'
|
26
|
+
spec.add_dependency 'google-protobuf', '>= 3.7.0'
|
27
27
|
spec.add_dependency 'googleapis-common-protos-types', '>= 1.0.2'
|
28
28
|
|
29
29
|
spec.add_development_dependency 'bundler'
|
@@ -16,7 +16,13 @@ module GrpcKit
|
|
16
16
|
# @param io [GrpcKit::Session::IO]
|
17
17
|
# @param pool [GrpcKit::RcpDispatcher]
|
18
18
|
def initialize(io, dispatcher)
|
19
|
-
|
19
|
+
opt = DS9::Option.new.tap do |o|
|
20
|
+
# https://github.com/nghttp2/nghttp2/issues/810
|
21
|
+
# grpc_kit doesn't need to retain closed stream.
|
22
|
+
# This would derease the memory usage.
|
23
|
+
o.set_no_closed_streams
|
24
|
+
end
|
25
|
+
super(option: opt) # initialize DS9::Session
|
20
26
|
|
21
27
|
@io = io
|
22
28
|
@streams = {}
|
data/lib/grpc_kit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grpc_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuta Iwama
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ds9
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.4.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.4.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: google-protobuf
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.
|
33
|
+
version: 3.7.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.
|
40
|
+
version: 3.7.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: googleapis-common-protos-types
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|