async-http-faraday 0.22.0 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/async/http/faraday/adapter.rb +1 -0
- data/lib/async/http/faraday/clients.rb +3 -3
- data/lib/async/http/faraday/version.rb +1 -1
- data/license.md +1 -0
- data/readme.md +4 -0
- data/releases.md +4 -0
- 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: 7d9bc8db7f390b5eab35d03ad3748aebcf800ebbfbf63c47e06345e9bf0ccc7b
|
4
|
+
data.tar.gz: eb25b8a2a39b8d62b36dc5f5a80c33576c10496bd63d4e4629e612801704df54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f08eb5f9fd6726f3af04de66b4cb55120e8019ba9171ca171f5c5cb20e768813b95ef0035d297b6281de6c783fd29c7ce74ee0939cea5565ed46e715d827339
|
7
|
+
data.tar.gz: c0fd6948d709475a6746f3e3edcba70ca2e71c3dbc1f5b3dfc97097b4ff98cf7d0a2036ae1fdb8f9a815e924f2ed0e808af19b09c63ef10e5f6609171696ef9e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -177,10 +177,10 @@ module Async
|
|
177
177
|
# This will close all clients associated with all threads.
|
178
178
|
def close
|
179
179
|
Thread.list.each do |thread|
|
180
|
-
if clients = thread
|
181
|
-
|
180
|
+
if clients = thread.thread_variable_get(@key)
|
181
|
+
thread.thread_variable_set(@key, nil)
|
182
182
|
|
183
|
-
|
183
|
+
clients.close
|
184
184
|
end
|
185
185
|
end
|
186
186
|
end
|
data/license.md
CHANGED
@@ -10,6 +10,7 @@ Copyright, 2023, by Genki Takiuchi.
|
|
10
10
|
Copyright, 2023, by Flavio Fernandes.
|
11
11
|
Copyright, 2024, by Jacob Frautschi.
|
12
12
|
Copyright, 2025, by Nikolaos Anastopoulos.
|
13
|
+
Copyright, 2025, by Pedro Fayolle.
|
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/readme.md
CHANGED
@@ -17,6 +17,10 @@ Please see the [project documentation](https://socketry.github.io/async-http-far
|
|
17
17
|
|
18
18
|
Please see the [project releases](https://socketry.github.io/async-http-faraday/releases/index) for all releases.
|
19
19
|
|
20
|
+
### v0.22.1
|
21
|
+
|
22
|
+
- Fix memory leak in `Async::HTTP::Faraday::PerThreadPersistentClients` by ensuring that the `close` method is called on all clients when the adapter is closed.
|
23
|
+
|
20
24
|
### v0.21.0
|
21
25
|
|
22
26
|
- [Improved support for `timeout` and `read_timeout`.](https://socketry.github.io/async-http-faraday/releases/index#improved-support-for-timeout-and-read_timeout.)
|
data/releases.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Releases
|
2
2
|
|
3
|
+
## v0.22.1
|
4
|
+
|
5
|
+
- Fix memory leak in `Async::HTTP::Faraday::PerThreadPersistentClients` by ensuring that the `close` method is called on all clients when the adapter is closed.
|
6
|
+
|
3
7
|
## v0.21.0
|
4
8
|
|
5
9
|
### Improved support for `timeout` and `read_timeout`.
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-http-faraday
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.22.
|
4
|
+
version: 0.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -14,6 +14,7 @@ authors:
|
|
14
14
|
- Denis Talakevich
|
15
15
|
- Flavio Fernandes
|
16
16
|
- Jacob Frautschi
|
17
|
+
- Pedro Fayolle
|
17
18
|
bindir: bin
|
18
19
|
cert_chain:
|
19
20
|
- |
|
@@ -103,14 +104,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
104
|
requirements:
|
104
105
|
- - ">="
|
105
106
|
- !ruby/object:Gem::Version
|
106
|
-
version: '3.
|
107
|
+
version: '3.2'
|
107
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
109
|
requirements:
|
109
110
|
- - ">="
|
110
111
|
- !ruby/object:Gem::Version
|
111
112
|
version: '0'
|
112
113
|
requirements: []
|
113
|
-
rubygems_version: 3.6.
|
114
|
+
rubygems_version: 3.6.9
|
114
115
|
specification_version: 4
|
115
116
|
summary: Provides an adaptor between async-http and faraday.
|
116
117
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|