trmnl_preview 0.7.0 → 0.7.1
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 +4 -4
- data/CHANGELOG.md +5 -5
- data/README.md +3 -3
- data/bin/trmnlp +1 -1
- data/lib/trmnlp/config/app.rb +1 -1
- data/lib/trmnlp/version.rb +1 -1
- data/templates/init/src/settings.yml +1 -1
- data/web/public/trmnl-picker.js +2 -2
- data/web/views/render_html.erb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f442804907f15903eb4e5f543ad94eb18fdef92f82d191e67c4554621ca3c74
|
|
4
|
+
data.tar.gz: 0e8df9b455430254cc007c28e9799155b6e75cccc675fd9790e9a260e998c84a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae89a85a00a4b5719128dc4e198cda157085c905b914a3f30ebf14b17f7c2ff3d3c4f87552e0c455d0691671998c003b019cf34dd5f948859f64749f05b615c0
|
|
7
|
+
data.tar.gz: 59642ee5f4741bf88fbcedcdcc8af927ed80127b044afdc464144e660a283c055dd395d8e579d97b58b001e7f441ecafe63a838bb90f9ea6cc2ed4ea3f8aff69
|
data/CHANGELOG.md
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
## 0.5.3
|
|
57
57
|
|
|
58
|
-
- Added support for [reusable markup](https://docs.
|
|
58
|
+
- Added support for [reusable markup](https://docs.trmnl.com/go/reusing-markup) in `shared.liquid`
|
|
59
59
|
- Replaced custom case images with [\<trmnl-frame\> component](https://github.com/usetrmnl/trmnl-component)
|
|
60
60
|
- Updated custom Liquid filters
|
|
61
61
|
- Added API key validation during `trmnlp login`
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
## 0.5.2
|
|
64
64
|
|
|
65
65
|
- Added `time_zone` project config option, which is injected into `trmnl.user` variables
|
|
66
|
-
- Fixed time zone to always be UTC, matching
|
|
66
|
+
- Fixed time zone to always be UTC, matching trmnl.com servers (#38)
|
|
67
67
|
|
|
68
68
|
## 0.5.1
|
|
69
69
|
|
|
@@ -81,13 +81,13 @@
|
|
|
81
81
|
|
|
82
82
|
### Plugin Migration Strategy
|
|
83
83
|
|
|
84
|
-
The plugin directory structure has changed to better align with the [plugin archive format](https://help.
|
|
84
|
+
The plugin directory structure has changed to better align with the [plugin archive format](https://help.trmnl.com/en/articles/10542599-importing-and-exporting-private-plugins#h_581fb988f0).
|
|
85
85
|
|
|
86
86
|
Here is a migration strategy for existing plugin repositories:
|
|
87
87
|
|
|
88
88
|
1. Create `.trmnlp.yml` and bring over preview settings from `config.toml` - [see README](README.md)
|
|
89
89
|
2. Rename directory `views/` to `src/`
|
|
90
|
-
3. Create `src/settings.yml` and bring over plugin settings from `config.toml` - [see TRMNL docs](https://help.
|
|
90
|
+
3. Create `src/settings.yml` and bring over plugin settings from `config.toml` - [see TRMNL docs](https://help.trmnl.com/en/articles/10542599-importing-and-exporting-private-plugins#h_581fb988f0)
|
|
91
91
|
4. Delete `config.toml`
|
|
92
92
|
|
|
93
93
|
### Changes
|
|
@@ -112,7 +112,7 @@ Here is a migration strategy for existing plugin repositories:
|
|
|
112
112
|
## 0.3.2
|
|
113
113
|
|
|
114
114
|
- Add bitmap rendering
|
|
115
|
-
- Add TRMNL's [custom plugin filters](https://help.
|
|
115
|
+
- Add TRMNL's [custom plugin filters](https://help.trmnl.com/en/articles/10347358-custom-plugin-filters)
|
|
116
116
|
- Add support for user-supplied custom filters
|
|
117
117
|
|
|
118
118
|
## 0.3.1
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# trmnlp
|
|
2
2
|
|
|
3
|
-
A basic self-hosted web server to ease the development and sharing of [TRMNL](https://
|
|
3
|
+
A basic self-hosted web server to ease the development and sharing of [TRMNL](https://trmnl.com/) plugins.
|
|
4
4
|
|
|
5
|
-
[Liquid](https://shopify.github.io/liquid/) templates are rendered leveraging the [TRMNL Design System](https://
|
|
5
|
+
[Liquid](https://shopify.github.io/liquid/) templates are rendered leveraging the [TRMNL Design System](https://trmnl.com/framework). They may be generated as HTML (faster, and a good approximation of the final result) or as PNG images (slower, but more accurate).
|
|
6
6
|
|
|
7
7
|
Custom Liquid filters and tags are provided by the [trmnl-liquid](https://github.com/usetrmnl/trmnl-liquid) gem.
|
|
8
8
|
|
|
@@ -124,7 +124,7 @@ variables:
|
|
|
124
124
|
|
|
125
125
|
The `settings.yml` file is part of the plugin definition.
|
|
126
126
|
|
|
127
|
-
See [TRMNL documentation](https://help.
|
|
127
|
+
See [TRMNL documentation](https://help.trmnl.com/en/articles/10542599-importing-and-exporting-private-plugins#h_581fb988f0) for details on this file's contents.
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
## Tests
|
data/bin/trmnlp
CHANGED
data/lib/trmnlp/config/app.rb
CHANGED
data/lib/trmnlp/version.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#
|
|
2
2
|
# Changes to this file will be overwritten by `trmnlp pull`.
|
|
3
3
|
#
|
|
4
|
-
# Docs: https://help.
|
|
4
|
+
# Docs: https://help.trmnl.com/en/articles/10542599-importing-and-exporting-private-plugins#h_581fb988f0
|
|
5
5
|
#
|
|
6
6
|
---
|
|
7
7
|
strategy: polling
|
data/web/public/trmnl-picker.js
CHANGED
|
@@ -26,7 +26,7 @@ var TRMNLPicker = (() => {
|
|
|
26
26
|
var _API_CACHE_KEY = "trmnl-picker-api-cache";
|
|
27
27
|
var _CACHE_TTL_MS = 24 * 60 * 60 * 1e3;
|
|
28
28
|
var TRMNLPicker = class _TRMNLPicker {
|
|
29
|
-
static API_BASE_URL = "https://
|
|
29
|
+
static API_BASE_URL = "https://trmnl.com";
|
|
30
30
|
/**
|
|
31
31
|
* Get cached API response from localStorage
|
|
32
32
|
* @private
|
|
@@ -652,5 +652,5 @@ var TRMNLPicker = (() => {
|
|
|
652
652
|
var src_default = TRMNLPicker;
|
|
653
653
|
return __toCommonJS(src_exports);
|
|
654
654
|
})();
|
|
655
|
-
TRMNLPicker=TRMNLPicker.default;
|
|
655
|
+
TRMNLPicker = TRMNLPicker.default;
|
|
656
656
|
//# sourceMappingURL=trmnl-picker.js.map
|
data/web/views/render_html.erb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
|
-
<link rel="stylesheet" href="https://
|
|
5
|
-
<script src="https://
|
|
4
|
+
<link rel="stylesheet" href="https://trmnl.com/css/latest/plugins.css" />
|
|
5
|
+
<script src="https://trmnl.com/js/latest/plugins.js"></script>
|
|
6
6
|
|
|
7
7
|
<!-- Begin Inter font -->
|
|
8
8
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trmnl_preview
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rockwell Schrock
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-02-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: sinatra
|