trmnl_preview 0.16.0 → 0.17.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 +15 -0
- data/README.md +37 -0
- data/lib/trmnlp/browser_pool.rb +8 -8
- data/lib/trmnlp/cli.rb +7 -0
- data/lib/trmnlp/commands/test.rb +25 -0
- data/lib/trmnlp/config/project.rb +9 -6
- data/lib/trmnlp/config.rb +2 -2
- data/lib/trmnlp/context.rb +12 -4
- data/lib/trmnlp/errors.rb +1 -0
- data/lib/trmnlp/paths.rb +4 -2
- data/lib/trmnlp/poller.rb +20 -6
- data/lib/trmnlp/qr_code_intrinsic_size.rb +22 -0
- data/lib/trmnlp/renderer.rb +4 -1
- data/lib/trmnlp/screenshot.rb +23 -9
- data/lib/trmnlp/testing/browser.rb +87 -0
- data/lib/trmnlp/testing/certificate_authority.rb +84 -0
- data/lib/trmnlp/testing/device_models.rb +80 -0
- data/lib/trmnlp/testing/frozen_clock.rb +86 -0
- data/lib/trmnlp/testing/inline_stylesheets.rb +41 -0
- data/lib/trmnlp/testing/memory_sampler.rb +44 -0
- data/lib/trmnlp/testing/mock_proxy.rb +124 -0
- data/lib/trmnlp/testing/mock_table.rb +102 -0
- data/lib/trmnlp/testing/node_version.rb +27 -0
- data/lib/trmnlp/testing/plugin.rb +91 -0
- data/lib/trmnlp/testing/report.html.erb +79 -0
- data/lib/trmnlp/testing/report.rb +91 -0
- data/lib/trmnlp/testing/rspec.rb +89 -0
- data/lib/trmnlp/testing/run.rb +150 -0
- data/lib/trmnlp/testing/screen.rb +83 -0
- data/lib/trmnlp/testing/snapshot.rb +55 -0
- data/lib/trmnlp/transform_backend/subprocess.rb +8 -1
- data/lib/trmnlp/transform_pipeline.rb +5 -4
- data/lib/trmnlp/transform_state.rb +4 -1
- data/lib/trmnlp/version.rb +1 -1
- data/lib/trmnlp.rb +1 -0
- data/templates/init/.github/workflows/trmnl.yml +33 -2
- data/templates/init/.gitignore +3 -0
- data/templates/init/tests/plugin_spec.rb +32 -0
- data/trmnl_preview.gemspec +5 -0
- data/web/views/render_html.erb +1 -1
- metadata +62 -1
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trmnl_preview
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.17.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rockwell Schrock
|
|
@@ -149,6 +149,48 @@ dependencies:
|
|
|
149
149
|
- - "~>"
|
|
150
150
|
- !ruby/object:Gem::Version
|
|
151
151
|
version: '4.44'
|
|
152
|
+
- !ruby/object:Gem::Dependency
|
|
153
|
+
name: capybara
|
|
154
|
+
requirement: !ruby/object:Gem::Requirement
|
|
155
|
+
requirements:
|
|
156
|
+
- - "~>"
|
|
157
|
+
- !ruby/object:Gem::Version
|
|
158
|
+
version: '3.40'
|
|
159
|
+
type: :runtime
|
|
160
|
+
prerelease: false
|
|
161
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
162
|
+
requirements:
|
|
163
|
+
- - "~>"
|
|
164
|
+
- !ruby/object:Gem::Version
|
|
165
|
+
version: '3.40'
|
|
166
|
+
- !ruby/object:Gem::Dependency
|
|
167
|
+
name: rspec-core
|
|
168
|
+
requirement: !ruby/object:Gem::Requirement
|
|
169
|
+
requirements:
|
|
170
|
+
- - "~>"
|
|
171
|
+
- !ruby/object:Gem::Version
|
|
172
|
+
version: '3.13'
|
|
173
|
+
type: :runtime
|
|
174
|
+
prerelease: false
|
|
175
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
176
|
+
requirements:
|
|
177
|
+
- - "~>"
|
|
178
|
+
- !ruby/object:Gem::Version
|
|
179
|
+
version: '3.13'
|
|
180
|
+
- !ruby/object:Gem::Dependency
|
|
181
|
+
name: rspec-expectations
|
|
182
|
+
requirement: !ruby/object:Gem::Requirement
|
|
183
|
+
requirements:
|
|
184
|
+
- - "~>"
|
|
185
|
+
- !ruby/object:Gem::Version
|
|
186
|
+
version: '3.13'
|
|
187
|
+
type: :runtime
|
|
188
|
+
prerelease: false
|
|
189
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
190
|
+
requirements:
|
|
191
|
+
- - "~>"
|
|
192
|
+
- !ruby/object:Gem::Version
|
|
193
|
+
version: '3.13'
|
|
152
194
|
- !ruby/object:Gem::Dependency
|
|
153
195
|
name: oauth2
|
|
154
196
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -365,6 +407,7 @@ files:
|
|
|
365
407
|
- lib/trmnlp/commands/pull.rb
|
|
366
408
|
- lib/trmnlp/commands/push.rb
|
|
367
409
|
- lib/trmnlp/commands/serve.rb
|
|
410
|
+
- lib/trmnlp/commands/test.rb
|
|
368
411
|
- lib/trmnlp/config.rb
|
|
369
412
|
- lib/trmnlp/config/app.rb
|
|
370
413
|
- lib/trmnlp/config/plugin.rb
|
|
@@ -407,6 +450,7 @@ files:
|
|
|
407
450
|
- lib/trmnlp/outbound_request.rb
|
|
408
451
|
- lib/trmnlp/paths.rb
|
|
409
452
|
- lib/trmnlp/poller.rb
|
|
453
|
+
- lib/trmnlp/qr_code_intrinsic_size.rb
|
|
410
454
|
- lib/trmnlp/rails_helpers.rb
|
|
411
455
|
- lib/trmnlp/renderer.rb
|
|
412
456
|
- lib/trmnlp/reporter.rb
|
|
@@ -414,6 +458,22 @@ files:
|
|
|
414
458
|
- lib/trmnlp/screen_generator.rb
|
|
415
459
|
- lib/trmnlp/screenshot.rb
|
|
416
460
|
- lib/trmnlp/select_field_choices.rb
|
|
461
|
+
- lib/trmnlp/testing/browser.rb
|
|
462
|
+
- lib/trmnlp/testing/certificate_authority.rb
|
|
463
|
+
- lib/trmnlp/testing/device_models.rb
|
|
464
|
+
- lib/trmnlp/testing/frozen_clock.rb
|
|
465
|
+
- lib/trmnlp/testing/inline_stylesheets.rb
|
|
466
|
+
- lib/trmnlp/testing/memory_sampler.rb
|
|
467
|
+
- lib/trmnlp/testing/mock_proxy.rb
|
|
468
|
+
- lib/trmnlp/testing/mock_table.rb
|
|
469
|
+
- lib/trmnlp/testing/node_version.rb
|
|
470
|
+
- lib/trmnlp/testing/plugin.rb
|
|
471
|
+
- lib/trmnlp/testing/report.html.erb
|
|
472
|
+
- lib/trmnlp/testing/report.rb
|
|
473
|
+
- lib/trmnlp/testing/rspec.rb
|
|
474
|
+
- lib/trmnlp/testing/run.rb
|
|
475
|
+
- lib/trmnlp/testing/screen.rb
|
|
476
|
+
- lib/trmnlp/testing/snapshot.rb
|
|
417
477
|
- lib/trmnlp/transform_backend/http.rb
|
|
418
478
|
- lib/trmnlp/transform_backend/subprocess.rb
|
|
419
479
|
- lib/trmnlp/transform_backend/which.rb
|
|
@@ -437,6 +497,7 @@ files:
|
|
|
437
497
|
- templates/init/src/settings.yml
|
|
438
498
|
- templates/init/src/shared.liquid
|
|
439
499
|
- templates/init/src/transform.py.example
|
|
500
|
+
- templates/init/tests/plugin_spec.rb
|
|
440
501
|
- trmnl_preview.gemspec
|
|
441
502
|
- web/public/highlight/highlight.min.js
|
|
442
503
|
- web/public/highlight/styles/atom-one-dark.min.css
|