atlas_rb 1.13.1 → 1.13.2

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: 651cf253c9f27ae5b3f3a917e76d6c630d079623f971230080962d3abd966157
4
- data.tar.gz: da553d3a5239463b46a80c1348c53a60dcce2c2b7cb92f2dafb76095f61c433b
3
+ metadata.gz: ee82f1db7ce18ffe409251ea5a22e0d8692d06d27feb2563ffaeeb8ebb3ac808
4
+ data.tar.gz: 448a08729406f6565e33fb42d317f3a52f4ccbe252381cea05717b473022aa69
5
5
  SHA512:
6
- metadata.gz: e1f8bde0b540dd884930a4d0d78fd5441726caccadda299127f0a2548845ec690698c95e4cc114c70e11645d9197b4c11e29782bdeb0cf3539b1553d82a592b2
7
- data.tar.gz: a10278be702677b1939ddc8cbc41a5dbcde9b6854f9016d0df7ab5040e07bd23edac96f6116299e335b670ee74955623eca400c5ad092f909431666363967766
6
+ metadata.gz: 709a6b7987e43637465f30345224a52792e936383f146c0a70311dce3484d3b4bd129c54bc84051c3047778871d8692bdd26e132557cffef1e87af609de14b65
7
+ data.tar.gz: 409ee2cfd24bae4d5b2bb89b9cdfd1eafc50c011f6f9c0842151d7c36ff09f53f19a61f9ffcab19c53e1beffe62bf179be21e106b3f813efee2af7dbca521a8d
data/.version CHANGED
@@ -1 +1 @@
1
- 1.13.1
1
+ 1.13.2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.13.2
4
+
5
+ ### Documentation — point `children` callers at the batch resolver
6
+
7
+ `Collection.children` and `Community.children` answer noids only, and nothing
8
+ on either method said how to turn those noids into something renderable. The
9
+ obvious reading — `find` per noid — costs a round-trip per child. Both now
10
+ point at {AtlasRb::Resource.find_many} for one-call resolution, and at
11
+ {AtlasRb::Resource.descendant_works} for a whole subtree.
12
+
13
+ No behaviour change.
14
+
3
15
  ## 1.13.1
4
16
 
5
17
  ### Fixed — `Maintenance.read` could not name an acting principal
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- atlas_rb (1.13.1)
4
+ atlas_rb (1.13.2)
5
5
  faraday (~> 2.7)
6
6
  faraday-follow_redirects (~> 0.3.0)
7
7
  faraday-multipart (~> 1)
@@ -190,6 +190,12 @@ module AtlasRb
190
190
  # @param on_behalf_of [String, nil] optional NUID for the `On-Behalf-Of`
191
191
  # header. Falls through to {AtlasRb.config}.default_on_behalf_of when
192
192
  # omitted.
193
+ # `children` answers noids only. To render them, resolve the whole list in
194
+ # one call with {AtlasRb::Resource.find_many}, which returns a
195
+ # title/thumbnail digest per id — calling `find` per noid costs a
196
+ # round-trip per child. For a whole subtree flattened to Works, use
197
+ # {AtlasRb::Resource.descendant_works}.
198
+ #
193
199
  # @return [Array<String>] child noids from `GET /collections/<id>/children`.
194
200
  #
195
201
  # @example
@@ -169,6 +169,12 @@ module AtlasRb
169
169
  # @param on_behalf_of [String, nil] optional NUID for the `On-Behalf-Of`
170
170
  # header. Falls through to {AtlasRb.config}.default_on_behalf_of when
171
171
  # omitted.
172
+ # `children` answers noids only. To render them, resolve the whole list in
173
+ # one call with {AtlasRb::Resource.find_many}, which returns a
174
+ # title/thumbnail digest per id — calling `find` per noid costs a
175
+ # round-trip per child. For a whole subtree flattened to Works, use
176
+ # {AtlasRb::Resource.descendant_works}.
177
+ #
172
178
  # @return [Array<String>] child noids from `GET /communities/<id>/children`.
173
179
  #
174
180
  # @example
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.13.1
4
+ version: 1.13.2
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-25 00:00:00.000000000 Z
11
+ date: 2026-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday