font_awesome5_rails 0.4.3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -2
  3. data/app/assets/fonts/fa-brands-400.eot +0 -0
  4. data/app/assets/fonts/fa-brands-400.svg +3293 -1257
  5. data/app/assets/fonts/fa-brands-400.ttf +0 -0
  6. data/app/assets/fonts/fa-brands-400.woff +0 -0
  7. data/app/assets/fonts/fa-brands-400.woff2 +0 -0
  8. data/app/assets/fonts/fa-regular-400.eot +0 -0
  9. data/app/assets/fonts/fa-regular-400.svg +796 -468
  10. data/app/assets/fonts/fa-regular-400.ttf +0 -0
  11. data/app/assets/fonts/fa-regular-400.woff +0 -0
  12. data/app/assets/fonts/fa-regular-400.woff2 +0 -0
  13. data/app/assets/fonts/fa-solid-900.eot +0 -0
  14. data/app/assets/fonts/fa-solid-900.svg +4513 -2757
  15. data/app/assets/fonts/fa-solid-900.ttf +0 -0
  16. data/app/assets/fonts/fa-solid-900.woff +0 -0
  17. data/app/assets/fonts/fa-solid-900.woff2 +0 -0
  18. data/app/assets/images/fa5/brands/accusoft.svg +1 -1
  19. data/app/assets/images/fa5/brands/acquisitions-incorporated.svg +1 -1
  20. data/app/assets/images/fa5/brands/amilia.svg +1 -1
  21. data/app/assets/images/fa5/brands/canadian-maple-leaf.svg +1 -1
  22. data/app/assets/images/fa5/brands/cc-amex.svg +1 -1
  23. data/app/assets/images/fa5/brands/cc-discover.svg +1 -1
  24. data/app/assets/images/fa5/brands/cc-stripe.svg +1 -1
  25. data/app/assets/images/fa5/brands/cpanel.svg +1 -1
  26. data/app/assets/images/fa5/brands/creative-commons-pd-alt.svg +1 -1
  27. data/app/assets/images/fa5/brands/d-and-d-beyond.svg +1 -1
  28. data/app/assets/images/fa5/brands/delicious.svg +1 -1
  29. data/app/assets/images/fa5/brands/digital-ocean.svg +1 -1
  30. data/app/assets/images/fa5/brands/draft2digital.svg +1 -1
  31. data/app/assets/images/fa5/brands/ebay.svg +1 -1
  32. data/app/assets/images/fa5/brands/ember.svg +1 -1
  33. data/app/assets/images/fa5/brands/erlang.svg +1 -1
  34. data/app/assets/images/fa5/brands/facebook-f.svg +1 -1
  35. data/app/assets/images/fa5/brands/fedora.svg +1 -1
  36. data/app/assets/images/fa5/brands/figma.svg +1 -1
  37. data/app/assets/images/fa5/brands/firefox.svg +1 -1
  38. data/app/assets/images/fa5/brands/font-awesome-alt.svg +1 -1
  39. data/app/assets/images/fa5/brands/fonticons.svg +1 -1
  40. data/app/assets/images/fa5/brands/fort-awesome-alt.svg +1 -1
  41. data/app/assets/images/fa5/brands/gitlab.svg +1 -1
  42. data/app/assets/images/fa5/brands/gripfire.svg +1 -1
  43. data/app/assets/images/fa5/brands/grunt.svg +1 -1
  44. data/app/assets/images/fa5/brands/hips.svg +1 -1
  45. data/app/assets/images/fa5/brands/hooli.svg +1 -1
  46. data/app/assets/images/fa5/brands/imdb.svg +1 -1
  47. data/app/assets/images/fa5/brands/java.svg +1 -1
  48. data/app/assets/images/fa5/brands/jedi-order.svg +1 -1
  49. data/app/assets/images/fa5/brands/joget.svg +1 -1
  50. data/app/assets/images/fa5/brands/kaggle.svg +1 -1
  51. data/app/assets/images/fa5/brands/linux.svg +1 -1
  52. data/app/assets/images/fa5/brands/mailchimp.svg +1 -1
  53. data/app/assets/images/fa5/brands/markdown.svg +1 -1
  54. data/app/assets/images/fa5/brands/megaport.svg +1 -1
  55. data/app/assets/images/fa5/brands/mendeley.svg +1 -1
  56. data/app/assets/images/fa5/brands/optin-monster.svg +1 -1
  57. data/app/assets/images/fa5/brands/pied-piper-alt.svg +1 -1
  58. data/app/assets/images/fa5/brands/python.svg +1 -1
  59. data/app/assets/images/fa5/brands/quinscape.svg +1 -1
  60. data/app/assets/images/fa5/brands/react.svg +1 -1
  61. data/app/assets/images/fa5/brands/reacteurope.svg +1 -1
  62. data/app/assets/images/fa5/brands/sass.svg +1 -1
  63. data/app/assets/images/fa5/brands/shirtsinbulk.svg +1 -1
  64. data/app/assets/images/fa5/brands/slack.svg +1 -1
  65. data/app/assets/images/fa5/brands/slideshare.svg +1 -1
  66. data/app/assets/images/fa5/brands/stack-overflow.svg +1 -1
  67. data/app/assets/images/fa5/brands/staylinked.svg +1 -1
  68. data/app/assets/images/fa5/brands/sticker-mule.svg +1 -1
  69. data/app/assets/images/fa5/brands/strava.svg +1 -1
  70. data/app/assets/images/fa5/brands/stripe-s.svg +1 -1
  71. data/app/assets/images/fa5/brands/stripe.svg +1 -1
  72. data/app/assets/images/fa5/brands/teamspeak.svg +1 -1
  73. data/app/assets/images/fa5/brands/the-red-yeti.svg +1 -1
  74. data/app/assets/images/fa5/brands/think-peaks.svg +1 -1
  75. data/app/assets/images/fa5/brands/trade-federation.svg +1 -1
  76. data/app/assets/images/fa5/brands/typo3.svg +1 -1
  77. data/app/assets/images/fa5/brands/uniregistry.svg +1 -1
  78. data/app/assets/images/fa5/brands/yelp.svg +1 -1
  79. data/app/assets/images/fa5/regular/calendar-alt.svg +1 -1
  80. data/app/assets/images/fa5/regular/clipboard.svg +1 -1
  81. data/app/assets/images/fa5/regular/eye-slash.svg +1 -1
  82. data/app/assets/images/fa5/regular/eye.svg +1 -1
  83. data/app/assets/images/fa5/regular/file-archive.svg +1 -1
  84. data/app/assets/images/fa5/regular/file-code.svg +1 -1
  85. data/app/assets/images/fa5/regular/folder-open.svg +1 -1
  86. data/app/assets/images/fa5/regular/trash-alt.svg +1 -1
  87. data/app/assets/images/fa5/solid/bacon.svg +1 -0
  88. data/app/assets/images/fa5/solid/book-dead.svg +1 -1
  89. data/app/assets/images/fa5/solid/book-medical.svg +1 -0
  90. data/app/assets/images/fa5/solid/box-open.svg +1 -1
  91. data/app/assets/images/fa5/solid/bread-slice.svg +1 -0
  92. data/app/assets/images/fa5/solid/chair.svg +1 -1
  93. data/app/assets/images/fa5/solid/cheese.svg +1 -0
  94. data/app/assets/images/fa5/solid/chess-board.svg +1 -1
  95. data/app/assets/images/fa5/solid/chess.svg +1 -1
  96. data/app/assets/images/fa5/solid/clinic-medical.svg +1 -0
  97. data/app/assets/images/fa5/solid/cog.svg +1 -1
  98. data/app/assets/images/fa5/solid/comment-medical.svg +1 -0
  99. data/app/assets/images/fa5/solid/crutch.svg +1 -0
  100. data/app/assets/images/fa5/solid/drumstick-bite.svg +1 -1
  101. data/app/assets/images/fa5/solid/egg.svg +1 -0
  102. data/app/assets/images/fa5/solid/eye-slash.svg +1 -1
  103. data/app/assets/images/fa5/solid/eye.svg +1 -1
  104. data/app/assets/images/fa5/solid/file-archive.svg +1 -1
  105. data/app/assets/images/fa5/solid/file-export.svg +1 -1
  106. data/app/assets/images/fa5/solid/file-import.svg +1 -1
  107. data/app/assets/images/fa5/solid/fire-alt.svg +1 -0
  108. data/app/assets/images/fa5/solid/fire.svg +1 -1
  109. data/app/assets/images/fa5/solid/flag-checkered.svg +1 -1
  110. data/app/assets/images/fa5/solid/font.svg +1 -1
  111. data/app/assets/images/fa5/solid/gopuram.svg +1 -1
  112. data/app/assets/images/fa5/solid/hamburger.svg +1 -0
  113. data/app/assets/images/fa5/solid/hand-middle-finger.svg +1 -0
  114. data/app/assets/images/fa5/solid/hand-rock.svg +1 -1
  115. data/app/assets/images/fa5/solid/hand-spock.svg +1 -1
  116. data/app/assets/images/fa5/solid/hard-hat.svg +1 -0
  117. data/app/assets/images/fa5/solid/home.svg +1 -1
  118. data/app/assets/images/fa5/solid/hotdog.svg +1 -0
  119. data/app/assets/images/fa5/solid/ice-cream.svg +1 -0
  120. data/app/assets/images/fa5/solid/language.svg +1 -1
  121. data/app/assets/images/fa5/solid/laptop-medical.svg +1 -0
  122. data/app/assets/images/fa5/solid/motorcycle.svg +1 -1
  123. data/app/assets/images/fa5/solid/pager.svg +1 -0
  124. data/app/assets/images/fa5/solid/pepper-hot.svg +1 -0
  125. data/app/assets/images/fa5/solid/pizza-slice.svg +1 -0
  126. data/app/assets/images/fa5/solid/rocket.svg +1 -1
  127. data/app/assets/images/fa5/solid/shield-alt.svg +1 -1
  128. data/app/assets/images/fa5/solid/sort-alpha-down.svg +1 -1
  129. data/app/assets/images/fa5/solid/sort-alpha-up.svg +1 -1
  130. data/app/assets/images/fa5/solid/subscript.svg +1 -1
  131. data/app/assets/images/fa5/solid/superscript.svg +1 -1
  132. data/app/assets/images/fa5/solid/toggle-on.svg +1 -1
  133. data/app/assets/images/fa5/solid/torah.svg +1 -1
  134. data/app/assets/images/fa5/solid/trademark.svg +1 -1
  135. data/app/assets/images/fa5/solid/trash-alt.svg +1 -1
  136. data/app/assets/images/fa5/solid/trash-restore-alt.svg +1 -0
  137. data/app/assets/images/fa5/solid/trash-restore.svg +1 -0
  138. data/app/assets/images/fa5/solid/trash.svg +1 -1
  139. data/app/assets/images/fa5/solid/user-nurse.svg +1 -0
  140. data/app/assets/images/fa5/solid/won-sign.svg +1 -1
  141. data/app/assets/images/fa5/solid/yen-sign.svg +1 -1
  142. data/app/assets/javascripts/all.min.js +1 -5
  143. data/app/assets/stylesheets/all.scss +70 -3
  144. data/app/assets/stylesheets/svg-with-js.min.css +1 -5
  145. data/app/helpers/font_awesome5/rails/icon_helper.rb +12 -0
  146. data/lib/font_awesome5_rails/version.rb +2 -2
  147. data/spec/font_awesome5_rails_spec.rb +32 -0
  148. metadata +23 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74758048cbc1723d92a11c8ee131ffbcb755f4e695e12024cb4350f3bca1490e
