fa_rails 0.1.19 → 0.1.20

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
  SHA256:
3
- metadata.gz: a81bde1565370f75213aca86e1c432726e01abd3728b6b5b03c6945071ef4129
4
- data.tar.gz: 2438f2c1a9a9e904baebf0dcea5cb9717671bea5b435a1e2a48981dd50c9cadd
3
+ metadata.gz: 157fd0642d7e283f63085edd82d1e83941440c53b62f1c7e547a448faa07d43f
4
+ data.tar.gz: 1fe81fae07ca36ee1451d435fb3355b4ad3c8fc9baa3b25f22f4823ce23f062d
5
5
  SHA512:
6
- metadata.gz: 9827cf41bc93a5f7a5cbbb053c4c3a98c506dc0484a6688dcdab49396220ebf24c98ec4c5e90b93d60a1545811a8f7d36c04b2f91f43dddd17d93f3fb0dbe989
7
- data.tar.gz: 397edebc13362c58052348c122fe95543059bbea1f7de183a4388182f6ce0ba003064522db82100a89218b933781e55a159418d64bb0f1c51480d7e60e2acb41
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fa_rails (0.1.18)
4
+ fa_rails (0.1.20)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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.19'
4
- s.date = '2019-07-29'
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[srlb]/)
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.19
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-29 00:00:00.000000000 Z
11
+ date: 2019-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake