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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78df5c09889fbba8150a172d085d646850e286ff263d75651240346e918e94b3
4
- data.tar.gz: ef5914cbb06341c27974ac57ebb9f2799beac0976d84081166d6dbd3c1d32530
3
+ metadata.gz: 37ad7cebabada676314b89eb107ccd52dc5b4ca39ae06286189da63e48732020
4
+ data.tar.gz: b6d949c575e5beebe00e2fd3b88be34ea3600380ebb65a88ef95f206cc615de6
5
5
  SHA512:
6
- metadata.gz: 1d84a1f3eb31ca1f44ef6f390bae189d1bea595478a1486bcd04f41ef2c088e2f8d1989ed279056d9a30be688bacbd7c3481cd18484222e88ed93195a81016fd
7
- data.tar.gz: dcbf2a95b67dd0f2631e5f9339b16c06149e686bf8ff9bc5525bc389cc78692b5a62fcdbc1b830f3f0d7a8ce37472fd3d9ac281ec1c981ce3e558afeb55485d4
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
- if @body
29
- result = super
30
-
31
- @callback.call
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
- if @body
41
- super
42
-
43
- @callback.call(error)
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
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2019-2023, by Samuel Williams.
4
+ # Copyright, 2019-2024, by Samuel Williams.
5
+ # Copyright, 2024, by Earlopain.
5
6
 
6
7
  module Protocol
7
8
  module HTTP
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2019-2023, by Samuel Williams.
4
+ # Copyright, 2019-2024, by Samuel Williams.
5
+ # Copyright, 2024, by Thomas Morgan.
5
6
 
6
7
  require_relative 'split'
7
8
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2023, by Samuel Williams.
4
+ # Copyright, 2023-2024, by Samuel Williams.
5
5
 
6
6
  require 'time'
7
7
 
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2018-2023, by Samuel Williams.
4
+ # Copyright, 2018-2024, by Samuel Williams.
5
5
 
6
6
  module Protocol
7
7
  module HTTP
8
- VERSION = "0.26.1"
8
+ VERSION = "0.26.2"
9
9
  end
10
10
  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.1
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-02-07 00:00:00.000000000 Z
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