kelredd-useful 0.1.8 → 0.1.8.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,10 @@ module Sinatra
13
13
  tag(:a, options) { content }
14
14
  end
15
15
 
16
+ def mail_link_to(email)
17
+ link_to email, "mailto: #{email}"
18
+ end
19
+
16
20
  # helper to emulate 'image_tag'
17
21
  # => inspired from vanntastic-sinatra-gen gem, http://github.com/vanntastic/sinatra-gen/tree/master
18
22
  # helper for image_tags
@@ -4,9 +4,10 @@ module Useful
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
6
  TINY = 8
7
+ FIX = 1
7
8
 
8
9
  def self.to_s # :nodoc:
9
- [MAJOR, MINOR, TINY].join('.')
10
+ [MAJOR, MINOR, TINY, FIX].join('.')
10
11
  end
11
12
 
12
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelredd-useful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelredd