maplibre-preview 1.4.1 → 1.4.3

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: ff0508a77186b4b42b987de36d9f307556f182cd184d62a206963d211719963f
4
+ data.tar.gz: d547c84b4b1ca39ffe52b065a493dbec416d6aa5c5829c401bcafebd0dd9ad6f
5
5
  SHA512:
6
- metadata.gz: 42b45e964f3935c8e8a351ab504b357aec1794f365c19b8d8fffb6d26dd9e2b37e08675400eac1ff1d438ea8e393b4d5dc4d563d431dcd456c48aee68140817a
7
- data.tar.gz: 62dd94272a2ec97175bddc53308eb4f36dc0de7a21cb086c0220fab40029d400556cda5b9c9a833fda106408d38c75705b3f50689ae325ee9b9cf7f073a4747e
6
+ metadata.gz: 61b409020f21b43cf1b7cdb75ff6ea28980927d73cd60aa9e3acb7105eda17b9843c2789ef6eaa03437c8068b028441c01f78487b5e8df294fe0aecae478d4c1
7
+ data.tar.gz: b066ef7e588b70d8ececa8eb3d90c66dae571f2ec15082dc2859b27ac3834d605b35f6e5722f4684fd0ba21ab21d45b21423de82794f3ae9d7f03a5459b849c4
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.