font-awesome-sass 5.14.0 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -66
- data/assets/fonts/font-awesome/fa-brands-400.ttf +0 -0
- data/assets/fonts/font-awesome/fa-brands-400.woff2 +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.ttf +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.woff2 +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.ttf +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.woff2 +0 -0
- data/assets/stylesheets/_font-awesome.scss +11 -4
- data/assets/stylesheets/font-awesome/_animated.scss +201 -5
- data/assets/stylesheets/font-awesome/_bordered-pulled.scss +13 -13
- data/assets/stylesheets/font-awesome/_brands.scss +33 -0
- data/assets/stylesheets/font-awesome/_core.scss +16 -4
- data/assets/stylesheets/font-awesome/_fixed-width.scss +2 -1
- data/assets/stylesheets/font-awesome/_functions.scss +66 -0
- data/assets/stylesheets/font-awesome/_icons.scss +8 -1448
- data/assets/stylesheets/font-awesome/_list.scss +7 -5
- data/assets/stylesheets/font-awesome/_mixins.scss +50 -34
- data/assets/stylesheets/font-awesome/_regular.scss +27 -0
- data/assets/stylesheets/font-awesome/_rotated-flipped.scss +25 -18
- data/assets/stylesheets/font-awesome/_screen-reader.scss +12 -3
- data/assets/stylesheets/font-awesome/_shims.scss +1195 -652
- data/assets/stylesheets/font-awesome/_sizing.scss +16 -0
- data/assets/stylesheets/font-awesome/_solid.scss +26 -0
- data/assets/stylesheets/font-awesome/_stacked.scss +5 -4
- data/assets/stylesheets/font-awesome/_variables.scss +4181 -771
- data/font-awesome-sass.gemspec +1 -2
- data/lib/font-awesome-sass.rb +0 -18
- data/lib/font_awesome/sass/rails/engine.rb +1 -1
- data/lib/font_awesome/sass/rails/helpers.rb +1 -0
- data/lib/font_awesome/sass/version.rb +1 -1
- metadata +10 -33
- data/assets/fonts/font-awesome/fa-brands-400.eot +0 -0
- data/assets/fonts/font-awesome/fa-brands-400.svg +0 -3637
- data/assets/fonts/font-awesome/fa-brands-400.woff +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.eot +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.svg +0 -805
- data/assets/fonts/font-awesome/fa-regular-400.woff +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.eot +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.svg +0 -5015
- data/assets/fonts/font-awesome/fa-solid-900.woff +0 -0
- data/assets/stylesheets/_font-awesome-compass.scss +0 -5
- data/assets/stylesheets/_font-awesome-sprockets.scss +0 -5
- data/assets/stylesheets/_v4-shims.scss +0 -6
- data/assets/stylesheets/font-awesome/_larger.scss +0 -23
- data/assets/stylesheets/font-awesome/_path.scss +0 -56
data/font-awesome-sass.gemspec
CHANGED
@@ -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', '>=
|
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
|
data/lib/font-awesome-sass.rb
CHANGED
@@ -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[
|
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?
|
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:
|
4
|
+
version: 6.1.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:
|
11
|
+
date: 2022-03-16 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: '
|
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: '
|
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,28 @@ 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
|
98
73
|
- assets/stylesheets/_font-awesome.scss
|
99
|
-
- assets/stylesheets/_v4-shims.scss
|
100
74
|
- assets/stylesheets/font-awesome/_animated.scss
|
101
75
|
- assets/stylesheets/font-awesome/_bordered-pulled.scss
|
76
|
+
- assets/stylesheets/font-awesome/_brands.scss
|
102
77
|
- assets/stylesheets/font-awesome/_core.scss
|
103
78
|
- assets/stylesheets/font-awesome/_fixed-width.scss
|
79
|
+
- assets/stylesheets/font-awesome/_functions.scss
|
104
80
|
- assets/stylesheets/font-awesome/_icons.scss
|
105
|
-
- assets/stylesheets/font-awesome/_larger.scss
|
106
81
|
- assets/stylesheets/font-awesome/_list.scss
|
107
82
|
- assets/stylesheets/font-awesome/_mixins.scss
|
108
|
-
- assets/stylesheets/font-awesome/
|
83
|
+
- assets/stylesheets/font-awesome/_regular.scss
|
109
84
|
- assets/stylesheets/font-awesome/_rotated-flipped.scss
|
110
85
|
- assets/stylesheets/font-awesome/_screen-reader.scss
|
111
86
|
- assets/stylesheets/font-awesome/_shims.scss
|
87
|
+
- assets/stylesheets/font-awesome/_sizing.scss
|
88
|
+
- assets/stylesheets/font-awesome/_solid.scss
|
112
89
|
- assets/stylesheets/font-awesome/_stacked.scss
|
113
90
|
- assets/stylesheets/font-awesome/_variables.scss
|
114
91
|
- font-awesome-sass.gemspec
|
@@ -136,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
113
|
- !ruby/object:Gem::Version
|
137
114
|
version: '0'
|
138
115
|
requirements: []
|
139
|
-
rubygems_version: 3.
|
116
|
+
rubygems_version: 3.3.8
|
140
117
|
signing_key:
|
141
118
|
specification_version: 4
|
142
119
|
summary: Font-Awesome SASS
|
Binary file
|