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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8fa450f3e7d2485f61e54edcbe6e664e63c5f4159c2f8c594600fa333a0eea0
4
- data.tar.gz: 5bd5154135572f48b683683aad531631f346562efd4841abfbf1ad0b3e3f4f5f
3
+ metadata.gz: dad9e00f7b8c87f220a4c1c4f576e85567e14b2069c74df52c714c928db4d672
4
+ data.tar.gz: 54eaa519ea0fd92195b26aae853a17bf1bbdd53d8bb29a3e749627fa172eb666
5
5
  SHA512:
6
- metadata.gz: cdd2a48377437970948468ac4ac9035dede0e79d8df6911416a44589d1e416b3470ac1b785784d8d37c80c89a0539859c736cbbf5952408b938fee9562543076
7
- data.tar.gz: 1d6b13647c1f0ec44cfd0828b5c88b7d42375378654f27b35702f9ab6c90ce3e06c3ee9747eee3884b90dfdd6af957f0c5820dfa38a7cdf206a5d37e49f78649
6
+ metadata.gz: 70578d578f866b8f4e6a974a7fa0279bf80ed911e3abecf12ea3f699fe7bbc7c405159714caff7fb14df898c231b14354da3d1aa45a86d0e9e5806b1ccdf4298
7
+ data.tar.gz: afaa1d45665349cf62e5b75a334d7c15f98caba35f3579ca5a4320b4aa507a3b89c152295ebb954212552f8dc10445d211438e9a8a1393c48f23cca9e310b201
@@ -4,6 +4,7 @@ cache:
4
4
  dist: trusty
5
5
  rvm:
6
6
  - ruby-head
7
+ - 2.6.1
7
8
  - 2.5.3
8
9
  - 2.4.5
9
10
  before_install:
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
@@ -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.3.3'
26
- spec.add_dependency 'google-protobuf', '>= 3.6.1'
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
- super() # initialize DS9::Session
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 = {}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GrpcKit
4
- VERSION = '0.3.6'
4
+ VERSION = '0.3.7'
5
5
  end
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.6
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-02-12 00:00:00.000000000 Z
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.3.3
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.3.3
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.6.1
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.6.1
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