inky-rb 1.4.2.0 → 1.4.2.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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/inky/rails/version.rb +1 -1
  3. data/lib/inky.rb +3 -0
  4. data/spec/test_app/log/test.log +81 -5345
  5. metadata +3 -77
  6. data/spec/_cases_output/button/no_link.inky +0 -1
  7. data/spec/_cases_output/button/with_expand_class.inky +0 -4
  8. data/spec/_cases_output/button/with_extra_attr.inky +0 -3
  9. data/spec/_cases_output/button/with_image.inky +0 -3
  10. data/spec/_cases_output/button/with_link.inky +0 -3
  11. data/spec/_cases_output/button/with_link_and_extra_attr.inky +0 -3
  12. data/spec/_cases_output/button/with_tricky_class.inky +0 -22
  13. data/spec/_cases_output/callout/basic.inky +0 -1
  14. data/spec/_cases_output/callout/with_attributes.inky +0 -3
  15. data/spec/_cases_output/general/empty_attributes.inky +0 -6
  16. data/spec/_cases_output/general/multiple_root.inky +0 -2
  17. data/spec/_cases_output/general/no_tag.inky +0 -1
  18. data/spec/_cases_output/general/root_within_text.inky +0 -7
  19. data/spec/_cases_output/general/void_html_elements.inky +0 -6
  20. data/spec/_cases_output/grid/columns.inky +0 -2
  21. data/spec/_cases_output/grid/container.inky +0 -1
  22. data/spec/_cases_output/grid/container_with_align.inky +0 -1
  23. data/spec/_cases_output/grid/row.inky +0 -1
  24. data/spec/_cases_output/grid/row_with_columns.inky +0 -5
  25. data/spec/_cases_output/h_line/basic.inky +0 -1
  26. data/spec/_cases_output/h_line/h_line.inky +0 -2
  27. data/spec/_cases_output/h_line/multiple.inky +0 -3
  28. data/spec/_cases_output/h_line/with_attr.inky +0 -1
  29. data/spec/_cases_output/menu/item.inky +0 -1
  30. data/spec/_cases_output/menu/menu.inky +0 -2
  31. data/spec/_cases_output/menu/menu_with_align.inky +0 -2
  32. data/spec/_cases_output/menu/menu_with_items.inky +0 -5
  33. data/spec/_cases_output/spacer/basic.inky +0 -5
  34. data/spec/_cases_output/spacer/with_attr.inky +0 -6
  35. data/spec/_cases_output/spacer/with_size.inky +0 -5
  36. data/spec/_cases_output/spacer/with_size_lg.inky +0 -5
  37. data/spec/_cases_output/spacer/with_size_sm.inky +0 -5
  38. data/spec/_cases_output/spacer/with_size_sm_and_lg.inky +0 -5
  39. data/spec/_cases_output/spacer/with_sizes_and_attr.inky +0 -6
  40. data/spec/_cases_output/wrapper/basic.inky +0 -1
  41. data/spec/_cases_output/wrapper/with_align.inky +0 -1
  42. data/spec/_cases_output/wrapper/with_attributes.inky +0 -1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inky-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2.0
4
+ version: 1.4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foundation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-07 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foundation_emails
@@ -167,43 +167,6 @@ files:
167
167
  - lib/inky/rails/engine.rb
168
168
  - lib/inky/rails/template_handler.rb
169
169
  - lib/inky/rails/version.rb
170
- - spec/_cases_output/button/no_link.inky
171
- - spec/_cases_output/button/with_expand_class.inky
172
- - spec/_cases_output/button/with_extra_attr.inky
173
- - spec/_cases_output/button/with_image.inky
174
- - spec/_cases_output/button/with_link.inky
175
- - spec/_cases_output/button/with_link_and_extra_attr.inky
176
- - spec/_cases_output/button/with_tricky_class.inky
177
- - spec/_cases_output/callout/basic.inky
178
- - spec/_cases_output/callout/with_attributes.inky
179
- - spec/_cases_output/general/empty_attributes.inky
180
- - spec/_cases_output/general/multiple_root.inky
181
- - spec/_cases_output/general/no_tag.inky
182
- - spec/_cases_output/general/root_within_text.inky
183
- - spec/_cases_output/general/void_html_elements.inky
184
- - spec/_cases_output/grid/columns.inky
185
- - spec/_cases_output/grid/container.inky
186
- - spec/_cases_output/grid/container_with_align.inky
187
- - spec/_cases_output/grid/row.inky
188
- - spec/_cases_output/grid/row_with_columns.inky
189
- - spec/_cases_output/h_line/basic.inky
190
- - spec/_cases_output/h_line/h_line.inky
191
- - spec/_cases_output/h_line/multiple.inky
192
- - spec/_cases_output/h_line/with_attr.inky
193
- - spec/_cases_output/menu/item.inky
194
- - spec/_cases_output/menu/menu.inky
195
- - spec/_cases_output/menu/menu_with_align.inky
196
- - spec/_cases_output/menu/menu_with_items.inky
197
- - spec/_cases_output/spacer/basic.inky
198
- - spec/_cases_output/spacer/with_attr.inky
199
- - spec/_cases_output/spacer/with_size.inky
200
- - spec/_cases_output/spacer/with_size_lg.inky
201
- - spec/_cases_output/spacer/with_size_sm.inky
202
- - spec/_cases_output/spacer/with_size_sm_and_lg.inky
203
- - spec/_cases_output/spacer/with_sizes_and_attr.inky
204
- - spec/_cases_output/wrapper/basic.inky
205
- - spec/_cases_output/wrapper/with_align.inky
206
- - spec/_cases_output/wrapper/with_attributes.inky
207
170
  - spec/cases/button/no_link.inky
