twitter-bootstrap-helpers 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module TwitterBootstrapHelpers
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  module TwitterBootstrapHelpers
2
2
  module ViewHelpers
3
- def icon_for(icon_name)
4
- content_tag :i, '', :class => "icon-#{icon_name}"
3
+ def icon_for(icon_name, string = '')
4
+ content_tag :i, string, :class => "icon-#{icon_name}"
5
5
  end
6
6
 
7
7
  def alert_message(opts = {}, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-bootstrap-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-10 00:00:00.000000000 Z
12
+ date: 2012-08-16 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A set of Ruby on Rails view helpers to be used with Twitter Bootstrap
15
15
  email:
@@ -53,4 +53,3 @@ signing_key:
53
53
  specification_version: 3
54
54
  summary: A set of Ruby on Rails view helpers to be used with Twitter Bootstrap
55
55
  test_files: []
56
- has_rdoc: