async-http-faraday 0.22.1 → 0.23.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d9bc8db7f390b5eab35d03ad3748aebcf800ebbfbf63c47e06345e9bf0ccc7b
4
- data.tar.gz: eb25b8a2a39b8d62b36dc5f5a80c33576c10496bd63d4e4629e612801704df54
3
+ metadata.gz: 6e916a88c79cbab300ac14f766366946929f1d8a69b539c30f25923ec39e747f
4
+ data.tar.gz: 4f6dd5cf80decec373e253f91426435213d8ed79490f0f4c9b3591eca6400c9e
5
5
  SHA512:
6
- metadata.gz: 9f08eb5f9fd6726f3af04de66b4cb55120e8019ba9171ca171f5c5cb20e768813b95ef0035d297b6281de6c783fd29c7ce74ee0939cea5565ed46e715d827339
7
- data.tar.gz: c0fd6948d709475a6746f3e3edcba70ca2e71c3dbc1f5b3dfc97097b4ff98cf7d0a2036ae1fdb8f9a815e924f2ed0e808af19b09c63ef10e5f6609171696ef9e
6
+ metadata.gz: 8681676a267858a896933e112c8b11ca25a5e75f857d1a1ee09200178781a9a8ca837e79c4cc9038af3efaf0a2dcefa79c62b83cf0e468e48c15a5afa5806792
7
+ data.tar.gz: cc0a71ea277867bbed37a3aa20c3b25ce9b3ead498818f5f52c547119940f33f145de3ef62c0eb64305b84ea60f63ed99873b1b81c80c8eeba841fc1258356fb
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2024-2025, by Samuel Williams.
4
+ # Copyright, 2024-2026, by Samuel Williams.
5
5
 
6
6
  require "faraday"
7
7
  require "faraday/adapter"
@@ -86,7 +86,7 @@ module Async
86
86
  clients = @clients.values
87
87
  @clients.clear
88
88
 
89
- clients.each(&:close)
89
+ clients.reverse_each(&:close)
90
90
  end
91
91
 
92
92
  # Lookup or create a client for the given endpoint.
@@ -1,12 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2018-2025, by Samuel Williams.
4
+ # Copyright, 2018-2026, by Samuel Williams.
5
5
 
6
6
  module Async
7
7
  module HTTP
8
8
  module Faraday
9
- VERSION = "0.22.1"
9
+ VERSION = "0.23.0"
10
10
  end
11
11
  end
12
12
  end
data/license.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright, 2018-2025, by Samuel Williams.
3
+ Copyright, 2018-2026, by Samuel Williams.
4
4
  Copyright, 2018, by Andreas Garnaes.
5
5
  Copyright, 2019, by Denis Talakevich.
6
6
  Copyright, 2019-2020, by Igor Sidorov.
data/readme.md CHANGED
@@ -46,11 +46,27 @@ Please see the [project releases](https://socketry.github.io/async-http-faraday/
46
46
 
47
47
  We welcome contributions to this project.
48
48
 
49
- 1. Fork it.
49
+ 1. Fork the repository.
50
50
  2. Create your feature branch (`git checkout -b my-new-feature`).
51
- 3. Commit your changes (`git commit -am 'Add some feature'`).
51
+ 3. Commit your changes (`git commit -am 'Add some feature.'`).
52
52
  4. Push to the branch (`git push origin my-new-feature`).
53
- 5. Create new Pull Request.
53
+ 5. Create a new pull request.
54
+
55
+ ### Running Tests
56
+
57
+ To run the test suite:
58
+
59
+ ``` bash
60
+ $ bundle exec sus
61
+ ```
62
+
63
+ ### Making Releases
64
+
65
+ To make a new release:
66
+
67
+ ``` bash
68
+ $ bundle exec bake gem:release:patch # or minor or major
69
+ ```
54
70
 
55
71
  ### Developer Certificate of Origin
56
72
 
data/releases.md CHANGED
@@ -91,7 +91,7 @@ end
91
91
  Thread.new do
92
92
  Async do
93
93
  # Each thread has it's own client cache.
94
- adapter.get('http://example.com')
94
+ adapter.get("http://example.com")
95
95
  end
96
96
  end
97
97
  end
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.1
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -94,6 +94,8 @@ homepage: https://github.com/socketry/async-http-faraday
94
94
  licenses:
95
95
  - MIT
96
96
  metadata:
97
+ bug_tracker_uri: https://github.com/socketry/async-http-faraday/issues
98
+ changelog_uri: https://github.com/socketry/async-http-faraday/blob/main/releases.md
97
99
  documentation_uri: https://socketry.github.io/async-http-faraday/
98
100
  funding_uri: https://github.com/sponsors/ioquatix
99
101
  source_code_uri: https://github.com/socketry/async-http.git
@@ -104,14 +106,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
106
  requirements:
105
107
  - - ">="
106
108
  - !ruby/object:Gem::Version
107
- version: '3.2'
109
+ version: '3.3'
108
110
  required_rubygems_version: !ruby/object:Gem::Requirement
109
111
  requirements:
110
112
  - - ">="
111
113
  - !ruby/object:Gem::Version
112
114
  version: '0'
113
115
  requirements: []
114
- rubygems_version: 3.6.9
116
+ rubygems_version: 4.0.10
115
117
  specification_version: 4
116
118
  summary: Provides an adaptor between async-http and faraday.
117
119
  test_files: []
metadata.gz.sig CHANGED
Binary file