fa_rails 0.1.19 → 0.1.20
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 +4 -4
- data/.travis.yml +2 -0
- data/Gemfile.lock +1 -1
- data/fa_rails.gemspec +2 -2
- data/lib/fa/base.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 157fd0642d7e283f63085edd82d1e83941440c53b62f1c7e547a448faa07d43f
|
|
4
|
+
data.tar.gz: 1fe81fae07ca36ee1451d435fb3355b4ad3c8fc9baa3b25f22f4823ce23f062d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ed38c30ff8f9aca74e873dc2308506434a424d6955ea982207d292500bd906755395536e93569647688a05f2cd479421a2f26fdc8cefb36cc33c60219877261
|
|
7
|
+
data.tar.gz: 1a630a476fb8b48a3c4800ac3907a2478e11bc99f6cdc656f50000e28581192375ad783648a3299252b040300c500cee14007d3d46e83418e88a21b9a7b4acf7
|
data/.travis.yml
CHANGED
|
@@ -8,6 +8,8 @@ notifications:
|
|
|
8
8
|
email:
|
|
9
9
|
on_success: change
|
|
10
10
|
on_failure: always
|
|
11
|
+
before_install:
|
|
12
|
+
- gem install bundler -v '< 2'
|
|
11
13
|
before_script:
|
|
12
14
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
13
15
|
- chmod +x ./cc-test-reporter
|
data/Gemfile.lock
CHANGED
data/fa_rails.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'fa_rails'
|
|
3
|
-
s.version = '0.1.
|
|
4
|
-
s.date = '2019-07-
|
|
3
|
+
s.version = '0.1.20'
|
|
4
|
+
s.date = '2019-07-31'
|
|
5
5
|
s.summary = 'FontAwesome helper for Rails'
|
|
6
6
|
s.description = 'A helper module for using FontAwesome icons in Rails.'
|
|
7
7
|
s.homepage = 'http://rubygems.org/gems/fa_rails'
|
data/lib/fa/base.rb
CHANGED
|
@@ -113,10 +113,10 @@ module FA
|
|
|
113
113
|
end
|
|
114
114
|
|
|
115
115
|
def parse_style(options)
|
|
116
|
-
return if options[:css].to_s.match?(/fa[
|
|
117
|
-
return 'fas' unless %i[solid regular light brands].include?(options[:style])
|
|
116
|
+
return if options[:css].to_s.match?(/fa[srldb]/)
|
|
117
|
+
return 'fas' unless %i[solid regular light duotone brands].include?(options[:style])
|
|
118
118
|
|
|
119
|
-
'fa' + { solid: 's', regular: 'r', light: 'l', brands: 'b' }[options[:style]]
|
|
119
|
+
'fa' + { solid: 's', regular: 'r', light: 'l', duotone: 'd', brands: 'b' }[options[:style]]
|
|
120
120
|
end
|
|
121
121
|
end
|
|
122
122
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Julian Fiander
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-07-
|
|
11
|
+
date: 2019-07-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|