houseaccount 0.3.0 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 939b9379b9f9074c36dfafeaa68f37c91154a36976cd64025170653a71b1918a
4
- data.tar.gz: 552f0b7b147cb46cb7edab29c293a6d570cd936f6198028694364f8de9f895c0
3
+ metadata.gz: 37ae58278a45258e8ea2d2bf06c8ae68b9392044a3217b3661988b85526fc7c5
4
+ data.tar.gz: 67db1501f06e9b4cbf6061e3cc201927a177c575dfb83df203899e9dea4312ed
5
5
  SHA512:
6
- metadata.gz: 0da5799f9fcfbb25157745e1641dbbace60b62d40eb344774ea123e2e909f08d912384810b1d9500a5c17d16ad7b17323f5a8fdd7e04ed5907d861a4e9adfb82
7
- data.tar.gz: 06e33a1b81ca80e1ccc595be50bdfcc64b4756cda9e1de9741251e91183e5d742a62ed552c22d4017e1149f40de5196947d63afef0d1ee3026e761315f34396e
6
+ metadata.gz: 02426df05d6d6e325f2e996dace5e6167e81581372661bf4ecc8fce0993eb2664b35115611fa7d2c2f22c85e9e3b80462937d4378a7d191afac2b1ea01ea4754
7
+ data.tar.gz: 525b80291d3aeb82cbca4a9aa7d66916c815258e965b1d5fb2cb71e53b0db754094f653029d6e8040ffc18b51cfe34d777906e1cc985eefff5f4495253bc03b5
data/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ For more information about changelogs, check [Keep a Changelog](http://keepachan
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## 0.3.1 - 2026-09-14
11
+
12
+ * [Fix] The gem ships its layout
13
+
14
+ 0.3.0 left `app/views` out of the gem along with the sources the build compiles, so a
15
+ host asking for `layout 'houseaccount'` found no template. The layout ships; the
16
+ JavaScript, stylesheet and font sources still stay behind.
17
+
10
18
  ## 0.3.0 - 2026-09-14
11
19
 
12
20
  * [Fix] A chat scrolls inside its card, and the page stands still
data/README.md CHANGED
@@ -60,7 +60,7 @@ which Pages redirects away from.
60
60
 
61
61
  With the gem in the bundle an app serves `/css/houseaccount.css`, `/js/houseaccount.js`,
62
62
  `/theme/*`, `/font/*`, `/logo/*` and `/favicon/*` itself — and its own version's copy under
63
- `/v0.3.0/`, which is what the head helper links, cached for a year — answers a 400, 404, 406, 422 or 500
63
+ `/v0.3.1/`, which is what the head helper links, cached for a year — answers a 400, 404, 406, 422 or 500
64
64
  with the house's own page, and has these helpers in every view:
65
65
 
66
66
  ```erb
@@ -190,8 +190,8 @@ Those follow the latest release. Every release is also kept whole under its own
190
190
  forever and cached for a year, for a page that would rather move on its own terms:
191
191
 
192
192
  ```html
193
- <link rel='stylesheet' href='https://design.houseaccount.com/v0.3.0/css/houseaccount.css'>
194
- <script type='module' src='https://design.houseaccount.com/v0.3.0/js/houseaccount.js'></script>
193
+ <link rel='stylesheet' href='https://design.houseaccount.com/v0.3.1/css/houseaccount.css'>
194
+ <script type='module' src='https://design.houseaccount.com/v0.3.1/js/houseaccount.js'></script>
195
195
  ```
196
196
 
197
197
  A host with a Content Security Policy allows that origin for `style-src`, `script-src` and
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html>
2
+ <html lang='en'>
3
+ <head>
4
+ <meta charset='utf-8'>
5
+ <title><%= content_for(:title) || HouseAccount.app %></title>
6
+ <%- if protect_against_forgery? -%>
7
+ <meta name='csrf-param' content='<%= request_forgery_protection_token %>'>
8
+ <meta name='csrf-token' content='<%= form_authenticity_token %>'>
9
+ <%- end -%>
10
+ <%- if (csp = csp_meta_tag) -%>
11
+ <%= csp %>
12
+ <%- end -%>
13
+ <%= houseaccount_head_tags %>
14
+ <%- if content_for?(:head) -%>
15
+ <%= yield :head %>
16
+ <%- end -%>
17
+ </head>
18
+ <body class='min-vh-100 d-flex flex-column'>
19
+ <main class='container-fluid py-4 flex-grow-1 d-flex flex-column'>
20
+ <%= content_for?(:content) ? yield(:content) : yield %>
21
+ </main>
22
+ <%= notices %>
23
+ </body>
24
+ </html>
@@ -1,4 +1,4 @@
1
1
  module HouseAccount
2
2
  # Version of the gem, read by the gemspec and by hosts checking compatibility.
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1'
4
4
  end