atlas_rb 1.11.0 → 1.11.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
- data/.version +1 -1
- data/Gemfile.lock +1 -1
- data/lib/atlas_rb/work.rb +22 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7bacb5eb215d1dd6d3df935abd82d74909ca81d1ce91f44de67f370846dbbd80
|
|
4
|
+
data.tar.gz: c6ea26efb6d7b083d2ede1455a126901bae8f446ece2997b441d7e593fdaba51
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9cc966ec7e7505b26ca5e5adaeacb78201b8f83c141d77a63c6ece959fce7de3c421e26274b7b943b964ad43ff32899a3da189ac4d9fdaebf43ed7cb9e5249c
|
|
7
|
+
data.tar.gz: 366a253542dfcf24f9e44ba4482c013ff426ec9b361b56636c2e2b96020a9b1ca738a93fa6f97d696b3b8bbd2e873ae761c7ceb4f8b8a5ef086bcf7c93ba2b5d
|
data/.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.11.
|
|
1
|
+
1.11.1
|
data/Gemfile.lock
CHANGED
data/lib/atlas_rb/work.rb
CHANGED
|
@@ -58,7 +58,10 @@ module AtlasRb
|
|
|
58
58
|
# omitted.
|
|
59
59
|
# @return [AtlasRb::Mash] `{ "works" => [...], "pagination" => {...} }`.
|
|
60
60
|
# Each entry in `"works"` is a Work summary (`id`, `title`,
|
|
61
|
-
# `description`, `in_progress`, `incomplete`, `incomplete_reason
|
|
61
|
+
# `description`, `in_progress`, `incomplete`, `incomplete_reason`,
|
|
62
|
+
# `handle`). `handle` is carried on the summary, not just the detail
|
|
63
|
+
# read, so "which Works never minted?" is answerable from one page
|
|
64
|
+
# rather than a fetch per row.
|
|
62
65
|
#
|
|
63
66
|
# @example Find stuck deposits
|
|
64
67
|
# AtlasRb::Work.list(in_progress: true)
|
|
@@ -220,11 +223,28 @@ module AtlasRb
|
|
|
220
223
|
# "stuck" list.
|
|
221
224
|
#
|
|
222
225
|
# Idempotent on the server: calling `complete` on an already-complete
|
|
223
|
-
# Work is a no-op — Atlas
|
|
226
|
+
# Work is a no-op — Atlas re-saves with `in_progress: false`.
|
|
224
227
|
# Atlas does not currently stamp a `completed_by` audit field; the
|
|
225
228
|
# `nuid:` parameter is plumbed through for parity with the other
|
|
226
229
|
# lifecycle bindings and in case Atlas adds completion audit later.
|
|
227
230
|
#
|
|
231
|
+
# **This call also mints the Work's persistent identifier.** Atlas
|
|
232
|
+
# registers `<prefix>/<noid>` with its Handle service, pointed at the
|
|
233
|
+
# public Work page, and records it as `handle` on the Work. Two
|
|
234
|
+
# consequences for a caller:
|
|
235
|
+
#
|
|
236
|
+
# * **Minting can never fail the call.** A handle server that is down,
|
|
237
|
+
# slow or unconfigured leaves `handle` null and the Work still
|
|
238
|
+
# complete — never a non-2xx. So a `200` does not promise a handle:
|
|
239
|
+
# the response body carries the Work, so check `handle` on it rather
|
|
240
|
+
# than assuming success minted one.
|
|
241
|
+
# * **Re-completing is safe.** Atlas mints only when `handle` is empty,
|
|
242
|
+
# and the underlying registration is keyed by handle name, so a repeat
|
|
243
|
+
# call re-points rather than minting a second identifier.
|
|
244
|
+
#
|
|
245
|
+
# A deployment with no handle server configured mints nothing at all,
|
|
246
|
+
# which is the normal state for a stack brought up without it.
|
|
247
|
+
#
|
|
228
248
|
# @param id [String] the Work ID.
|
|
229
249
|
# @param nuid [String, nil] optional NUID of the acting user.
|
|
230
250
|
# @param on_behalf_of [String, nil] optional NUID for the `On-Behalf-Of`
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: atlas_rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.11.
|
|
4
|
+
version: 1.11.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Cliff
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|