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 +4 -4
- data/lib/ultrahook/client.rb +7 -3
- data/lib/ultrahook/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f11615e8b193ddb0b04af5fdfa47d61bcde9e22f7c0f1c4d377c012f97830d29
|
4
|
+
data.tar.gz: db37642d651ceb26377e5e9eec1e79da38715dee668f5db609be92fe0475f52e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64146e8ac3d3926c112d802e2c2a62c97c057d68a08cfa1d309fe12a4af0e87db91d367ee83a44c7ff0c4de539f9a0473530e4933afd3c2f5a13416ae5c60c04
|
7
|
+
data.tar.gz: 7682d234c73348c4d35f1bc6cfbe423e807e61688c4f56ffd1443553764f1136e2b2480e08a4e77f0ae9ece547d3293819e2f8c786afe77350f0c39af450aff6
|
data/lib/ultrahook/client.rb
CHANGED
@@ -164,9 +164,13 @@ module UltraHook
|
|
164
164
|
response.read_body do |chunk|
|
165
165
|
io += chunk
|
166
166
|
|
167
|
-
|
168
|
-
|
169
|
-
|
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
|
data/lib/ultrahook/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2020-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|