trmnl_preview 0.8.4 → 0.8.5
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 +4 -0
- data/lib/trmnlp/version.rb +1 -1
- data/lib/trmnlp.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a17153f7c4006dac8aaf9c0bd64e98c4c9a088ca454e10833bf2c7900e0b86cd
|
|
4
|
+
data.tar.gz: 39d9949a8be9e303360520b2020b7fa049ebd14def1a04fa9c4c9ecfa7b6c547
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a564054b286184663e21f9f60c3757e0207ca6f8be9a571e45150a32bd4546f4707f4e129aaa5bfe4403184fa7467031d3fa53bee41fad09232cfb37ca32fdb1
|
|
7
|
+
data.tar.gz: 19f8fab4f4bed1397592645a61b73fea89947887dff1e87f813d88c37db671d0a8a2e04fdd3e382726331a41fd30bd5ca0ab5519144ea63904bf370d21aeb6cc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
# Changelog
|
|
3
3
|
|
|
4
|
+
## 0.8.5
|
|
5
|
+
|
|
6
|
+
- Fixed `pluralize`, `number_with_delimiter`, and `number_to_currency` Liquid filters raising `Liquid error: internal`. `trmnl-liquid` 0.7 moved `RailsHelpers` behind an opt-in `load(:rails)`, but the filters still probed `RailsHelpers.respond_to?` against the now-undefined constant. Stubbing an empty module makes the probe return false so the bundled fallback implementations run. (#105)
|
|
7
|
+
|
|
4
8
|
## 0.8.4
|
|
5
9
|
|
|
6
10
|
- Fixed `trmnlp serve` hanging after switching between browser tabs. Live reload now uses `rack.hijack` so SSE connections release their Puma worker thread immediately instead of holding it for the lifetime of the tab.
|
data/lib/trmnlp/version.rb
CHANGED
data/lib/trmnlp.rb
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
module TRMNLP; end
|
|
4
4
|
require 'oj'
|
|
5
|
+
require 'trmnl/liquid'
|
|
5
6
|
Oj.mimic_JSON
|
|
7
|
+
TRMNL::Liquid::RailsHelpers = Module.new unless defined?(TRMNL::Liquid::RailsHelpers)
|
|
6
8
|
require_relative 'trmnlp/errors'
|
|
7
9
|
require_relative 'trmnlp/config'
|
|
8
10
|
require_relative 'trmnlp/context'
|