protocol-http2 0.9.4 → 0.9.5

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: f070073f41aeb3700caf06e353d6cabb6d8d70b5c7cc9aa0f9d4bae17a91ccf2
4
- data.tar.gz: 59b0e1ddd69ff8da8f8c34a3c3905f2a100a77510b7ad6b66e06aa8d5255f6fe
3
+ metadata.gz: 104ac87c873518de9695194a3d54e441197f8d5712764a3b6247426c4db26465
4
+ data.tar.gz: ef13f991407b5da97335b7086dce14f0231088212d76afe2dd6ba38cd4260371
5
5
  SHA512:
6
- metadata.gz: 80fc3ec47d474c736f63f99080ad541206a0c834ca8a7d91c36a9bec56c5ea61eba81b7692e805b4b3b5b05abdf71b573df25e00189cb075eada182abb21d7ee
7
- data.tar.gz: 48a14deb0d9df8115ddbddeefd498352f92153405419c5996f67e71bf0ca29fb63b9985c850dde5761d68db4af9b5fce32ea03e9c14451ce659b799dc17573e0
6
+ metadata.gz: 4be1376da392184941246a2e2714e45bfa2a677055bd9902b3d352522446350cb751618a028490e7fdccc02f152bf94f28f07dc49d69b679311358721df3db6c
7
+ data.tar.gz: efdd055aa0ac275acc07eb8e8eece5f2287cb7286cc572af72c867c825b53414cd35061cb5cf1a0f77a6fe7d24d1527cfd499caed3c2ba5e464ea61398100aa7
@@ -48,7 +48,7 @@ Async.run do
48
48
  def stream.receive_data(frame)
49
49
  data = super
50
50
 
51
- $count += data.scan(/kittens/).count
51
+ $count += data.scan(/kittens/).size
52
52
 
53
53
  puts "Got response data: #{data.bytesize}"
54
54
  end
@@ -379,7 +379,7 @@ module Protocol
379
379
  raise ProtocolError, "Invalid stream id: #{stream_id} <= #{@remote_stream_id}!"
380
380
  end
381
381
 
382
- if self.active_streams.count < self.maximum_concurrent_streams
382
+ if self.active_streams.size < self.maximum_concurrent_streams
383
383
  stream = accept_stream(stream_id)
384
384
  @remote_stream_id = stream_id
385
385
 
@@ -116,7 +116,7 @@ module Protocol
116
116
  if !self.window_updated(size) and children = self.children
117
117
  children = children.values.sort_by(&:weight)
118
118
 
119
- # This must always be at least >= `children.count`, since stream weight can't be 0.
119
+ # This must always be at least >= `children.size`, since stream weight can't be 0.
120
120
  total = children.sum(&:weight)
121
121
 
122
122
  children.each do |child|
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP2
23
- VERSION = "0.9.4"
23
+ VERSION = "0.9.5"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-14 00:00:00.000000000 Z
11
+ date: 2019-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: protocol-hpack