recourse 7.8.0 → 7.8.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/CHANGELOG.md +9 -0
- data/lib/recourse/routes/nested.rb +5 -1
- data/lib/recourse/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db928d015c6b427908eac64f93319534dafb40dd089916ab38782241ba6264dd
|
|
4
|
+
data.tar.gz: 68abc102048e76b5440c010cba4f039e2c5388496c258bc8cc73c23adadfb940
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce01d852728a901751c26b717fa7008143a36b96038cf9e672f121a38c3929d83bd24b4e45575bbe13439362a850a11a513288e4bed372678e2d4385071c833d
|
|
7
|
+
data.tar.gz: 798c8ccef55728658d9ec54b7a5076b80c6f83888e8c6728ba53958445ee0b4c12c599744c88134650c3ec4989fb690dd4480ecf280b2f9751cefd14c20c0e92
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,15 @@ For more information about changelogs, check [Keep a Changelog](http://keepachan
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## 7.8.1 - 2026-09-20
|
|
11
|
+
|
|
12
|
+
* [FIX] A retrieval route is named after its resource
|
|
13
|
+
|
|
14
|
+
A collection route takes its name from the scope around it, so four retrievable
|
|
15
|
+
resources under one parent all answered to `provider_retrieval` and only the first
|
|
16
|
+
kept the name. Each is `provider_visits_retrieval` now, and the other three have a
|
|
17
|
+
path helper again.
|
|
18
|
+
|
|
10
19
|
## 7.8.0 - 2026-09-20
|
|
11
20
|
|
|
12
21
|
* [FEATURE] A resource may say its rows can be fetched again
|
|
@@ -46,7 +46,11 @@ module Recourse
|
|
|
46
46
|
# neither.
|
|
47
47
|
def draw_retrieval
|
|
48
48
|
Controllers.define_missing [current_module, 'retrievals'].compact.join('/')
|
|
49
|
-
|
|
49
|
+
# Named after the resource as well as the parent: a collection route takes its
|
|
50
|
+
# name from the scope around it, so four retrievals under one parent would all
|
|
51
|
+
# answer to `provider_retrieval` and only the first would keep the name.
|
|
52
|
+
named = "#{parent_resource.name}_retrieval"
|
|
53
|
+
collection { resource :retrieval, only: :create, as: named }
|
|
50
54
|
end
|
|
51
55
|
|
|
52
56
|
# The row a table's bookmark square writes: one record kept by whoever is looking,
|
data/lib/recourse/version.rb
CHANGED