ultrahook 1.0.0 → 1.0.1

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: f121751871d589fe219517b892a2a68259f72f2d6290ea180fc803ca8d13809b
4
- data.tar.gz: 40d1424d65a17167fbdd2c687b53f830a0ce0228e014935baccc6c51a82bbc45
3
+ metadata.gz: f11615e8b193ddb0b04af5fdfa47d61bcde9e22f7c0f1c4d377c012f97830d29
4
+ data.tar.gz: db37642d651ceb26377e5e9eec1e79da38715dee668f5db609be92fe0475f52e
5
5
  SHA512:
6
- metadata.gz: c14c4260e09e8d70f3ee75836584004cb82c1172b9aaf9a556e85a056db173cd774bc4da284b8f005ae2463c66c6bdb829f48d63a4e9ccdccba27e22b38f5cc4
7
- data.tar.gz: 58595e2dde96869f35cf76be69716150a8d2050af60b953d7c362107e4d6cf404ff785e83d25368914cd7c4e473e1008f0a838b83a94db6c4cfb65246cb78047
6
+ metadata.gz: 64146e8ac3d3926c112d802e2c2a62c97c057d68a08cfa1d309fe12a4af0e87db91d367ee83a44c7ff0c4de539f9a0473530e4933afd3c2f5a13416ae5c60c04
7
+ data.tar.gz: 7682d234c73348c4d35f1bc6cfbe423e807e61688c4f56ffd1443553764f1136e2b2480e08a4e77f0ae9ece547d3293819e2f8c786afe77350f0c39af450aff6
@@ -164,9 +164,13 @@ module UltraHook
164
164
  response.read_body do |chunk|
165
165
  io += chunk
166
166
 
167
- if idx = io.index("\n\n")
168
- msg = io.slice!(0, idx+2)
169
- process(msg)
167
+ loop do
168
+ if idx = io.index("\n\n")
169
+ msg = io.slice!(0, idx+2)
170
+ process(msg)
171
+ else
172
+ break
173
+ end
170
174
  end
171
175
  end
172
176
  end
@@ -1,3 +1,3 @@
1
1
  module UltraHook
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultrahook
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vinay Sahni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-18 00:00:00.000000000 Z
11
+ date: 2020-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json