maplibre-preview 1.2.4 → 1.2.7

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: 435a1fa5a333e26e727a36278e76340f0d3dd7599dc981c1b8bf756d541a208e
4
+ data.tar.gz: 0f6a6667ca6065865e9cd14642a4b63850cb271e3a416fec598a8e15e4c6ae9d
5
5
  SHA512:
6
- metadata.gz: '0019e4a9dcc04d061ac10cb0742b45a1a65da75e6e777b4c98be3f660d135f85add8bbbf8d4f31cf08fb407fc68501742b90ecd681aa4e239b6b27a8367e093f'
7
- data.tar.gz: 504f58c1450d8b6e569f48b5bf6ee6df496edd2a87cf61f5d76597cdcf3c54d1bcd86978c7dea3d89769537667201f4acfc48a364629f03982b08839ab01390c
6
+ metadata.gz: 7fec8cd86f4f8b66fd4400ec2a3fcc8983a1a9042f9754d12b22f8f353e55790c4ff6a395d1ff70f304cc502391ba2eb3a7754ea353f3ebe1bdffc2632341eec
7
+ data.tar.gz: dd9b8db806f1a62b90841b38c56b024897bc95c448899e2cf9b02426a05090b12ef0f207671f9c6c95b85bb159797979ea8591605f204bda06dab417559dcc8d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.2.7] - 2025-10-20
4
+
5
+ ### Fixed
6
+ - **Puma dependency conflict** - moved Puma from runtime to development dependencies
7
+
8
+ ## [1.2.6] - 2025-10-07
9
+
10
+ ### Added
11
+ - **Version info panel** in bottom-right corner with gem name and version link to GitHub
12
+
13
+ ## [1.2.5] - 2025-10-07
14
+
15
+ ### Added
16
+ - **Development server startup** with `if __FILE__ == $0` pattern for direct gem execution
17
+ - **IntelliJ IDEA integration** support for running gem from source code during development
18
+
19
+ ### Technical Changes
20
+ - **Direct execution support** - gem can now be run directly with `ruby lib/maplibre-preview.rb`
21
+ - **Development workflow improvement** - no need to build gem for testing changes
22
+ - **Port configuration** - development server runs on port 9292 by default
23
+
3
24
  ## [1.2.4] - 2025-10-05
4
25
 
5
26
  ### Added
@@ -1,3 +1,3 @@
1
1
  module MapLibrePreview
2
- VERSION = '1.2.4'
2
+ VERSION = '1.2.7'
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,35 +1,15 @@
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.7
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-20 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: puma
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '6.0'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '7.0'
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '6.0'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '7.0'
33
13
  - !ruby/object:Gem::Dependency
34
14
  name: rack
35
15
  requirement: !ruby/object:Gem::Requirement
@@ -104,6 +84,26 @@ dependencies:
104
84
  - - "~>"
105
85
  - !ruby/object:Gem::Version
106
86
  version: '2.0'
87
+ - !ruby/object:Gem::Dependency
88
+ name: puma
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '6.0'
94
+ - - "<"
95
+ - !ruby/object:Gem::Version
96
+ version: '7.0'
97
+ type: :development
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '6.0'
104
+ - - "<"
105
+ - !ruby/object:Gem::Version
106
+ version: '7.0'
107
107
  - !ruby/object:Gem::Dependency
108
108
  name: rack-test
109
109
  requirement: !ruby/object:Gem::Requirement