font-awesome-sass 5.5.0 → 5.5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/font-awesome-sass.rb +9 -10
- data/lib/font_awesome/sass/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d08674c5c03ef27e2182eb340ea6ab877f9eb07b8c57d6ab75f89369fae5c3e4
|
4
|
+
data.tar.gz: 289ae25e03b0d5b77ee6de743df5326daad359deefcb849ca8410f77783cdb1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 281598e76c097e63dffe29aa5cb0ffb0b4b3138a7443813585952656d9dbfd5ee8f2d63b797874e338915d717be30ddb63d32ce3b32c52a9b07bc7fb8ba0707b
|
7
|
+
data.tar.gz: c72babc639ac3dcf236b0f742ad6486a51b5df183ed91b7566a494291300f064a298d9e84686b196070b36f2aa9f832f2eaf6ee1991218a7a4c38429c2d81418
|
data/lib/font-awesome-sass.rb
CHANGED
@@ -2,15 +2,15 @@ module FontAwesome
|
|
2
2
|
module Sass
|
3
3
|
class << self
|
4
4
|
def load!
|
5
|
-
register_compass_extension if compass?
|
6
|
-
|
7
5
|
if rails?
|
8
6
|
register_rails_engine
|
9
7
|
elsif sprockets?
|
10
8
|
register_sprockets
|
9
|
+
elsif compass?
|
10
|
+
register_compass_extension
|
11
|
+
elsif deprecated_sass?
|
12
|
+
::Sass.load_paths << stylesheets_path
|
11
13
|
end
|
12
|
-
|
13
|
-
configure_sass
|
14
14
|
end
|
15
15
|
|
16
16
|
# Paths
|
@@ -42,14 +42,13 @@ module FontAwesome
|
|
42
42
|
defined?(::Rails)
|
43
43
|
end
|
44
44
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
require 'sass'
|
49
|
-
|
50
|
-
::Sass.load_paths << stylesheets_path
|
45
|
+
def deprecated_sass?
|
46
|
+
# The deprecated `sass` gem:
|
47
|
+
defined?(::Sass) && ::Sass.respond_to?(:load_paths)
|
51
48
|
end
|
52
49
|
|
50
|
+
private
|
51
|
+
|
53
52
|
def register_compass_extension
|
54
53
|
require 'font_awesome/sass/version'
|
55
54
|
|
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.5.0
|
4
|
+
version: 5.5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Chase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sassc
|