trmnlp-test 0.1.8 → 0.1.9

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: f44bc072151b6ff26853ba75705a03fca24f33aca527d952041b5810a29f270f
4
- data.tar.gz: 289b311c101bee94d1074ef800e94fca2cad7106b7a23a321a3731a79fdc2a57
3
+ metadata.gz: 84d2cd97b41e1d3db761ca1d130067087be4aa1156d7b13751016febc5d89940
4
+ data.tar.gz: ae11f0f1c1f79f7929ad727d574ac999ee61b0d61a1f9dc95e85f82f1ed0c1de
5
5
  SHA512:
6
- metadata.gz: ecd4fc52df5848ccd86db9f2d04939fdfc1d92da65265a90186a1655c99cb1c1f3887cc6e09920dcef8c9d2f57985f83920873caab488a8a59a90b512c0c2983
7
- data.tar.gz: 19bede68a387575e0ddde38002d32c7a76e13c92d4fc8c9b8aaaa1d6e7e930872a7d4d6f3f1b4fed10776bc3c8ddc88e055bb5e881c73907771d6fe85f32fe48
6
+ metadata.gz: 8b091b1b2087c7aecbd436d6c84950755fb314fe69556712363a153777027e2ea79e2be62ed2bfdefa2660b8049ab6396bd6ec7d5d8597985f010d93346c02bf
7
+ data.tar.gz: 9fe71979d5f011dbe49e81d04e98d3ee8af21a02b7f59e9f43690931a7ff3f566bddfeaea3778bc4203f1617f913d4a74b62d64120a131c2f4d977143448e197
data/README.md CHANGED
@@ -71,7 +71,7 @@ const { test, expect, matrix, VIEWS, DEVICES, FRAMEWORK } = require('trmnlp-test
71
71
  test('menu', async ({ trmnl }) => {
72
72
  const screen = await trmnl.render({
73
73
  device: 'og_plus', view: 'full', // any model, orientation: 'portrait', palette, theme, scale, textScale, fonts, framework
74
- darkMode: true, // as the server does it: everything inverted except images ('framework': the v3 class only)
74
+ darkMode: true, // the screen inverted, `.image` elements kept ('framework': the v3 class only)
75
75
  qr: 'server', // qr_code as TRMNL's server returns it (default); 'trmnlp', 'fixed'
76
76
  crlf: true, // the template with CR LF newlines (e.g. pasted markup)
77
77
  fields: { data_source: 'webhook' }, // custom field values (defaults + .trmnlp.yml + these)
@@ -119,5 +119,5 @@ See [docs/README.md](docs/README.md) for diagrams of the components, a render, s
119
119
  ## Examples and self-tests
120
120
 
121
121
  - `examples/payment-qr`: the earlier webhook + serverless version of the payment QR plugin (the current version tests itself with trmnlp-test in its own repository).
122
- - `test/self/trmnlp-vs-trmnl.spec.js`: where trmnlp renders differently from TRMNL, as tests that fail on trmnlp's behaviour (marked `test.fail`, so they turn red once trmnlp matches). `TRMNLP_TEST_SHOW_DIFFERENCES=1` prints the failures.
122
+ - `test/self/trmnlp-vs-trmnl.spec.js`: where trmnlp's `qr_code` renders differently from TRMNL, as tests that fail on trmnlp's behaviour (marked `test.fail`, so they turn red once trmnlp matches). `TRMNLP_TEST_SHOW_DIFFERENCES=1` prints the failures.
123
123
  - `test/self`: fixture plugins for every strategy and language (86 tests). Run with `bin/trmnlp-test run --root test/self`.
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TrmnlpTest
4
- VERSION = '0.1.8'
4
+ VERSION = '0.1.9'
5
5
  IMAGE = 'ghcr.io/excusemi/trmnlp-test'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trmnlp-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - ExcuseMi