font-awesome-sass 4.3.2 → 4.3.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e6f9a77d51499d5e1c9a7dfc0db71755f54059d
4
- data.tar.gz: ce99003becafb5db2ac82dc3d17f525c193bc931
3
+ metadata.gz: 250fd79eaf6b1120ad0f50bc4fe458658d1ba278
4
+ data.tar.gz: c899dfd863415e14c83412abbdf587bea18a432b
5
5
  SHA512:
6
- metadata.gz: 54968ccbc06391fc52fad25e3eb490a5cb50459e16407ed2eb292c46e5c1fb9b0b60af08239a686b5436021cee22300fc3a11e709072b70ac612e52fd6c3e809
7
- data.tar.gz: 28f6f93d7dbd98ece4bc0fae27d53fc640646f22b18a8b504e51896f486c0639b72f4b5ed0e003dafc83a29395698d50ae3288f1b7516cf19dbc384dabddf846
6
+ metadata.gz: 5d4c358815ea3b5b6cf94918b7e9a666616183cbc01f07c67451e7df036b85cc7db6845c694eb7d2c4665e062c633b2122bc5b46f166026cf940825c9887c722
7
+ data.tar.gz: dd6d6bf0d711406861fe54e2bf568b4af21d17ec68d1513d3ec4badfde489ca788d7ed996593213258beee90778e15183afe00bd04dee7e4f314f9fb8d9d5b5b
@@ -2,16 +2,15 @@ module FontAwesome
2
2
  module Sass
3
3
  module Rails
4
4
  module ViewHelpers
5
- def icon(icon, *args)
6
- text, html_options = args
7
- html_options = text if text.is_a?(Hash)
8
-
5
+ def icon(icon, text = nil, html_options = {})
6
+ text, html_options = nil, text if text.is_a?(Hash)
7
+
9
8
  content_class = "fa fa-#{icon}"
10
9
  content_class << " #{html_options[:class]}" if html_options.key?(:class)
11
10
  html_options[:class] = content_class
12
11
 
13
12
  html = content_tag(:i, nil, html_options)
14
- html << ' ' << text unless text.blank?
13
+ html << ' ' << text.to_s unless text.blank?
15
14
  html
16
15
  end
17
16
  end
@@ -1,5 +1,5 @@
1
1
  module FontAwesome
2
2
  module Sass
3
- VERSION = '4.3.2'
3
+ VERSION = '4.3.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font-awesome-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.2
4
+ version: 4.3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Chase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-13 00:00:00.000000000 Z
11
+ date: 2015-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass