bootstrap-email 1.0.0.alpha2.1 → 1.0.0.alpha3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/core/scss/_utilities.scss +1 -1
- data/core/scss/components/_grid.scss +9 -9
- data/core/scss/utilities/_sizing.scss +4 -0
- data/core/templates/body.html +9 -0
- data/core/templates/{container.html.erb → container.html} +2 -2
- data/core/templates/div.html +3 -0
- data/core/templates/table-left.html +9 -0
- data/core/templates/table-to-tbody.html +5 -0
- data/core/templates/table-to-tr.html +7 -0
- data/core/templates/table.html +9 -0
- data/core/templates/td.html +3 -0
- data/core/templates/{tr.html.erb → tr.html} +1 -1
- data/lib/bootstrap-email.rb +5 -2
- data/lib/bootstrap-email/bootstrap_email_cli.rb +3 -4
- data/lib/bootstrap-email/compiler.rb +31 -27
- data/lib/bootstrap-email/config.rb +50 -0
- data/lib/bootstrap-email/{components → converters}/alert.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/align.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/badge.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/base.rb +13 -5
- data/lib/bootstrap-email/{components → converters}/block.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/body.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/button.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/card.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/color.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/container.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/force_encoding.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/grid.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/head_style.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/hr.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/margin.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/padding.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/paragraph.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/preview_text.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/spacer.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/spacing.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/stack.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/table.rb +1 -1
- data/lib/bootstrap-email/{components → converters}/version_comment.rb +1 -1
- data/lib/bootstrap-email/sass_cache.rb +16 -19
- data/lib/bootstrap-email/setup.rb +27 -0
- metadata +36 -34
- data/core/templates/body.html.erb +0 -9
- data/core/templates/div.html.erb +0 -3
- data/core/templates/table-left.html.erb +0 -9
- data/core/templates/table-to-tbody.html.erb +0 -5
- data/core/templates/table-to-tr.html.erb +0 -7
- data/core/templates/table.html.erb +0 -9
- data/core/templates/td.html.erb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f70b6dc2a2d0ebd4dfcdee53c7242e2aa6c7824571d41be81e0518e1516ce03c
|
4
|
+
data.tar.gz: c49e013fd55e2b2f87c204dc8b64ac093149e4d45df5e2d5da809540b2c4b399
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab6c6bff12d2787b5962c51ae97983abdd407ccdd77e72a24e62644ff8e16d5a83d33e32ec14e577c9514731038091340c66ba47fd09c645380fc2aab27d42a6
|
7
|
+
data.tar.gz: 74a21957509ea73128b3d13c89dd21e0b6084c1a90efdac8ef4e3238e29e7ad4c10581d480665eacb578dd78c1177d9494e932bb20b841a93960cfb4b1497f8b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.0.
|
1
|
+
1.0.0.alpha3
|
data/core/scss/_utilities.scss
CHANGED
@@ -5,7 +5,7 @@ table.row {
|
|
5
5
|
& > tbody > tr > td {
|
6
6
|
min-height: 1px;
|
7
7
|
font-weight: normal;
|
8
|
-
padding-right:
|
8
|
+
padding-right: 24px;
|
9
9
|
vertical-align: top;
|
10
10
|
text-align: left;
|
11
11
|
}
|
@@ -19,18 +19,18 @@ table.row {
|
|
19
19
|
}
|
20
20
|
|
21
21
|
@each $space, $value in $spacers {
|
22
|
-
table.row.
|
23
|
-
table.row.
|
24
|
-
table.row.
|
25
|
-
table.row.
|
22
|
+
table.row.gap-#{$space},
|
23
|
+
table.row.gap-x-#{$space},
|
24
|
+
table.row.gap-lg-#{$space},
|
25
|
+
table.row.gap-x-lg-#{$space} {
|
26
26
|
& > tbody > tr > td {
|
27
27
|
padding-right: $value;
|
28
28
|
}
|
29
29
|
}
|
30
|
-
table.row.
|
31
|
-
table.row.
|
32
|
-
table.row.
|
33
|
-
table.row.
|
30
|
+
table.row.gap-#{$space},
|
31
|
+
table.row.gap-y-#{$space},
|
32
|
+
table.row.gap-lg-#{$space},
|
33
|
+
table.row.gap-y-lg-#{$space} {
|
34
34
|
& > tbody > tr > td {
|
35
35
|
padding-bottom: $value;
|
36
36
|
}
|
@@ -21,6 +21,10 @@
|
|
21
21
|
-premailer-#{$property}: 100%;
|
22
22
|
#{$property}: 100%;
|
23
23
|
}
|
24
|
+
@include sizing-util('.#{$name}-#{$prefix}auto') {
|
25
|
+
-premailer-#{$property}: auto;
|
26
|
+
#{$property}: auto;
|
27
|
+
}
|
24
28
|
@each $size, $value in $sizing {
|
25
29
|
@include sizing-util('.#{$name}-#{$prefix}#{$size}') {
|
26
30
|
-premailer-#{$property}: strip-unit($value);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<table class="
|
1
|
+
<table class="{{ classes }}" role="presentation">
|
2
2
|
<tbody>
|
3
3
|
<tr>
|
4
4
|
<td align="center">
|
@@ -12,7 +12,7 @@
|
|
12
12
|
<tbody>
|
13
13
|
<tr>
|
14
14
|
<td>
|
15
|
-
|
15
|
+
{{ contents }}
|
16
16
|
</td>
|
17
17
|
</tr>
|
18
18
|
</tbody>
|
data/lib/bootstrap-email.rb
CHANGED
@@ -5,6 +5,7 @@ require 'premailer'
|
|
5
5
|
require 'sassc'
|
6
6
|
require 'digest/sha1'
|
7
7
|
require 'css_parser'
|
8
|
+
require 'fileutils'
|
8
9
|
|
9
10
|
begin
|
10
11
|
require 'rails'
|
@@ -15,12 +16,14 @@ if defined?(Rails)
|
|
15
16
|
end
|
16
17
|
|
17
18
|
require_relative 'bootstrap-email/initialize'
|
19
|
+
require_relative 'bootstrap-email/config'
|
20
|
+
require_relative 'bootstrap-email/setup'
|
18
21
|
require_relative 'bootstrap-email/erb'
|
19
22
|
require_relative 'bootstrap-email/compiler'
|
20
23
|
require_relative 'bootstrap-email/sass_cache'
|
21
24
|
require_relative 'bootstrap-email/version'
|
22
|
-
require_relative 'bootstrap-email/
|
23
|
-
Dir[File.join(__dir__, 'bootstrap-email/
|
25
|
+
require_relative 'bootstrap-email/converters/base'
|
26
|
+
Dir[File.join(__dir__, 'bootstrap-email/converters', '*.rb')].each { |file| require_relative file }
|
24
27
|
|
25
28
|
if defined?(Rails)
|
26
29
|
require_relative 'bootstrap-email/rails/action_mailer'
|
@@ -1,6 +1,5 @@
|
|
1
1
|
require_relative '../bootstrap-email'
|
2
2
|
require 'optparse'
|
3
|
-
require 'fileutils'
|
4
3
|
|
5
4
|
input = nil
|
6
5
|
options = {
|
@@ -37,7 +36,7 @@ parser = OptionParser.new do |opts|
|
|
37
36
|
options[:destination] = v
|
38
37
|
end
|
39
38
|
|
40
|
-
opts.on('-c', '--config STRING', String, 'Relative path to
|
39
|
+
opts.on('-c', '--config STRING', String, 'Relative path to ruby config file to customize Bootstrap Email.') do |v|
|
41
40
|
options[:config] = File.expand_path(v, Dir.pwd)
|
42
41
|
end
|
43
42
|
|
@@ -82,9 +81,9 @@ if input
|
|
82
81
|
end
|
83
82
|
when :file
|
84
83
|
path = File.expand_path(input, Dir.pwd)
|
85
|
-
puts BootstrapEmail::Compiler.new(path, type: :file, options: {config_path: options[:config]}).perform_full_compile
|
84
|
+
puts BootstrapEmail::Compiler.new(path, type: :file, options: {config_path: options[:config], sass_log_enabled: false}).perform_full_compile
|
86
85
|
when :string
|
87
|
-
puts BootstrapEmail::Compiler.new(input, options: {config_path: options[:config]}).perform_full_compile
|
86
|
+
puts BootstrapEmail::Compiler.new(input, options: {config_path: options[:config], sass_log_enabled: false}).perform_full_compile
|
88
87
|
end
|
89
88
|
else
|
90
89
|
puts opts
|
@@ -3,6 +3,7 @@ module BootstrapEmail
|
|
3
3
|
attr_accessor :type, :doc, :premailer
|
4
4
|
|
5
5
|
def initialize(input, type: :string, options: {})
|
6
|
+
BootstrapEmail.load_options(options)
|
6
7
|
self.type = type
|
7
8
|
case type
|
8
9
|
when :rails
|
@@ -14,7 +15,8 @@ module BootstrapEmail
|
|
14
15
|
html = File.read(input)
|
15
16
|
end
|
16
17
|
html = add_layout!(html)
|
17
|
-
|
18
|
+
sass_load_paths
|
19
|
+
build_premailer_doc(html)
|
18
20
|
end
|
19
21
|
|
20
22
|
def perform_full_compile
|
@@ -36,9 +38,12 @@ module BootstrapEmail
|
|
36
38
|
)
|
37
39
|
end
|
38
40
|
|
39
|
-
def
|
40
|
-
SassC.load_paths <<
|
41
|
-
|
41
|
+
def sass_load_paths
|
42
|
+
SassC.load_paths << BootstrapEmail.config.sass_load_paths
|
43
|
+
end
|
44
|
+
|
45
|
+
def build_premailer_doc(html)
|
46
|
+
css_string = BootstrapEmail::SassCache.compile('bootstrap-email', style: :expanded)
|
42
47
|
self.premailer = Premailer.new(
|
43
48
|
html,
|
44
49
|
with_html_string: true,
|
@@ -49,29 +54,28 @@ module BootstrapEmail
|
|
49
54
|
end
|
50
55
|
|
51
56
|
def compile_html!
|
52
|
-
BootstrapEmail::
|
57
|
+
BootstrapEmail::Converter::Block.build(doc)
|
53
58
|
|
54
|
-
BootstrapEmail::
|
55
|
-
BootstrapEmail::
|
56
|
-
BootstrapEmail::
|
57
|
-
BootstrapEmail::
|
58
|
-
|
59
|
-
BootstrapEmail::
|
60
|
-
BootstrapEmail::
|
61
|
-
BootstrapEmail::
|
62
|
-
BootstrapEmail::Component::Stack.build(doc)
|
59
|
+
BootstrapEmail::Converter::Button.build(doc)
|
60
|
+
BootstrapEmail::Converter::Badge.build(doc)
|
61
|
+
BootstrapEmail::Converter::Alert.build(doc)
|
62
|
+
BootstrapEmail::Converter::Card.build(doc)
|
63
|
+
BootstrapEmail::Converter::Hr.build(doc)
|
64
|
+
BootstrapEmail::Converter::Container.build(doc)
|
65
|
+
BootstrapEmail::Converter::Grid.build(doc)
|
66
|
+
BootstrapEmail::Converter::Stack.build(doc)
|
63
67
|
|
64
|
-
BootstrapEmail::
|
65
|
-
BootstrapEmail::
|
66
|
-
BootstrapEmail::
|
67
|
-
BootstrapEmail::
|
68
|
+
BootstrapEmail::Converter::Spacing.build(doc)
|
69
|
+
BootstrapEmail::Converter::Padding.build(doc)
|
70
|
+
BootstrapEmail::Converter::Margin.build(doc)
|
71
|
+
BootstrapEmail::Converter::Spacer.build(doc)
|
68
72
|
|
69
|
-
BootstrapEmail::
|
70
|
-
BootstrapEmail::
|
71
|
-
BootstrapEmail::
|
72
|
-
BootstrapEmail::
|
73
|
+
BootstrapEmail::Converter::Table.build(doc)
|
74
|
+
BootstrapEmail::Converter::Body.build(doc)
|
75
|
+
BootstrapEmail::Converter::Align.build(doc)
|
76
|
+
BootstrapEmail::Converter::Color.build(doc)
|
73
77
|
|
74
|
-
BootstrapEmail::
|
78
|
+
BootstrapEmail::Converter::PreviewText.build(doc)
|
75
79
|
end
|
76
80
|
|
77
81
|
def inline_css!
|
@@ -79,13 +83,13 @@ module BootstrapEmail
|
|
79
83
|
end
|
80
84
|
|
81
85
|
def configure_html!
|
82
|
-
BootstrapEmail::
|
83
|
-
BootstrapEmail::
|
84
|
-
BootstrapEmail::
|
86
|
+
BootstrapEmail::Converter::ForceEncoding.build(doc)
|
87
|
+
BootstrapEmail::Converter::HeadStyle.build(doc)
|
88
|
+
BootstrapEmail::Converter::VersionComment.build(doc)
|
85
89
|
end
|
86
90
|
|
87
91
|
def finalize_document!
|
88
|
-
html = BootstrapEmail::
|
92
|
+
html = BootstrapEmail::Converter::ForceEncoding.replace(doc.to_html)
|
89
93
|
case type
|
90
94
|
when :rails
|
91
95
|
(@mail.html_part || @mail).body = html
|
@@ -0,0 +1,50 @@
|
|
1
|
+
module BootstrapEmail
|
2
|
+
class Config
|
3
|
+
attr_writer :sass_email_location # path to main sass file
|
4
|
+
attr_writer :sass_head_location # path to head sass file
|
5
|
+
attr_writer :sass_load_paths # array of directories for loading sass imports
|
6
|
+
attr_writer :sass_cache_location # path to tmp folder for sass cache
|
7
|
+
attr_writer :sass_log_enabled # turn on or off sass log when caching new sass
|
8
|
+
|
9
|
+
def load_options(options)
|
10
|
+
file = File.expand_path('bootstrap-email.config.rb', Dir.pwd)
|
11
|
+
if options[:config_path]
|
12
|
+
require_relative options[:config_path]
|
13
|
+
elsif File.exist?(file)
|
14
|
+
require_relative file
|
15
|
+
end
|
16
|
+
options.each { |name, value| instance_variable_set("@#{name}", value) }
|
17
|
+
end
|
18
|
+
|
19
|
+
def sass_location_for(type:)
|
20
|
+
ivar = instance_variable_get("@sass_#{type.sub('bootstrap-', '')}_location")
|
21
|
+
return ivar if ivar
|
22
|
+
|
23
|
+
lookup_locations = ["#{type}.scss", "app/assets/stylesheets/#{type}.scss"]
|
24
|
+
locations = lookup_locations.map { |location| File.expand_path(location, Dir.pwd) }.select { |location| File.exist?(location) }
|
25
|
+
locations.first if locations.any?
|
26
|
+
end
|
27
|
+
|
28
|
+
def sass_load_paths
|
29
|
+
paths_array = [SassCache::SASS_DIR]
|
30
|
+
@sass_load_paths ||= []
|
31
|
+
paths_array.concat(@sass_load_paths)
|
32
|
+
end
|
33
|
+
|
34
|
+
def sass_cache_location
|
35
|
+
@sass_cache_location ||= begin
|
36
|
+
if defined?(::Rails) && ::Rails.root
|
37
|
+
::Rails.root.join('tmp', 'cache', 'bootstrap-email', '.sass-cache')
|
38
|
+
elsif File.writable?(Dir.pwd)
|
39
|
+
File.join(Dir.pwd, '.sass-cache', 'bootstrap-email')
|
40
|
+
else
|
41
|
+
File.join(Dir.tmpdir, '.sass-cache', 'bootstrap-email')
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
def sass_log_enabled?
|
47
|
+
defined?(@sass_log_enabled) ? @sass_log_enabled : true
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -1,9 +1,10 @@
|
|
1
1
|
module BootstrapEmail
|
2
|
-
module
|
2
|
+
module Converter
|
3
3
|
class Base
|
4
4
|
attr_reader :doc
|
5
5
|
def initialize(doc)
|
6
6
|
@doc = doc
|
7
|
+
@cached_templates = {}
|
7
8
|
end
|
8
9
|
|
9
10
|
def self.build(doc)
|
@@ -14,10 +15,17 @@ module BootstrapEmail
|
|
14
15
|
|
15
16
|
def template(file, locals_hash = {})
|
16
17
|
locals_hash[:classes] = locals_hash[:classes].split.join(' ') if locals_hash[:classes]
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
if @cached_templates[file]
|
19
|
+
string = @cached_templates[file]
|
20
|
+
else
|
21
|
+
path = File.expand_path("../../../core/templates/#{file}.html", __dir__)
|
22
|
+
string = File.read(path).chop # read and remove trailing newline
|
23
|
+
@cached_templates[file] = string
|
24
|
+
end
|
25
|
+
locals_hash.each do |key, value|
|
26
|
+
string = string.sub("{{ #{key} }}", value.to_s)
|
27
|
+
end
|
28
|
+
string
|
21
29
|
end
|
22
30
|
|
23
31
|
def each_node(css_lookup, &blk)
|
@@ -1,24 +1,27 @@
|
|
1
1
|
module BootstrapEmail
|
2
2
|
class SassCache
|
3
|
-
CACHE_DIR = File.expand_path('../../.sass-cache', __dir__)
|
4
3
|
SASS_DIR = File.expand_path('../../core', __dir__)
|
5
4
|
|
6
|
-
def self.compile(type,
|
7
|
-
new(type,
|
5
|
+
def self.compile(type, style: :compressed)
|
6
|
+
new(type, style).compile
|
8
7
|
end
|
9
8
|
|
10
9
|
attr_accessor :type, :style, :file_path, :config_file, :checksum
|
11
10
|
|
12
|
-
def initialize(type,
|
11
|
+
def initialize(type, style)
|
13
12
|
self.type = type
|
14
13
|
self.style = style
|
15
14
|
self.file_path = "#{SASS_DIR}/#{type}"
|
16
|
-
self.config_file = load_config
|
15
|
+
self.config_file = load_config
|
17
16
|
self.checksum = checksum_files
|
18
17
|
end
|
19
18
|
|
19
|
+
def cache_dir
|
20
|
+
BootstrapEmail.config.sass_cache_location
|
21
|
+
end
|
22
|
+
|
20
23
|
def compile
|
21
|
-
cache_path = "#{
|
24
|
+
cache_path = "#{cache_dir}/#{checksum}/#{type}.css"
|
22
25
|
unless cached?(cache_path)
|
23
26
|
compile_and_cache_scss(cache_path)
|
24
27
|
end
|
@@ -27,16 +30,9 @@ module BootstrapEmail
|
|
27
30
|
|
28
31
|
private
|
29
32
|
|
30
|
-
def load_config
|
31
|
-
|
32
|
-
|
33
|
-
if config_path && File.exist?(config_path)
|
34
|
-
# check if custom config was passed in
|
35
|
-
replace_config(File.read(config_path))
|
36
|
-
elsif locations.any?
|
37
|
-
# look for common lookup locations of config
|
38
|
-
replace_config(File.read(File.expand_path(locations.first, Dir.pwd)))
|
39
|
-
end
|
33
|
+
def load_config
|
34
|
+
path = BootstrapEmail.config.sass_location_for(type: type)
|
35
|
+
replace_config(File.read(path)) if path
|
40
36
|
end
|
41
37
|
|
42
38
|
def replace_config(config_file)
|
@@ -58,10 +54,11 @@ module BootstrapEmail
|
|
58
54
|
def compile_and_cache_scss(cache_path)
|
59
55
|
file = config_file || File.read("#{file_path}.scss")
|
60
56
|
css = SassC::Engine.new(file, style: style).render
|
61
|
-
|
62
|
-
Dir.mkdir("#{CACHE_DIR}/#{checksum}") unless File.directory?("#{CACHE_DIR}/#{checksum}")
|
57
|
+
FileUtils.mkdir_p("#{cache_dir}/#{checksum}") unless File.directory?("#{cache_dir}/#{checksum}")
|
63
58
|
File.write(cache_path, css)
|
64
|
-
|
59
|
+
if BootstrapEmail.config.sass_log_enabled?
|
60
|
+
puts "New css file cached for #{type}"
|
61
|
+
end
|
65
62
|
end
|
66
63
|
end
|
67
64
|
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module BootstrapEmail
|
2
|
+
class << self
|
3
|
+
def config
|
4
|
+
@config ||= BootstrapEmail::Config.new
|
5
|
+
@config
|
6
|
+
end
|
7
|
+
|
8
|
+
def load_options(options)
|
9
|
+
@config ||= BootstrapEmail::Config.new
|
10
|
+
@config.load_options(options)
|
11
|
+
@config
|
12
|
+
end
|
13
|
+
|
14
|
+
def configure(&proc)
|
15
|
+
@config ||= BootstrapEmail::Config.new
|
16
|
+
yield @config
|
17
|
+
end
|
18
|
+
|
19
|
+
def reset_config!
|
20
|
+
remove_instance_variable :@config if defined?(@config)
|
21
|
+
end
|
22
|
+
|
23
|
+
def clear_sass_cache!
|
24
|
+
FileUtils.rm_rf(BootstrapEmail.config.sass_cache_location)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-email
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.alpha3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stuart Yamartino
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -92,46 +92,48 @@ files:
|
|
92
92
|
- core/scss/utilities/_text-decoration.scss
|
93
93
|
- core/scss/utilities/_typography.scss
|
94
94
|
- core/scss/utilities/_valign.scss
|
95
|
-
- core/templates/body.html
|
96
|
-
- core/templates/container.html
|
97
|
-
- core/templates/div.html
|
98
|
-
- core/templates/table-left.html
|
99
|
-
- core/templates/table-to-tbody.html
|
100
|
-
- core/templates/table-to-tr.html
|
101
|
-
- core/templates/table.html
|
102
|
-
- core/templates/td.html
|
103
|
-
- core/templates/tr.html
|
95
|
+
- core/templates/body.html
|
96
|
+
- core/templates/container.html
|
97
|
+
- core/templates/div.html
|
98
|
+
- core/templates/table-left.html
|
99
|
+
- core/templates/table-to-tbody.html
|
100
|
+
- core/templates/table-to-tr.html
|
101
|
+
- core/templates/table.html
|
102
|
+
- core/templates/td.html
|
103
|
+
- core/templates/tr.html
|
104
104
|
- lib/bootstrap-email.rb
|
105
105
|
- lib/bootstrap-email/bootstrap_email_cli.rb
|
106
106
|
- lib/bootstrap-email/compiler.rb
|
107
|
-
- lib/bootstrap-email/
|
108
|
-
- lib/bootstrap-email/
|
109
|
-
- lib/bootstrap-email/
|
110
|
-
- lib/bootstrap-email/
|
111
|
-
- lib/bootstrap-email/
|
112
|
-
- lib/bootstrap-email/
|
113
|
-
- lib/bootstrap-email/
|
114
|
-
- lib/bootstrap-email/
|
115
|
-
- lib/bootstrap-email/
|
116
|
-
- lib/bootstrap-email/
|
117
|
-
- lib/bootstrap-email/
|
118
|
-
- lib/bootstrap-email/
|
119
|
-
- lib/bootstrap-email/
|
120
|
-
- lib/bootstrap-email/
|
121
|
-
- lib/bootstrap-email/
|
122
|
-
- lib/bootstrap-email/
|
123
|
-
- lib/bootstrap-email/
|
124
|
-
- lib/bootstrap-email/
|
125
|
-
- lib/bootstrap-email/
|
126
|
-
- lib/bootstrap-email/
|
127
|
-
- lib/bootstrap-email/
|
128
|
-
- lib/bootstrap-email/
|
129
|
-
- lib/bootstrap-email/
|
107
|
+
- lib/bootstrap-email/config.rb
|
108
|
+
- lib/bootstrap-email/converters/alert.rb
|
109
|
+
- lib/bootstrap-email/converters/align.rb
|
110
|
+
- lib/bootstrap-email/converters/badge.rb
|
111
|
+
- lib/bootstrap-email/converters/base.rb
|
112
|
+
- lib/bootstrap-email/converters/block.rb
|
113
|
+
- lib/bootstrap-email/converters/body.rb
|
114
|
+
- lib/bootstrap-email/converters/button.rb
|
115
|
+
- lib/bootstrap-email/converters/card.rb
|
116
|
+
- lib/bootstrap-email/converters/color.rb
|
117
|
+
- lib/bootstrap-email/converters/container.rb
|
118
|
+
- lib/bootstrap-email/converters/force_encoding.rb
|
119
|
+
- lib/bootstrap-email/converters/grid.rb
|
120
|
+
- lib/bootstrap-email/converters/head_style.rb
|
121
|
+
- lib/bootstrap-email/converters/hr.rb
|
122
|
+
- lib/bootstrap-email/converters/margin.rb
|
123
|
+
- lib/bootstrap-email/converters/padding.rb
|
124
|
+
- lib/bootstrap-email/converters/paragraph.rb
|
125
|
+
- lib/bootstrap-email/converters/preview_text.rb
|
126
|
+
- lib/bootstrap-email/converters/spacer.rb
|
127
|
+
- lib/bootstrap-email/converters/spacing.rb
|
128
|
+
- lib/bootstrap-email/converters/stack.rb
|
129
|
+
- lib/bootstrap-email/converters/table.rb
|
130
|
+
- lib/bootstrap-email/converters/version_comment.rb
|
130
131
|
- lib/bootstrap-email/erb.rb
|
131
132
|
- lib/bootstrap-email/initialize.rb
|
132
133
|
- lib/bootstrap-email/rails/action_mailer.rb
|
133
134
|
- lib/bootstrap-email/rails/engine.rb
|
134
135
|
- lib/bootstrap-email/sass_cache.rb
|
136
|
+
- lib/bootstrap-email/setup.rb
|
135
137
|
- lib/bootstrap-email/version.rb
|
136
138
|
homepage: https://bootstrapemail.com
|
137
139
|
licenses:
|
data/core/templates/div.html.erb
DELETED
data/core/templates/td.html.erb
DELETED