faw_icon 1.0.0 → 1.1.1

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
  SHA256:
3
- metadata.gz: 7fe3bd905a31df7842cec835ddd74a0f7b04baf2761bde67af2c9ca1c3ace3c6
4
- data.tar.gz: c05140a0c6fe204c5f17a169cc3369cd043bdfa78156cd6200c89eb6111a1e08
3
+ metadata.gz: 7b69d366739f42aafd6f92431f5ae8a1ee59535cfc9fa91e5e8ac66a22049741
4
+ data.tar.gz: a154a2060a44811bb507320c3884363cb6a8334a93b08e5429a0e5e9f04922fd
5
5
  SHA512:
6
- metadata.gz: ac72a72077ea18e3c851e696b6d27148782d0d63daa95e6b26d3d44dc332e6cd1507619aa955fcc16083c3f0426d67db1ca878a5430649f1d96143edcefc28aa
7
- data.tar.gz: c8f384471b6d18037331cb98286c9c8d82829c2bc0930fcd0b18ee0db4e779864ea6a3caf7dbd12f67eace35c4a9ac0011e449edbd73d7307a5285b97110ff2d
6
+ metadata.gz: d989553d5322b1850732ca0c067c26553274b1c1ad88e4caed3203f31e2a6077fe55f6a184e350afbc2048b9fc6ee9e886007718dbeb77c029bd7e4f5d424fe3
7
+ data.tar.gz: eda0ed8cb67f58528b1ecd1b014fa89d7528b554fc34561a1e27a4e5deadfd46431822684328459bb065ecfc30c6b77462984c2d2332c963373fffa4f1fc033e
data/README.md CHANGED
@@ -101,7 +101,7 @@ A mapping for the properties has been introduced in an attempt to make them more
101
101
 
102
102
  | Original property | Mapped property | Required | Original value | Mapped value | Type |
103
103
  |-------------------|-----------------|----------|--------------------|------------------------------|---------|
104
- | class | style | yes | fas, far, fal, fab | solid, regular, light, brand | string |
104
+ | class | style | yes | fas, far, fal, fab, fad | solid, regular, light, brand, duotone | string |
105
105
  | class | name | yes | fa-user | user | string |
106
106
  | class | fixed_width | no | fa-fw | true | boolean |
107
107
  | class | spin | no | fa-spin | true | boolean |
@@ -120,10 +120,13 @@ Then just use them like this
120
120
  <%= faw_icon 'light', 'info', {fixed_width: true} %>
121
121
  <%= faw_icon 'regular', 'sync', {spin: true} %>
122
122
  <%= faw_icon 'brand', 'android', {transform: 'grow-5'} %>
123
+ <%= faw_icon 'duotone', 'abacus' %>
123
124
 
124
125
  Bear in mind that the `brand` icons only come in one style called `brand`(!)
125
- and the rest come in three variations but not all are available in the free collection.
126
- Find them all in the [gallery](https://fontawesome.com/icons?d=gallery)
126
+ and the rest come in four variations but not all are available in the free collection.
127
+ Find them all in the [gallery](https://fontawesome.com/icons?d=gallery)
128
+
129
+ Note: Duotone style works just like all other icons, just use the 'duotone' style property.
127
130
 
128
131
  ## Contributing
129
132
 
@@ -86,6 +86,8 @@ module FawIcon
86
86
  'fal'
87
87
  when 'brands'
88
88
  'fab'
89
+ when 'duotone'
90
+ 'fad'
89
91
  end
90
92
  end
91
93
 
@@ -1,3 +1,3 @@
1
1
  module FawIcon
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faw_icon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - alexwebgr
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-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: bundler