protocol-http 0.26.1 → 0.26.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/protocol/http/body/completable.rb +10 -14
- data/lib/protocol/http/header/authorization.rb +2 -1
- data/lib/protocol/http/header/connection.rb +2 -1
- data/lib/protocol/http/header/date.rb +1 -1
- data/lib/protocol/http/version.rb +2 -2
- data/license.md +2 -1
- data.tar.gz.sig +0 -0
- metadata +4 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37ad7cebabada676314b89eb107ccd52dc5b4ca39ae06286189da63e48732020
|
4
|
+
data.tar.gz: b6d949c575e5beebe00e2fd3b88be34ea3600380ebb65a88ef95f206cc615de6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b934b6150bef7f73a113720dd2091f84605f424ac6daf9591828c28890ddacc0cfe3a143674e3d1f9b399b9ecf59b566e117b8a89fa5f7198a931456fd8314c
|
7
|
+
data.tar.gz: 7e9cb8d0d7c1fa9fd39cb4adf1048cb88e284b8fb4513b27c8910ca5c7df4eabf277c2b1545ddc3da8054cacda2cb025c26944613a307900d4afb85dee836d3f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -25,24 +25,20 @@ module Protocol
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def finish
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
@body = nil
|
34
|
-
|
35
|
-
return result
|
28
|
+
super.tap do
|
29
|
+
if @callback
|
30
|
+
@callback.call
|
31
|
+
@callback = nil
|
32
|
+
end
|
36
33
|
end
|
37
34
|
end
|
38
35
|
|
39
36
|
def close(error = nil)
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
@body = nil
|
37
|
+
super.tap do
|
38
|
+
if @callback
|
39
|
+
@callback.call(error)
|
40
|
+
@callback = nil
|
41
|
+
end
|
46
42
|
end
|
47
43
|
end
|
48
44
|
end
|
data/license.md
CHANGED
@@ -8,8 +8,9 @@ Copyright, 2020-2023, by Bruno Sutic.
|
|
8
8
|
Copyright, 2022, by Herrick Fang.
|
9
9
|
Copyright, 2022, by Dan Olson.
|
10
10
|
Copyright, 2023, by Genki Takiuchi.
|
11
|
-
Copyright, 2023, by Thomas Morgan.
|
11
|
+
Copyright, 2023-2024, by Thomas Morgan.
|
12
12
|
Copyright, 2023, by Marcelo Junior.
|
13
|
+
Copyright, 2024, by Earlopain.
|
13
14
|
|
14
15
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
15
16
|
of this software and associated documentation files (the "Software"), to deal
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protocol-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
+
- Thomas Morgan
|
8
9
|
- Bruno Sutic
|
9
10
|
- Herrick Fang
|
10
|
-
- Thomas Morgan
|
11
11
|
- Bryan Powell
|
12
12
|
- Dan Olson
|
13
|
+
- Earlopain
|
13
14
|
- Genki Takiuchi
|
14
15
|
- Marcelo Junior
|
15
16
|
- Olle Jonsson
|
@@ -46,7 +47,7 @@ cert_chain:
|
|
46
47
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
47
48
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
48
49
|
-----END CERTIFICATE-----
|
49
|
-
date: 2024-
|
50
|
+
date: 2024-04-09 00:00:00.000000000 Z
|
50
51
|
dependencies: []
|
51
52
|
description:
|
52
53
|
email:
|
metadata.gz.sig
CHANGED
Binary file
|