maplibre-preview 1.4.1 → 1.4.2

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: c77ead5ccf5ff35082ce55f81de3ac6edc8cfe20b468b5bd96120fc1c3e1a3ea
4
- data.tar.gz: 45e3418367216b9beed3c90ba0972bd52f1be2272ea0430a4a14d81d088660fd
3
+ metadata.gz: 630e423a234221fc57727eab15f8da81a51a1513e7ce5e03260d1a15eaf59b7e
4
+ data.tar.gz: 1437740152c9f37c8cd98cae7fb7e3975775cc28b63e13a9636bb8fd5c5a3312
5
5
  SHA512:
6
- metadata.gz: 42b45e964f3935c8e8a351ab504b357aec1794f365c19b8d8fffb6d26dd9e2b37e08675400eac1ff1d438ea8e393b4d5dc4d563d431dcd456c48aee68140817a
7
- data.tar.gz: 62dd94272a2ec97175bddc53308eb4f36dc0de7a21cb086c0220fab40029d400556cda5b9c9a833fda106408d38c75705b3f50689ae325ee9b9cf7f073a4747e
6
+ metadata.gz: 5de2a58c6d19d0359f11880a9884d9eb4e9f233c01351089a36ad08be19f21bf80005af5a80e73e2933f90f3d8ea71c548239dfcd780a30bf0cc16f8690a5ce2
7
+ data.tar.gz: da0595e076e6a5ed7378ae033edf7d9557a47c87df7af44a30ee8f0218ab0b169a9e997346f575aceef224c8d4f33a3bfa333371bff02111d5fdd59d332dd3d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.2] - 2026-04-23
4
+
5
+ ### Changed
6
+ - **Bundled frontend libraries** - vendored MapLibre GL JS, MapLibre Contour, and D3 into gem public assets
7
+ - **Offline-safe UI assets** - replaced CDN references with local `/vendor/...` asset paths served by the gem
8
+
3
9
  ## [1.4.1] - 2025-12-17
4
10
 
5
11
  ### Fixed
data/README.md CHANGED
@@ -30,7 +30,7 @@ The gem consists of several integrated components:
30
30
 
31
31
  1. **Sinatra Integration** → Register extension → Configure options → Use helpers
32
32
  2. **Asset Serving** → StaticMiddleware intercepts `/js/*` requests → Serves from gem
33
- 3. **Map Rendering** → Helper methods render Slim templates → Include external dependencies
33
+ 3. **Map Rendering** → Helper methods render Slim templates → Include bundled frontend assets
34
34
  4. **Client Interaction** → JavaScript modules handle filtering and terrain features
35
35
 
36
36
  ## Quick Start
@@ -141,7 +141,7 @@ The gem provides Slim templates that can be used directly in your routes:
141
141
  | Template | Description | Usage |
142
142
  |----------|-------------|-------|
143
143
  | `maplibre_map` | Main map interface template | `slim :maplibre_map, layout: :maplibre_layout` |
144
- | `maplibre_layout` | HTML layout with external dependencies | Used as layout for map template |
144
+ | `maplibre_layout` | HTML layout with bundled frontend assets | Used as layout for map template |
145
145
 
146
146
  ### Standalone Application
147
147
 
@@ -309,4 +309,4 @@ end
309
309
 
310
310
  ## License
311
311
 
312
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
312
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.