fa_rails 0.1.25 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/fa_rails.gemspec +1 -1
- data/lib/fa/base.rb +2 -2
- data/spec/lib/fa_spec.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b54f242a9e548eec5062f96702e9932068fe7c7c51859b5447da6365f2ffe98
|
4
|
+
data.tar.gz: 37fa7e6971c0db4f1bf67ff689e0ce30e52b5f1c7df9ff73af208b96c8589998
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 574d7b97c657e3030300737364079cfb095fc7fbdde7c018f2efda666c2b460eb5788639ef44786bbb3eb4b046ca906d937b573c0eb0ccdfcf561c80f2685ab6
|
7
|
+
data.tar.gz: 7cef6d1273dbf03b156505e48e3f91685f1fefc3f8c79a852bdf5abf1fc3a2366b881b34b84a3bb0b20020d784a1dc1618fcdd651e424091850d2eba8f25844a
|
data/Gemfile.lock
CHANGED
data/fa_rails.gemspec
CHANGED
data/lib/fa/base.rb
CHANGED
@@ -111,8 +111,8 @@ module FA
|
|
111
111
|
end
|
112
112
|
|
113
113
|
def format_classes(classes, prefix: nil)
|
114
|
-
classes = classes.split(' ')
|
115
|
-
classes.map { |c| "#{prefix}#{c}" }
|
114
|
+
classes = classes.to_s.split(' ') unless classes.is_a?(Array)
|
115
|
+
classes.map { |c| "#{prefix}#{c}" }
|
116
116
|
end
|
117
117
|
|
118
118
|
def merge_fa_styles(options)
|
data/spec/lib/fa_spec.rb
CHANGED
@@ -73,7 +73,7 @@ RSpec.describe FA do
|
|
73
73
|
|
74
74
|
it 'should correctly handle a nil css option' do
|
75
75
|
expect(FA::Icon.p(:help, css: nil)).to eql(
|
76
|
-
"<i class='fas
|
76
|
+
"<i class='fas fa-help fa-1x' style='' data-fa-transform='' title=''></i>"
|
77
77
|
)
|
78
78
|
end
|
79
79
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fa_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julian Fiander
|
@@ -114,8 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
|
-
|
118
|
-
rubygems_version: 2.7.6
|
117
|
+
rubygems_version: 3.2.15
|
119
118
|
signing_key:
|
120
119
|
specification_version: 4
|
121
120
|
summary: FontAwesome helper for Rails
|