acme-client 2.0.27 → 2.0.28
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
- data/CHANGELOG.md +4 -0
- data/lib/acme/client/error/rate_limited.rb +8 -0
- data/lib/acme/client/http_client.rb +3 -0
- data/lib/acme/client/version.rb +1 -1
- data/lib/acme/client.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c77ea7f7e3923d5c76ddd26c802ade553e7875f0f95b753a240f06c1e77e3689
|
|
4
|
+
data.tar.gz: 4f7a6f073795c9328b7322bd39f5640fb53e89c2b3790417ea2be2f2f13c5e7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e12eae043f2e3b8fd505b88980f45336aee50013c23297ef8dd6f3f58cb427c62be9d0d1098dee4242fe258bc12b3bf417b22e3be772c3bcf8d6eb9b15748b75
|
|
7
|
+
data.tar.gz: 24fb6340f56d6eb998d57706dbfb92f92a64f488157410d0997e38bda9c009e541c4a2e5686d936d1be5a5c40aee39bcb3d8953edea86ddea4d0915c87344cfa
|
data/CHANGELOG.md
CHANGED
|
@@ -101,6 +101,9 @@ module Acme::Client::HTTPClient
|
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
def raise_on_error!
|
|
104
|
+
if error_class == Acme::Client::Error::RateLimited
|
|
105
|
+
raise error_class.new(error_message, env.response_headers['Retry-After'])
|
|
106
|
+
end
|
|
104
107
|
raise error_class, error_message
|
|
105
108
|
end
|
|
106
109
|
|
data/lib/acme/client/version.rb
CHANGED
data/lib/acme/client.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: acme-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.28
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Charles Barbier
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2025-11-
|
|
10
|
+
date: 2025-11-28 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rake
|
|
@@ -155,6 +155,7 @@ files:
|
|
|
155
155
|
- lib/acme/client/certificate_request/ec_key_patch.rb
|
|
156
156
|
- lib/acme/client/chain_identifier.rb
|
|
157
157
|
- lib/acme/client/error.rb
|
|
158
|
+
- lib/acme/client/error/rate_limited.rb
|
|
158
159
|
- lib/acme/client/http_client.rb
|
|
159
160
|
- lib/acme/client/jwk.rb
|
|
160
161
|
- lib/acme/client/jwk/base.rb
|