trikle-mail 0.0.4 → 0.0.5
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/bin/trikle-mail +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a2d157ac21d41c5b4950c97d6fbce4d15c951fc1
|
|
4
|
+
data.tar.gz: dfe235800e9add4a2e42d87586c91f27af1b4343
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01145d358fd1aca7133654e41773ac3be5547314fa46642ac725d6f059bdd30db4060cf324a16a3802700e40b0138032a2873c8c9b5cc2bcae8976bc00d6fa7b
|
|
7
|
+
data.tar.gz: 7d2e1a1b879315855b9ae375e94ed980adbf65b4c686cb173a5d3787075d0ca787e676c2ecc071553ce7977240f4474a323f2082ed9c9043bc24802e4f0f625d
|
data/bin/trikle-mail
CHANGED
|
@@ -43,7 +43,7 @@ class TrikleMail
|
|
|
43
43
|
|
|
44
44
|
data_hashes.each do |hash|
|
|
45
45
|
template = File.read(hash.fetch(:template, options.template)).
|
|
46
|
-
gsub(/%(?!{)/, '') % hash
|
|
46
|
+
gsub(/%(?!{)/, '%%') % hash
|
|
47
47
|
mail = Mail.new do
|
|
48
48
|
from hash.fetch(:from, options.from)
|
|
49
49
|
to hash.fetch(:to, hash.fetch(:email) { raise 'no email address found in to column!' })
|