recourse 5.0.1 → 5.1.0
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 +10 -0
- data/app/views/layouts/recourses.html.erb +4 -9
- 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: bc89ed83bcbaae940eaed20f48be082dc774898d05f74482b356b4eaf6ccdaa2
|
|
4
|
+
data.tar.gz: 6d12db3c10f106031e448badb96ae965e8ec4135d7f6bd85b78dd151ac039743
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7ef41021c4e0abd0211de0b2cceb10fd731ef1193b52f816417243263b51865c46135a6104a0daa7d17f6e57e57dfdeecf64b457f0229f3f2d66ea07bd90dbc
|
|
7
|
+
data.tar.gz: 30722d3d332f26c81bfe6327bfe51f5952fd2af2bb5dace8419f3f39daa3a8b72ea9f4f3000e7b0e15b33b79067f591a430a19ed3ef1707d61f64b5ab43f477e
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ For more information about changelogs, check [Keep a Changelog](http://keepachan
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## 5.1.0 - 2026-09-14
|
|
11
|
+
|
|
12
|
+
* [Feature] The head past the gem's own tags is the host's, through a `recourses/head` partial
|
|
13
|
+
|
|
14
|
+
The layout named a host's icon under the four file names a Rails app might ship one at,
|
|
15
|
+
and fetched every one, three of them a 404 on a host that keeps its icons elsewhere. It
|
|
16
|
+
now renders `recourses/head` where a host — or a gem the host loads — provides one, and
|
|
17
|
+
writes no icon link of its own where nobody has. A host whose tab went blank writes its
|
|
18
|
+
icon links into that partial.
|
|
19
|
+
|
|
10
20
|
## 5.0.1 - 2026-09-14
|
|
11
21
|
|
|
12
22
|
* [Fix] A required combobox starts empty rather than on its first option
|
|
@@ -41,15 +41,10 @@
|
|
|
41
41
|
<%= render 'recourses/scheme' %>
|
|
42
42
|
<%= primary_color_style %>
|
|
43
43
|
|
|
44
|
-
<%# The
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
<link rel='icon' href='/icon.png' type='image/png'>
|
|
49
|
-
<link rel='icon' href='/icon.svg' type='image/svg+xml'>
|
|
50
|
-
<link rel='icon' href='/favicon.ico' sizes='any'>
|
|
51
|
-
<link rel='icon' href='/favicon.png' type='image/png'>
|
|
52
|
-
<link rel='apple-touch-icon' href='/icon.png'>
|
|
44
|
+
<%# The rest of the head is the host's: whatever it puts in a `recourses/head` partial
|
|
45
|
+
— the icons its tab wears, say — is drawn here, from the host's own views or from a
|
|
46
|
+
gem it loads, and nothing is guessed at where nobody has written one. -%>
|
|
47
|
+
<%= render 'recourses/head' if lookup_context.exists? 'recourses/head', [], true %>
|
|
53
48
|
|
|
54
49
|
<%# Turbo, Bootstrap and a Stimulus application with every controller this markup
|
|
55
50
|
names, started once under `window.Stimulus`. In the head, so a controller exists
|
data/lib/recourse/version.rb
CHANGED