4
- data.tar.gz: ab7d8369cd85f647cf26a7258bae3f866653d98968d18dcf721fb02976860429
3
+ metadata.gz: 447750ec36545354ded2726a3b36f74991db9496ee946b9ba27c1880b0ac4c1e
4
+ data.tar.gz: c46196b174c947dac669889f100776a2157624a1e3b376e887b27bd8284e0cdf
5
5
  SHA512:
6
- metadata.gz: 06e3908e4dcc4b85a20cd273b2669575d29abf7dc46c06edcf1ebad22ddb70227239f4eb902da8b16c712280499680def122c3233404d6f1ccdcc60df9f9f963
7
- data.tar.gz: af818ee2c136b4edfe89498f36909a547dfd29beb293a49210fc0a849a3994666f936ce02848f2a169d57faa960ac96eb4e178f15c9f97987d28c5da6c8798bb
6
+ metadata.gz: a725ead18597d18362a8b38ea57f0edd097e740b913dfd47becf22535a6fd489c2762bd16d212f8de2b479b51d3c1102c204c47da76f55af87a972853f14ccdc
7
+ data.tar.gz: de8ea973f2fb09f1734f645ff761c81d65a76b6a4a57bb1495b3f3271e02bde2807463f305ce37ae607a374c8701600e25ddb78cfaeb6c469adbbdc4c4d87675
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Font Awesome 5 Rails
2
- [![Gem Version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=rb&type=6&v=0.4.3&x2=0)](https://badge.fury.io/rb/font_awesome5_rails)
3
- [![FA5 version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=gh&type=6&v=5.6.0&x2=0)](https://github.com/tomkra/font_awesome5_rails/blob/master/lib/font_awesome5_rails/version.rb)
2
+ [![Gem Version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=rb&type=6&v=0.5.0&x2=0)](https://badge.fury.io/rb/font_awesome5_rails)
3
+ [![FA5 version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=gh&type=6&v=5.7.0&x2=0)](https://github.com/tomkra/font_awesome5_rails/blob/master/lib/font_awesome5_rails/version.rb)
4
4
  [![Build Status](https://travis-ci.org/tomkra/font_awesome5_rails.svg?branch=master)](https://travis-ci.org/tomkra/font_awesome5_rails)
5
5
  [![HitCount](http://hits.dwyl.io/tomkra/tomkra/font_awesome5_rails.svg)](http://hrits.dwyl.io/tomkra/tomkra/font_awesome5_rails)
6
6
 
@@ -107,6 +107,29 @@ fa_icon('camera-retro', type: :fab)
107
107
 
108
108
  ```
109
109
 
110
+ Each icon type has its own helper method so you don't need to provide the ```type``` attribute in every call.
111
+ Which can be overridden, if it is provided.
112
+ ```ruby
113
+ far_icon('camera-retro')
114
+ # => <i class="far fa-camera-retro"></i>
115
+
116
+ far_icon('camera-retro', type: :fab)
117
+ # => <i class="fab fa-camera-retro"></i>
118
+
119
+ far_stacked_icon('camera', base: 'circle')
120
+ # => <span class="fa-stack">
121
+ # => <i class="far fa-circle fa-stack-2x"></i>
122
+ # => <i class="far fa-camera fa-stack-1x"></i>
123
+ # => </span>
124
+
125
+ far_stacked_icon('camera', base: 'circle', type: :fal)
126
+ # => <span class="fa-stack">
127
+ # => <i class="fal fa-circle fa-stack-2x"></i>
128
+ # => <i class="fal fa-camera fa-stack-1x"></i>
129
+ # => </span>
130
+
131
+ ```
132
+
110
133
  ### Animations and data attributes
111
134
  FontAwesome 5 provides new animations and data attributes. Here are some examples how to use them:
112
135
  ```ruby
Binary file