fx_awesome_mails 0.5.5 → 0.5.6
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/lib/fx_awesome_mails/version.rb +1 -1
- data/lib/fx_awesome_mails/view_helpers.rb +3 -6
- 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: 150486384ec88d98e3e3db07762c6aa9dd5c66ddef2115e762aeed824f80a529
|
|
4
|
+
data.tar.gz: f7dfb71da172e702144ba4f6e9bc30ef48199ab8f1206b2846f15a0a6b4160ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e52480877c2739a99d262f384f5ce2c96c3cd114220752d474f522d94318746cfa2fa65cf2aa4b28831da3588d346c959da38e00ef979d7c8c330ebac83a54c2
|
|
7
|
+
data.tar.gz: 78f2d6a1f91f4901c6c2bb62e2088afa357480e8a98dd66be692fa7caedb8c80588b6eff511fcc472a99eacfd6d9486712e1eeb25b4c9fb0d7cb3207bb70f68e
|
|
@@ -183,7 +183,7 @@ module FXAwesomeMails
|
|
|
183
183
|
|
|
184
184
|
def self.vertical_grid(_capture_helper, **options, &block)
|
|
185
185
|
options = { valign: 'top', style: "text-align: left" }.merge_email_options(options)
|
|
186
|
-
_capture_helper.content_tag('th', valign: "#{options[:valign]}", style: "#{options[:style]}", class: "
|
|
186
|
+
_capture_helper.content_tag('th', valign: "#{options[:valign]}", style: "#{options[:style]}", class: "vertical-grid #{options[:class]}") do
|
|
187
187
|
"<table cellpadding='0' cellspacing='0' border='0' width='100%' style='min-width:100%' role='presentation'>
|
|
188
188
|
<tbody>
|
|
189
189
|
#{_capture_helper.capture(VerticalGrid.new(_capture_helper), &block)}
|
|
@@ -243,11 +243,8 @@ module FXAwesomeMails
|
|
|
243
243
|
"#{Gutter.new(parent).vertical(...)}".html_safe
|
|
244
244
|
end
|
|
245
245
|
|
|
246
|
-
def text(
|
|
247
|
-
|
|
248
|
-
content_tag('th', valign: "#{options[:valign]}", style: "#{options[:style]}", class: "text-container #{options[:class]}") do
|
|
249
|
-
block_given? ? capture(&block) : text
|
|
250
|
-
end
|
|
246
|
+
def text(...)
|
|
247
|
+
"#{Text.new(parent).text(...)}".html_safe
|
|
251
248
|
end
|
|
252
249
|
|
|
253
250
|
def image(...)
|