bootstrap-email 1.1.2 → 1.1.3
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/VERSION +1 -1
- data/lib/bootstrap-email/converters/support_url_tokens.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5201c38394c11169354403e9efae089280c0c5e4a699abbed3f3771e8bb018a2
|
|
4
|
+
data.tar.gz: 15989059cc6bd25fb9bfe9bdef97c873bb865dcc9d9d254be854da610edc63f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f5100a513793120048088a7c0134d48562fc0492cf05a7ac5c7a84d4b6cf8defda8c69944aac37f9a092ea35b60336ff5c2270565b9a10f4b1ff4bc6d7ca220
|
|
7
|
+
data.tar.gz: 0db10a26791365ca031f094cbb4ce1eeda3783fb01bcb11ca923461bdd6fc666ae189d6aeae1a24c748ca60c1ae1b6281da95ee6e8feea464bde07605860043b
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.3
|
|
@@ -5,7 +5,7 @@ module BootstrapEmail
|
|
|
5
5
|
CLOSE_BRACKETS = CGI.escape('}}').freeze
|
|
6
6
|
|
|
7
7
|
def self.replace(html)
|
|
8
|
-
regex = /((href|src)=(\"|\'))((#{Regexp.quote(OPEN_BRACKETS)}).*?(#{Regexp.quote(CLOSE_BRACKETS)}))(\"|\')/
|
|
8
|
+
regex = /((href|src)=(\"|\').*?)((#{Regexp.quote(OPEN_BRACKETS)}).*?(#{Regexp.quote(CLOSE_BRACKETS)}))(.*?(\"|\'))/
|
|
9
9
|
if regex.match?(html)
|
|
10
10
|
html.gsub!(regex) do |match|
|
|
11
11
|
"#{$1}#{CGI.unescape($4)}#{$7}"
|
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.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stuart Yamartino
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-03-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|
|
@@ -66,7 +66,7 @@ dependencies:
|
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '1.3'
|
|
69
|
-
description:
|
|
69
|
+
description:
|
|
70
70
|
email: stu@stuyam.com
|
|
71
71
|
executables:
|
|
72
72
|
- bootstrap-email
|
|
@@ -155,7 +155,7 @@ homepage: https://bootstrapemail.com
|
|
|
155
155
|
licenses:
|
|
156
156
|
- MIT
|
|
157
157
|
metadata: {}
|
|
158
|
-
post_install_message:
|
|
158
|
+
post_install_message:
|
|
159
159
|
rdoc_options: []
|
|
160
160
|
require_paths:
|
|
161
161
|
- lib
|
|
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
171
171
|
version: '0'
|
|
172
172
|
requirements: []
|
|
173
173
|
rubygems_version: 3.0.3
|
|
174
|
-
signing_key:
|
|
174
|
+
signing_key:
|
|
175
175
|
specification_version: 4
|
|
176
176
|
summary: 'Bootstrap 5+ stylesheet, compiler, and inliner for responsive and consistent
|
|
177
177
|
emails with the Bootstrap syntax you know and love. Support: command line, ruby,
|