acme-client 2.0.23 → 2.0.24

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: 1eb2a09bcf4340643965c2e0f51368dac752614c98f58c258a941a038ce556d1
4
- data.tar.gz: f59b2621ea672475bc8221bfbc207e7db7c64d90e595210ec269008d8644853a
3
+ metadata.gz: b0f522907016ad60be1773ed0e41a6d552a3fb1f9d5f617388340fcf037db767
4
+ data.tar.gz: a93d0b384803456b1dbfc12ee5b2412bb24450d0766c8bc8b8ffc72c3bc92e14
5
5
  SHA512:
6
- metadata.gz: b8d2e1561561b6c90c87bdf61ba5e399f110239bfd0cfcbb15b37943f0c36193bc05bde11466141189fe743d9134fa1ee9048603798cdd8a8d47f29cc6e58694
7
- data.tar.gz: bba9cadd52794d4e507bc4021dc5eaaafc631ad9567b5e9e2074efde7adecd017c2010cf16ed811dd966de8541c969659cdeea99689c6015b676e00d62ab4d61
6
+ metadata.gz: f31a72029014b278afb4cd85363464e9a66b61be1238c1658428f6027efa1f20c9bf632e72d87dcbd8dc78d4cbfe62cab7a05ebc5c7cf9c1f6df441a32bc0f57
7
+ data.tar.gz: 72dd5642162be71f215f03459879933fd865445dbcf5a131a65499baa443e325e6d4d76bbfb743e256eae063f05726bb328b6a76afb6def19b3fed9b3302d51e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## `2.0.24`
2
+
3
+ * Add support for account orders url attribute.
4
+
1
5
  ## `2.0.23`
2
6
 
3
7
  * Allow Order to be create without url. Location is not always required in the specification.
@@ -34,16 +34,18 @@ class Acme::Client::Resources::Account
34
34
  url: url,
35
35
  term_of_service: term_of_service,
36
36
  status: status,
37
- contact: contact
37
+ contact: contact,
38
+ orders: orders_url
38
39
  }
39
40
  end
40
41
 
41
42
  private
42
43
 
43
- def assign_attributes(url:, term_of_service:, status:, contact:)
44
+ def assign_attributes(url:, term_of_service:, status:, contact:, orders: nil)
44
45
  @url = url
45
46
  @term_of_service = term_of_service
46
47
  @status = status
47
48
  @contact = Array(contact)
49
+ @orders_url = orders
48
50
  end
49
51
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Acme
4
4
  class Client
5
- VERSION = '2.0.23'.freeze
5
+ VERSION = '2.0.24'.freeze
6
6
  end
7
7
  end
data/lib/acme/client.rb CHANGED
@@ -286,6 +286,7 @@ class Acme::Client
286
286
  response.body,
287
287
  :status,
288
288
  [:term_of_service, 'termsOfServiceAgreed'],
289
+ :orders,
289
290
  :contact
290
291
  )
291
292
  end
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.23
4
+ version: 2.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Barbier
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-07-29 00:00:00.000000000 Z
10
+ date: 2025-08-05 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rake