teepee 0.11.3 → 0.11.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/teepee/commander.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8216a2e0cf66ce90ccfc73c7b1c0c451a38d0cdd
4
- data.tar.gz: d0fd68cfd7c981bda2e232e84bc4a24fa5d8e8a1
3
+ metadata.gz: 9c5f51e9f64271ebaeb50a79a0e0440f9eec2926
4
+ data.tar.gz: b227ee07ec5a47d664561ca4dd01172a28af7d00
5
5
  SHA512:
6
- metadata.gz: c528758b8754ccde988c352709c03106df60c5f95f539824b6fe5e907e7c55bf56bdc7acb48f159ee648a894d69ee8836e982c64989dd35c66cdda57c1ba12d2
7
- data.tar.gz: 2f35a9cd08072a721c102811a8a43ff029b6b98bc4783bbab3554d82f2f6ef296e72753947664e34ca52c6c8e27d441e0d13d0180d7f91ced69869638534c6c0
6
+ metadata.gz: cd0784f3e71f076bbdeb8abda37a1ad7b0d97b2b93c6f1028b86011d5660d4757eaf86a017b5e0b16169127c819ce738e2b83dc01cd6defb818643d25eeb7e5e
7
+ data.tar.gz: fc783e075db97e37ffdffeb72b53bb2e69112ec05f8985ce6ed4d987ceaa2581e3bfb4d41e7e944eeb0a7630f32a1b28fdc6486b5255bc873256b86df2bfe0dd
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teepee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.3
4
+ version: 0.11.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Mark Gore