208
171
  - spec/cases/button/with_expand_class.inky
209
172
  - spec/cases/button/with_extra_attr.inky
@@ -307,49 +270,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
307
270
  - !ruby/object:Gem::Version
308
271
  version: '0'
309
272
  requirements: []
310
- rubygems_version: 3.2.3
273
+ rubygems_version: 3.4.10
311
274
  signing_key:
312
275
  specification_version: 4
313
276
  summary: Inky is an HTML-based templating language that converts simple HTML into
314
277
  complex, responsive email-ready HTML. Designed for Foundation for Emails
315
278
  test_files:
316
- - spec/_cases_output/button/no_link.inky
317
- - spec/_cases_output/button/with_expand_class.inky
318
- - spec/_cases_output/button/with_extra_attr.inky
319
- - spec/_cases_output/button/with_image.inky
320
- - spec/_cases_output/button/with_link.inky
321
- - spec/_cases_output/button/with_link_and_extra_attr.inky
322
- - spec/_cases_output/button/with_tricky_class.inky
323
- - spec/_cases_output/callout/basic.inky
324
- - spec/_cases_output/callout/with_attributes.inky
325
- - spec/_cases_output/general/empty_attributes.inky
326
- - spec/_cases_output/general/multiple_root.inky
327
- - spec/_cases_output/general/no_tag.inky
328
- - spec/_cases_output/general/root_within_text.inky
329
- - spec/_cases_output/general/void_html_elements.inky
330
- - spec/_cases_output/grid/columns.inky
331
- - spec/_cases_output/grid/container.inky
332
- - spec/_cases_output/grid/container_with_align.inky
333
- - spec/_cases_output/grid/row.inky
334
- - spec/_cases_output/grid/row_with_columns.inky
335
- - spec/_cases_output/h_line/basic.inky
336
- - spec/_cases_output/h_line/h_line.inky
337
- - spec/_cases_output/h_line/multiple.inky
338
- - spec/_cases_output/h_line/with_attr.inky
339
- - spec/_cases_output/menu/item.inky
340
- - spec/_cases_output/menu/menu.inky
341
- - spec/_cases_output/menu/menu_with_align.inky
342
- - spec/_cases_output/menu/menu_with_items.inky
343
- - spec/_cases_output/spacer/basic.inky
344
- - spec/_cases_output/spacer/with_attr.inky
345
- - spec/_cases_output/spacer/with_size.inky
346
- - spec/_cases_output/spacer/with_size_lg.inky
347
- - spec/_cases_output/spacer/with_size_sm.inky
348
- - spec/_cases_output/spacer/with_size_sm_and_lg.inky
349
- - spec/_cases_output/spacer/with_sizes_and_attr.inky
350
- - spec/_cases_output/wrapper/basic.inky
351
- - spec/_cases_output/wrapper/with_align.inky
352
- - spec/_cases_output/wrapper/with_attributes.inky
353
279
  - spec/cases/button/no_link.inky
354
280
  - spec/cases/button/with_expand_class.inky
355
281
  - spec/cases/button/with_extra_attr.inky
