teepee 0.11.3 → 0.11.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/teepee/commander.rb +2 -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: 9c5f51e9f64271ebaeb50a79a0e0440f9eec2926
|
4
|
+
data.tar.gz: b227ee07ec5a47d664561ca4dd01172a28af7d00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd0784f3e71f076bbdeb8abda37a1ad7b0d97b2b93c6f1028b86011d5660d4757eaf86a017b5e0b16169127c819ce738e2b83dc01cd6defb818643d25eeb7e5e
|
7
|
+
data.tar.gz: fc783e075db97e37ffdffeb72b53bb2e69112ec05f8985ce6ed4d987ceaa2581e3bfb4d41e7e944eeb0a7630f32a1b28fdc6486b5255bc873256b86df2bfe0dd
|
data/lib/teepee/commander.rb
CHANGED
@@ -520,8 +520,9 @@ module Teepee
|
|
520
520
|
end
|
521
521
|
|
522
522
|
def mailto email_address
|
523
|
+
email_address = email_address.to_s
|
523
524
|
if valid_email_address? email_address
|
524
|
-
html_tag :a, email_address, {href: "mailto:#{email_address}"}
|
525
|
+
html_tag :a, [email_address], {href: "mailto:#{email_address}"}
|
525
526
|
else
|
526
527
|
command_error "I'm not sure that's a valid email address."
|
527
528
|
end
|