twitter-bootstrap-helpers 0.1.3 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 450a2b676909f351b861aadba2802c06da03ac42
4
- data.tar.gz: 8ff0972a4d48c21c0dd18d0c97e532e61b83cecd
3
+ metadata.gz: f4e080bd76a81ed262b6faf86c299e32705afafa
4
+ data.tar.gz: 873928ecb4fdbe0eac07681020509317b128f98e
5
5
  SHA512:
6
- metadata.gz: 50bcc158646e07abd18444b5c624d3005d7ee5eef13f9ae5d0f84e6f50cd819b72004baac503d4305e336c52ddf293ac683d833445cb1c4d711bbfd721ceb330
7
- data.tar.gz: 6cad65bb6a35cc67dff5bcaf1025a58b8d5d4997fe5ee433dbb99bfbd101ec16c2389fcbccbd78072c202ce13fb8cdeed5d57a296b73d288f6aa7732cd5898ff
6
+ metadata.gz: f3cc5f7895bf90f72dc29f5e03d816a3b19c1a89102dd9b337049618584eee3ab9edb5cc6d904aa6d048da7dd981898d606ee242d82faeba5546ab31f6efae46
7
+ data.tar.gz: 242a9698e43403aff9f9a75d86f31c618c0f68ce763723a4f03954c14f63e7b6408dfc4b081ceeb939ecce27d04d3fccf5fc0eee57f74f787a98cfd91ef967f4
@@ -1,3 +1,3 @@
1
1
  module TwitterBootstrapHelpers
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -2,7 +2,7 @@ module TwitterBootstrapHelpers
2
2
  module ViewHelpers
3
3
  def icon_for(icon_name, string = '', icon_position = :left)
4
4
  icon_name = icon_name.to_s.gsub('_', '-')
5
- classes = ["icon-#{icon_name}"]
5
+ classes = ["fa fa-#{icon_name}"]
6
6
  if string.present?
7
7
  classes << 'on-left' if icon_position == :left
8
8
  classes << 'on-right' if icon_position == :right
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-bootstrap-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bradly Feeley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-13 00:00:00.000000000 Z
11
+ date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A set of Ruby on Rails view helpers to be used with Twitter Bootstrap
14
14
  email: