maplibre-preview 1.2.4 → 1.2.6

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: c014b48eb6865531f00686bfefe9994d6a3a13c6f1b489db0108b685cb265cb1
4
- data.tar.gz: 06acc3ebcb2854e37781a1fc37859e5b114f0a51f2c3123498aa251c7f8a7758
3
+ metadata.gz: '0698bfdbdb73c31f1003d492304e6fbea7e5b83d732cd75b8e41c89eb0845a4b'
4
+ data.tar.gz: 3ebf48952e34b7280d5c5fc639303010b96c77aacd9c23934fee303af386b2df
5
5
  SHA512:
6
- metadata.gz: '0019e4a9dcc04d061ac10cb0742b45a1a65da75e6e777b4c98be3f660d135f85add8bbbf8d4f31cf08fb407fc68501742b90ecd681aa4e239b6b27a8367e093f'
7
- data.tar.gz: 504f58c1450d8b6e569f48b5bf6ee6df496edd2a87cf61f5d76597cdcf3c54d1bcd86978c7dea3d89769537667201f4acfc48a364629f03982b08839ab01390c
6
+ metadata.gz: 70523766f55c3d27ea2b2fa2040baf6594538035e1a0a4fceed4aaf981e7536980b1794f20e79209d1f94bd25558a20253e7adc2dedb0c32e2b1cd70112ea000
7
+ data.tar.gz: 0b7aa828bf336435f1f12fc71ca1114afadecca53d7dc811daa03e4eadc3ba2b41d4172324318d8f23cf4be6ea156cbc8fb2fd8724d4332f1e930701710afef4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.2.6] - 2025-10-07
4
+
5
+ ### Added
6
+ - **Version info panel** in bottom-right corner with gem name and version link to GitHub
7
+
8
+ ## [1.2.5] - 2025-10-07
9
+
10
+ ### Added
11
+ - **Development server startup** with `if __FILE__ == $0` pattern for direct gem execution
12
+ - **IntelliJ IDEA integration** support for running gem from source code during development
13
+
14
+ ### Technical Changes
15
+ - **Direct execution support** - gem can now be run directly with `ruby lib/maplibre-preview.rb`
16
+ - **Development workflow improvement** - no need to build gem for testing changes
17
+ - **Port configuration** - development server runs on port 9292 by default
18
+
3
19
  ## [1.2.4] - 2025-10-05
4
20
 
5
21
  ### Added
@@ -1,3 +1,3 @@
1
1
  module MapLibrePreview
2
- VERSION = '1.2.4'
2
+ VERSION = '1.2.6'
3
3
  end
@@ -324,6 +324,25 @@ html
324
324
  | .profile-tooltip-line { stroke: #ff0000; stroke-width: 1; stroke-dasharray: 3,3; }
325
325
  | .profile-tooltip-circle { fill: #ff0000; r: 4; }
326
326
  | .profile-tooltip-text { text-anchor: middle; fill: #ff0000; font-size: 14px; }
327
+ | .version-info {
328
+ | position: fixed; bottom: 10px; right: 10px; z-index: 1000;
329
+ | color: #a9b7c6; font-size: 13px; line-height: 1.3;
330
+ | text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
331
+ | user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none;
332
+ | }
333
+ | .version-info-title {
334
+ | color: #ffc66d; font-weight: bold;
335
+ | font-size: 12px;
336
+ | }
337
+ | .version-info-version {
338
+ | color: #6897bb; font-family: 'Courier New', monospace; text-decoration: none;
339
+ | transition: color 0.2s ease;
340
+ | font-size: 13px;
341
+ | user-select: auto; -webkit-user-select: auto; -moz-user-select: auto; -ms-user-select: auto;
342
+ | }
343
+ | .version-info-version:hover {
344
+ | color: #7aa8cc; text-decoration: underline;
345
+ | }
327
346
  body
328
347
  .container
329
348
  == yield
@@ -34,6 +34,10 @@ ruby:
34
34
  #map-container
35
35
  #map.map-layer data-style-url="#{style_url}"
36
36
 
37
+ #version-info.version-info
38
+ span.version-info-title MapLibre Preview
39
+ a.version-info-version href="https://github.com/artyomb/maplibre-preview" target="_blank" v#{MapLibrePreview::VERSION}
40
+
37
41
  #performance-panel.performance-overlay
38
42
  button.performance-toggle onclick="togglePerformancePanel()" ×
39
43
  .performance-content
@@ -52,3 +52,9 @@ module MapLibrePreview
52
52
  end
53
53
 
54
54
  Sinatra.register MapLibrePreview::Extension
55
+
56
+ # Development server startup
57
+ if __FILE__ == $0
58
+ puts "Starting MapLibre Preview development server..."
59
+ MapLibrePreview::App.run!(port: 9292, host: '0.0.0.0')
60
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maplibre-preview
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Ludov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-05 00:00:00.000000000 Z
11
+ date: 2025-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puma