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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 319d9ebb96bf0d727fc55eae76537b3dc1b7020f1998a3166fe8b9abf3a9d46b
4
- data.tar.gz: 2ab4ff9df10a0bfebf212d00d3fb72926fe55e98fb151953e46172740a4c70f8
3
+ metadata.gz: e940a284d7295b6c3945f86e2d5d99cff64c0f6474b9bdda190c41d782ac95c3
4
+ data.tar.gz: 826e327eca8b704721e5e3e887d947d3ad714b9130bf006fd80b5a2dae803e5a
5
5
  SHA512:
6
- metadata.gz: 611605798bfb399f19931914a1487e128a193c3e006c33a5771e18775fa20a4a035f526f1e9616ed02bc5611ba61776b8b8eedef210a4cb438d5a57ae4e9e0e1
7
- data.tar.gz: 0661a634ec3280f1a6d1d53fddb7c7df37035cb4f34d35fac7bc705a69edd99ca5e809675930b8374a1a8b509dc2500a04a0059a8e3f09d4b181578201f155da
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.4.0'
23
+ gem 'houseaccount', '~> 0.5.0'
24
24
  ```
25
25
 
26
- `~> 0.4.0` stops short of `0.5`, since below 1.0 a minor release may break whatever it likes.
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.4.0/`, which is what the head helper links, cached for a year — answers a 400, 404, 406, 422 or 500
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.4.0/css/houseaccount.css'>
200
- <script type='module' src='https://design.houseaccount.com/v0.4.0/js/houseaccount.js'></script>
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
@@ -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.4.0'
3
+ VERSION = '0.5.0'
4
4
  end