houseaccount 0.4.0 → 0.5.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 +12 -0
- data/README.md +5 -5
- data/lib/houseaccount/version.rb +1 -1
- data/public/css/houseaccount.css +1 -1
- data/public/index.html +2 -2
- data/public/js/houseaccount.js +20 -20
- data/public/{v0.4.0 → v0.5.0}/css/houseaccount.css +1 -1
- data/public/{v0.4.0 → v0.5.0}/js/houseaccount.js +20 -20
- metadata +19 -19
- /data/public/{v0.4.0 → v0.5.0}/font/bootstrap-icons-6LILWPE2.woff2 +0 -0
- /data/public/{v0.4.0 → v0.5.0}/font/quicksand-500-latin-QHYSRFVK.woff2 +0 -0
- /data/public/{v0.4.0 → v0.5.0}/font/quicksand-500-latin-ext-QZ4PXVHB.woff2 +0 -0
- /data/public/{v0.4.0 → v0.5.0}/font/quicksand-500-latin-ext.woff2 +0 -0
- /data/public/{v0.4.0 → v0.5.0}/font/quicksand-500-latin.woff2 +0 -0
- /data/public/{v0.4.0 → v0.5.0}/font/quicksand-500-vietnamese-RRA5CUQB.woff2 +0 -0
- /data/public/{v0.4.0 → v0.5.0}/font/quicksand-500-vietnamese.woff2 +0 -0
- /data/public/{v0.4.0 → v0.5.0}/theme/bootstrap.css +0 -0
- /data/public/{v0.4.0 → v0.5.0}/theme/dawn.css +0 -0
- /data/public/{v0.4.0 → v0.5.0}/theme/dracula.css +0 -0
- /data/public/{v0.4.0 → v0.5.0}/theme/gruvbox.css +0 -0
- /data/public/{v0.4.0 → v0.5.0}/theme/monokai.css +0 -0
- /data/public/{v0.4.0 → v0.5.0}/theme/nord.css +0 -0
- /data/public/{v0.4.0 → v0.5.0}/theme/one_dark.css +0 -0
- /data/public/{v0.4.0 → v0.5.0}/theme/solarized.css +0 -0
- /data/public/{v0.4.0 → v0.5.0}/theme/tokyo_night.css +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e940a284d7295b6c3945f86e2d5d99cff64c0f6474b9bdda190c41d782ac95c3
|
|
4
|
+
data.tar.gz: 826e327eca8b704721e5e3e887d947d3ad714b9130bf006fd80b5a2dae803e5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58a97334a737b8af5edaef43bbe3e68d5f9dd8cfdba7e72f65356fb48d54ba5a65f68126a04929048601e2718927cc0e65f88dd1842024fb9a57fd9780532428
|
|
7
|
+
data.tar.gz: 548b7f79b7c64e5dcd1cc69117d7670246b9f8ece10197f0d2fcc1e11d09c7d41cef92b3145c59a6c84b890371fc152dda9736da187818a0152bb058c819dfe4
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ For more information about changelogs, check [Keep a Changelog](http://keepachan
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## 0.5.0 - 2026-09-14
|
|
11
|
+
|
|
12
|
+
* [Feature] The `map` controller draws a page's rows on a Google map
|
|
13
|
+
|
|
14
|
+
`data-controller='map'` on an element sized for it, with the host's key and map ID in
|
|
15
|
+
`map-key-value` and `map-id-value`, draws the rows of a page: `map-places-value`, a list
|
|
16
|
+
of Google place IDs, filled in as areas on the boundary layer `map-boundary-value` names —
|
|
17
|
+
`POSTAL_CODE`, `ADMINISTRATIVE_AREA_LEVEL_2` — or pinned where no layer is named, and
|
|
18
|
+
`map-points-value`, a list of `[latitude, longitude]` pairs, pinned as they are. The map
|
|
19
|
+
is fitted round whatever it drew, and `.recourse-map` gives it the height a table takes.
|
|
20
|
+
Recourse's `.map` pages are what name it.
|
|
21
|
+
|
|
10
22
|
## 0.4.0 - 2026-09-14
|
|
11
23
|
|
|
12
24
|
* [Feature] `houseaccount_icons` names an app's icons on its own, and answers recourse's head
|
data/README.md
CHANGED
|
@@ -20,10 +20,10 @@ gem install houseaccount
|
|
|
20
20
|
|
|
21
21
|
```ruby
|
|
22
22
|
# Gemfile
|
|
23
|
-
gem 'houseaccount', '~> 0.
|
|
23
|
+
gem 'houseaccount', '~> 0.5.0'
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
`~> 0.
|
|
26
|
+
`~> 0.5.0` stops short of `0.6`, since below 1.0 a minor release may break whatever it likes.
|
|
27
27
|
Rails 8.1 and Ruby 3.2 are the minimum.
|
|
28
28
|
|
|
29
29
|
A page takes the gem's layout, and wears the same head:
|
|
@@ -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.
|
|
63
|
+
`/v0.5.0/`, 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
|
|
@@ -196,8 +196,8 @@ Those follow the latest release. Every release is also kept whole under its own
|
|
|
196
196
|
forever and cached for a year, for a page that would rather move on its own terms:
|
|
197
197
|
|
|
198
198
|
```html
|
|
199
|
-
<link rel='stylesheet' href='https://design.houseaccount.com/v0.
|
|
200
|
-
<script type='module' src='https://design.houseaccount.com/v0.
|
|
199
|
+
<link rel='stylesheet' href='https://design.houseaccount.com/v0.5.0/css/houseaccount.css'>
|
|
200
|
+
<script type='module' src='https://design.houseaccount.com/v0.5.0/js/houseaccount.js'></script>
|
|
201
201
|
```
|
|
202
202
|
|
|
203
203
|
A host with a Content Security Policy allows that origin for `style-src`, `script-src` and
|
data/lib/houseaccount/version.rb
CHANGED