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 +4 -4
- data/.version +1 -1
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +1 -1
- data/lib/atlas_rb/collection.rb +6 -0
- data/lib/atlas_rb/community.rb +6 -0
- 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: ee82f1db7ce18ffe409251ea5a22e0d8692d06d27feb2563ffaeeb8ebb3ac808
|
|
4
|
+
data.tar.gz: 448a08729406f6565e33fb42d317f3a52f4ccbe252381cea05717b473022aa69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 709a6b7987e43637465f30345224a52792e936383f146c0a70311dce3484d3b4bd129c54bc84051c3047778871d8692bdd26e132557cffef1e87af609de14b65
|
|
7
|
+
data.tar.gz: 409ee2cfd24bae4d5b2bb89b9cdfd1eafc50c011f6f9c0842151d7c36ff09f53f19a61f9ffcab19c53e1beffe62bf179be21e106b3f813efee2af7dbca521a8d
|
data/.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.13.
|
|
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
data/lib/atlas_rb/collection.rb
CHANGED
|
@@ -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
|
data/lib/atlas_rb/community.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
11
|
+
date: 2026-08-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|