net-http2 0.18.0 → 0.18.2

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
  SHA1:
3
- metadata.gz: be4f9069cbaf6f809be974fe206c2f974b4b2e2e
4
- data.tar.gz: 74373d56cf439bf6104338c784b26d7db8da1d32
3
+ metadata.gz: 95fc93bdd8b50189e2626626ff71002bddab0759
4
+ data.tar.gz: bfbf47643cd60f817a24e5c9de8e41c4fcb642d6
5
5
  SHA512:
6
- metadata.gz: 0230e57166caf206fcc1d590a672e6fab1123e1f0043598d64cc1ce6baa7964fd92835b377cf54522ce1d0513efef20984f2451cef6826ed4a0063fe907bfc58
7
- data.tar.gz: c76d70ed82c493784b806e3d22686a8f5b6a60de797c986f6837a1c143f1513666bf50ca4deb95bceba1790a9bd1f175835ac78d6bcb1c9e50364c46abd3f7b4
6
+ metadata.gz: 35faa1b583f4f4803b87368f523423e45725f1788fda2d8b94881aed0d890802afe6467d089636008268ee8b41e9d106021d84a3120934d6f25f2b0b6ea4a1e7
7
+ data.tar.gz: 7c288e87540b1b9a041296168d3b9679b4fa3a7b4c9b44ba9d9f737f46fdaccb85d632ee8cd506dd866cc90107b0f6f628e6e29149ffa3bb0a29f2a12560e7b1
@@ -83,7 +83,7 @@ module NetHttp2
83
83
  end
84
84
 
85
85
  def new_stream
86
- NetHttp2::Stream.new(h2_stream: h2.new_stream)
86
+ @mutex.synchronize { NetHttp2::Stream.new(h2_stream: h2.new_stream) }
87
87
  rescue StandardError => e
88
88
  close
89
89
  raise e
@@ -1,3 +1,3 @@
1
1
  module NetHttp2
2
- VERSION = '0.18.0'.freeze
2
+ VERSION = '0.18.2'.freeze
3
3
  end
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "http-2", "0.9.0"
22
+ spec.add_dependency "http-2", "~> 0.10.1"
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.3"
24
+ spec.add_development_dependency "bundler"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
26
26
  spec.add_development_dependency "rspec", "~> 3.0"
27
27
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-http2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Ostinelli
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-04 00:00:00.000000000 Z
11
+ date: 2019-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http-2
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.10.1
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: 0.9.0
26
+ version: 0.10.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.3'
33
+ version: '0'
34
34
  type: :development
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: '1.3'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement