font-awesome-sass 5.13.1 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -66
  3. data/assets/fonts/font-awesome/fa-brands-400.ttf +0 -0
  4. data/assets/fonts/font-awesome/fa-brands-400.woff2 +0 -0
  5. data/assets/fonts/font-awesome/fa-regular-400.ttf +0 -0
  6. data/assets/fonts/font-awesome/fa-regular-400.woff2 +0 -0
  7. data/assets/fonts/font-awesome/fa-solid-900.ttf +0 -0
  8. data/assets/fonts/font-awesome/fa-solid-900.woff2 +0 -0
  9. data/assets/stylesheets/_brands.scss +33 -0
  10. data/assets/stylesheets/_font-awesome.scss +20 -4
  11. data/assets/stylesheets/_regular.scss +27 -0
  12. data/assets/stylesheets/_solid.scss +26 -0
  13. data/assets/stylesheets/_v4-shims.scss +8 -3
  14. data/assets/stylesheets/font-awesome/_animated.scss +142 -9
  15. data/assets/stylesheets/font-awesome/_bordered-pulled.scss +13 -13
  16. data/assets/stylesheets/font-awesome/_core.scss +16 -4
  17. data/assets/stylesheets/font-awesome/_fixed-width.scss +2 -1
  18. data/assets/stylesheets/font-awesome/_functions.scss +51 -0
  19. data/assets/stylesheets/font-awesome/_icons.scss +6 -1448
  20. data/assets/stylesheets/font-awesome/_list.scss +4 -4
  21. data/assets/stylesheets/font-awesome/_mixins.scss +51 -34
  22. data/assets/stylesheets/font-awesome/_rotated-flipped.scss +25 -18
  23. data/assets/stylesheets/font-awesome/_screen-reader.scss +12 -3
  24. data/assets/stylesheets/font-awesome/_shims.scss +467 -506
  25. data/assets/stylesheets/font-awesome/_sizing.scss +16 -0
  26. data/assets/stylesheets/font-awesome/_stacked.scss +5 -4
  27. data/assets/stylesheets/font-awesome/_variables.scss +3664 -797
  28. data/font-awesome-sass.gemspec +1 -2
  29. data/lib/font-awesome-sass.rb +0 -18
  30. data/lib/font_awesome/sass/rails/engine.rb +1 -1
  31. data/lib/font_awesome/sass/rails/helpers.rb +1 -0
  32. data/lib/font_awesome/sass/version.rb +1 -1
  33. metadata +10 -32
  34. data/assets/fonts/font-awesome/fa-brands-400.eot +0 -0
  35. data/assets/fonts/font-awesome/fa-brands-400.svg +0 -3633
  36. data/assets/fonts/font-awesome/fa-brands-400.woff +0 -0
  37. data/assets/fonts/font-awesome/fa-regular-400.eot +0 -0
  38. data/assets/fonts/font-awesome/fa-regular-400.svg +0 -803
  39. data/assets/fonts/font-awesome/fa-regular-400.woff +0 -0
  40. data/assets/fonts/font-awesome/fa-solid-900.eot +0 -0
  41. data/assets/fonts/font-awesome/fa-solid-900.svg +0 -5000
  42. data/assets/fonts/font-awesome/fa-solid-900.woff +0 -0
  43. data/assets/stylesheets/_font-awesome-compass.scss +0 -5
  44. data/assets/stylesheets/_font-awesome-sprockets.scss +0 -5
  45. data/assets/stylesheets/font-awesome/_larger.scss +0 -23
  46. data/assets/stylesheets/font-awesome/_path.scss +0 -56
@@ -18,9 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_runtime_dependency 'sassc', '>= 1.11'
21
+ spec.add_runtime_dependency 'sassc', '>= 2.0'
22
22
 
23
23
  spec.add_development_dependency 'bundler', '>= 1.3'
24
- spec.add_development_dependency 'compass'
25
24
  spec.add_development_dependency 'rake'
26
25
  end
@@ -6,8 +6,6 @@ module FontAwesome
6
6
  register_rails_engine
7
7
  elsif sprockets?
8
8
  register_sprockets
9
- elsif compass?
10
- register_compass_extension
11
9
  elsif deprecated_sass?
12
10
  ::Sass.load_paths << stylesheets_path
13
11
  end
@@ -34,10 +32,6 @@ module FontAwesome
34
32
  defined?(::Sprockets)
35
33
  end
36
34
 
37
- def compass?
38
- defined?(::Compass::Frameworks)
39
- end
40
-
41
35
  def rails?
42
36
  defined?(::Rails)
43
37
  end
@@ -49,18 +43,6 @@ module FontAwesome
49
43
 
50
44
  private
51
45
 
52
- def register_compass_extension
53
- require 'font_awesome/sass/version'
54
-
55
- ::Compass::Frameworks.register(
56
- 'font-awesome',
57
- version: FontAwesome::Sass::VERSION,
58
- path: gem_path,
59
- stylesheets_directory: stylesheets_path,
60
- templates_directory: File.join(gem_path, 'templates')
61
- )
62
- end
63
-
64
46
  def register_rails_engine
65
47
  require 'font_awesome/sass/rails/engine'
66
48
  require 'font_awesome/sass/rails/railtie'
@@ -7,7 +7,7 @@ module FontAwesome
7
7
  app.config.assets.paths << root.join('assets', sub).to_s
8
8
  end
9
9
 
10
- %w[eot svg ttf woff woff2].each do |ext|
10
+ %w[ttf woff2].each do |ext|
11
11
  app.config.assets.precompile << "font-awesome/fa-brands-400.#{ext}"
12
12
  app.config.assets.precompile << "font-awesome/fa-regular-400.#{ext}"
13
13
  app.config.assets.precompile << "font-awesome/fa-solid-900.#{ext}"
@@ -8,6 +8,7 @@ module FontAwesome
8
8
  content_class = "#{style} fa-#{name}"
9
9
  content_class << " #{html_options[:class]}" if html_options.key?(:class)
10
10
  html_options[:class] = content_class
11
+ html_options['aria-hidden'] ||= true
11
12
 
12
13
  html = content_tag(:i, nil, html_options)
13
14
  html << ' ' << text.to_s unless text.blank?
@@ -1,5 +1,5 @@
1
1
  module FontAwesome
2
2
  module Sass
3
- VERSION = '5.13.1'.freeze
3
+ VERSION = "6.0.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font-awesome-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.13.1
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Chase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-18 00:00:00.000000000 Z
11
+ date: 2022-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sassc
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.11'
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.11'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
- - !ruby/object:Gem::Dependency
42
- name: compass
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -78,37 +64,29 @@ files:
78
64
  - LICENSE.txt
79
65
  - README.md
80
66
  - Rakefile
81
- - assets/fonts/font-awesome/fa-brands-400.eot
82
- - assets/fonts/font-awesome/fa-brands-400.svg
83
67
  - assets/fonts/font-awesome/fa-brands-400.ttf
84
- - assets/fonts/font-awesome/fa-brands-400.woff
85
68
  - assets/fonts/font-awesome/fa-brands-400.woff2
86
- - assets/fonts/font-awesome/fa-regular-400.eot
87
- - assets/fonts/font-awesome/fa-regular-400.svg
88
69
  - assets/fonts/font-awesome/fa-regular-400.ttf
89
- - assets/fonts/font-awesome/fa-regular-400.woff
90
70
  - assets/fonts/font-awesome/fa-regular-400.woff2
91
- - assets/fonts/font-awesome/fa-solid-900.eot
92
- - assets/fonts/font-awesome/fa-solid-900.svg
93
71
  - assets/fonts/font-awesome/fa-solid-900.ttf
94
- - assets/fonts/font-awesome/fa-solid-900.woff
95
72
  - assets/fonts/font-awesome/fa-solid-900.woff2
96
- - assets/stylesheets/_font-awesome-compass.scss
97
- - assets/stylesheets/_font-awesome-sprockets.scss
73
+ - assets/stylesheets/_brands.scss
98
74
  - assets/stylesheets/_font-awesome.scss
75
+ - assets/stylesheets/_regular.scss
76
+ - assets/stylesheets/_solid.scss
99
77
  - assets/stylesheets/_v4-shims.scss
100
78
  - assets/stylesheets/font-awesome/_animated.scss
101
79
  - assets/stylesheets/font-awesome/_bordered-pulled.scss
102
80
  - assets/stylesheets/font-awesome/_core.scss
103
81
  - assets/stylesheets/font-awesome/_fixed-width.scss
82
+ - assets/stylesheets/font-awesome/_functions.scss
104
83
  - assets/stylesheets/font-awesome/_icons.scss
105
- - assets/stylesheets/font-awesome/_larger.scss
106
84
  - assets/stylesheets/font-awesome/_list.scss
107
85
  - assets/stylesheets/font-awesome/_mixins.scss
108
- - assets/stylesheets/font-awesome/_path.scss
109
86
  - assets/stylesheets/font-awesome/_rotated-flipped.scss
110
87
  - assets/stylesheets/font-awesome/_screen-reader.scss
111
88
  - assets/stylesheets/font-awesome/_shims.scss
89
+ - assets/stylesheets/font-awesome/_sizing.scss
112
90
  - assets/stylesheets/font-awesome/_stacked.scss
113
91
  - assets/stylesheets/font-awesome/_variables.scss
114
92
  - font-awesome-sass.gemspec
@@ -136,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
114
  - !ruby/object:Gem::Version
137
115
  version: '0'
138
116
  requirements: []
139
- rubygems_version: 3.1.4
117
+ rubygems_version: 3.3.8
140
118
  signing_key:
141
119
  specification_version: 4
142
120
  summary: Font-Awesome SASS