@@ -1 +0,0 @@
1
- <table class="button"><tbody><tr><td><table><tbody><tr><td>I'm missing an href</td></tr></tbody></table></td></tr></tbody></table>
@@ -1,4 +0,0 @@
1
- <table class="button expand foo"><tbody><tr><td><table><tbody><tr><td><center><a href="http://example.com" align="center" class="float-center">
2
- A label
3
- </a></center></td></tr></tbody></table></td>
4
- <td class="expander"></td></tr></tbody></table>
@@ -1,3 +0,0 @@
1
- <table class="button"><tbody><tr><td><table><tbody><tr><td>
2
- A label
3
- </td></tr></tbody></table></td></tr></tbody></table>
@@ -1,3 +0,0 @@
1
- <table class="button"><tbody><tr><td><table><tbody><tr><td><a href="#">
2
- <img src="http://www.example.com/" width="600" height="400">
3
- </a></td></tr></tbody></table></td></tr></tbody></table>
@@ -1,3 +0,0 @@
1
- <table class="button some classes"><tbody><tr><td><table><tbody><tr><td><a href="http://example.com">
2
- A label
3
- </a></td></tr></tbody></table></td></tr></tbody></table>
@@ -1,3 +0,0 @@
1
- <table class="button"><tbody><tr><td><table><tbody><tr><td><a foo="bar" href="http://example.com">
2
- A label
3
- </a></td></tr></tbody></table></td></tr></tbody></table>
@@ -1,22 +0,0 @@
1
- <table class="button noexpand"><tbody><tr><td><table><tbody><tr><td><a href="http://example.com">
2
- A label
3
- </a></td></tr></tbody></table></td></tr></tbody></table>
4
-
5
- <table class="button expand-niet"><tbody><tr><td><table><tbody><tr><td><a href="http://example.com">
6
- A label
7
- </a></td></tr></tbody></table></td></tr></tbody></table>
8
-
9
- <table class="button expand foo"><tbody><tr><td><table><tbody><tr><td><center><a href="http://example.com" align="center" class="float-center">
10
- A label
11
- </a></center></td></tr></tbody></table></td>
12
- <td class="expander"></td></tr></tbody></table>
13
-
14
- <table class="button foo expand"><tbody><tr><td><table><tbody><tr><td><center><a href="http://example.com" align="center" class="float-center">
15
- A label
16
- </a></center></td></tr></tbody></table></td>
17
- <td class="expander"></td></tr></tbody></table>
18
-
19
- <table class="button foo expand bar"><tbody><tr><td><table><tbody><tr><td><center><a href="http://example.com" align="center" class="float-center">
20
- A label
21
- </a></center></td></tr></tbody></table></td>
22
- <td class="expander"></td></tr></tbody></table>
@@ -1 +0,0 @@
1
- <table class="callout"><tbody><tr><th class="callout-inner">Simple callout</th><th class="expander"></th></tr></tbody></table>
@@ -1,3 +0,0 @@
1
- <table foo="bar" class="callout"><tbody><tr><th class="callout-inner some klasses">
2
- <p>I'm in a callout!</p>
3
- </th><th class="expander"></th></tr></tbody></table>
@@ -1,6 +0,0 @@
1
- <!-- pending -->
2
-
3
- <table class="button"><tr><td><table><tr><td>
4
- <span data-foo="" data-bar="">
5
- </span></td></tr></table></td></tr></table>
6
-
@@ -1,2 +0,0 @@
1
- <table class="callout"><tbody><tr><th class="callout-inner">Hey</th><th class="expander"></th></tr></tbody></table>
2
- <table class="callout"><tbody><tr><th class="callout-inner">You</th><th class="expander"></th></tr></tbody></table>
@@ -1 +0,0 @@
1
- Very simple test...
@@ -1,7 +0,0 @@
1
- Text before
2
- <table class="callout"><tbody><tr><th class="callout-inner">Ho</th><th class="expander"></th></tr></tbody></table>
3
- Text after
4
- <table class="callout"><tbody><tr><th class="callout-inner">Ho</th><th class="expander"></th></tr></tbody></table>
5
- Text after
6
- <table class="callout"><tbody><tr><th class="callout-inner">Ho</th><th class="expander"></th></tr></tbody></table>
7
- Text after
@@ -1,6 +0,0 @@
1
- <table class="callout"><tbody><tr><th class="callout-inner">
2
- Hello
3
- <br>
4
- Here's an image:
5
- <img src="http://www.example.com" width="400" height="200">
6
- </th><th class="expander"></th></tr></tbody></table>
@@ -1,2 +0,0 @@
1
- <th class="some classes small-12 large-12 columns first last" foo="bar"><table><tbody><tr><th>First column</th>
2
- <th class="expander"></th></tr></tbody></table></th>
@@ -1 +0,0 @@
1
- <table foo="bar" align="center" class="container klass"><tbody><tr><td>some content</td></tr></tbody></table>
@@ -1 +0,0 @@
1
- <table align="left" class="container"><tbody><tr><td>some content</td></tr></tbody></table>
@@ -1 +0,0 @@
1
- <table foo="bar" class="row some klasses"><tbody><tr>columns here</tr></tbody></table>
@@ -1,5 +0,0 @@
1
- <table class="row collapse"><tbody><tr>
2
- <th class="small-12 large-4 columns first"><table><tbody><tr><th>First column</th></tr></tbody></table></th>
3
- <th class="small-12 large-4 columns"><table><tbody><tr><th>Second column</th></tr></tbody></table></th>
4
- <th class="small-12 large-4 columns last"><table><tbody><tr><th>Last column</th></tr></tbody></table></th>
5
- </tr></tbody></table>
@@ -1 +0,0 @@
1
- <table class="h-line"><tr><th>&nbsp;</th></tr></table>
@@ -1,2 +0,0 @@
1
- Hello
2
- <table class="h-line"><tr><th>&nbsp;</th></tr></table>
@@ -1,3 +0,0 @@
1
- <!-- pending https://github.com/foundation/inky/issues/137 --->
2
- Hello
3
- <table class="h-line"><tr><th>&nbsp;</th></tr></table>
@@ -1 +0,0 @@
1
- <table class="h-line"><tr><th>&nbsp;</th></tr></table>
@@ -1 +0,0 @@
1
- <th foo="bar" class="menu-item some classes"><a href="http://example.com">An item</a></th>
@@ -1,2 +0,0 @@
1
- <table foo="bar" class="menu some classes"><tbody><tr><td><table><tbody><tr>
2
- </tr></tbody></table></td></tr></tbody></table>
@@ -1,2 +0,0 @@
1
- <table align="left" class="menu"><tbody><tr><td><table><tbody><tr>
2
- </tr></tbody></table></td></tr></tbody></table>
@@ -1,5 +0,0 @@
1
- <table class="menu small-vertical"><tbody><tr><td><table><tbody><tr>
2
- <th class="menu-item"><a href="http://example.com/1">An item</a></th>
3
- <th class="menu-item"><a href="http://example.com/2">Another Item</a></th>
4
- <th class="menu-item"><a href="http://example.com/3">Last Item</a></th>
5
- </tr></tbody></table></td></tr></tbody></table>
@@ -1,5 +0,0 @@
1
- <div>
2
- Stuff on top
3
- <table class="spacer"><tbody><tr><td height="16" style="font-size:16px;line-height:16px;">&nbsp;</td></tr></tbody></table>
4
- Stuff on bottom
5
- </div>
@@ -1,6 +0,0 @@
1
- <!-- pending https://github.com/foundation/inky/issues/135 --->
2
- <div>
3
- Stuff on top
4
- <table foo="bar" class="spacer"><tbody><tr><td height="16" style="font-size:16px;line-height:16px;">&nbsp;</td></tr></tbody></table>
5
- Stuff on bottom
6
- </div>
@@ -1,5 +0,0 @@
1
- <div>
2
- Stuff on top
3
- <table class="spacer some classes"><tbody><tr><td height="42" style="font-size:42px;line-height:42px;">&nbsp;</td></tr></tbody></table>
4
- Stuff on bottom
5
- </div>
@@ -1,5 +0,0 @@
1
- <div>
2
- Stuff on top
3
- <table class="spacer some classes show-for-large"><tbody><tr><td height="666" style="font-size:666px;line-height:666px;">&nbsp;</td></tr></tbody></table>
4
- <p>Stuff on bottom</p>
5
- </div>
@@ -1,5 +0,0 @@
1
- <div>
2
- Stuff on top
3
- <table class="spacer some classes hide-for-large"><tbody><tr><td height="42" style="font-size:42px;line-height:42px;">&nbsp;</td></tr></tbody></table>
4
- Stuff on bottom
5
- </div>
@@ -1,5 +0,0 @@
1
- <div>
2
- Stuff on top
3
- <table class="spacer some classes hide-for-large"><tbody><tr><td height="42" style="font-size:42px;line-height:42px;">&nbsp;</td></tr></tbody></table><table class="spacer some classes show-for-large"><tbody><tr><td height="666" style="font-size:666px;line-height:666px;">&nbsp;</td></tr></tbody></table>
4
- Stuff on bottom
5
- </div>
@@ -1,6 +0,0 @@
1
- <!-- pending https://github.com/foundation/inky/issues/135 --->
2
- <div>
3
- Stuff on top
4
- <table foo="bar" class="spacer some classes hide-for-large"><tbody><tr><td height="42" style="font-size:42px;line-height:42px;">&nbsp;</td></tr></tbody></table><table foo="bar" class="spacer some classes show-for-large"><tbody><tr><td height="666" style="font-size:666px;line-height:666px;">&nbsp;</td></tr></tbody></table>
5
- Stuff on bottom
6
- </div>
@@ -1 +0,0 @@
1
- <table class="wrapper" align="center"><tbody><tr><td class="wrapper-inner">In the wrap</td></tr></tbody></table>
@@ -1 +0,0 @@
1
- <table align="left" class="wrapper"><tbody><tr><td class="wrapper-inner">In the wrap</td></tr></tbody></table>
@@ -1 +0,0 @@
1
- <table foo="bar" class="wrapper some classes" align="center"><tbody><tr><td class="wrapper-inner">In the wrap</td></tr></tbody></table>