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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c23bd13c36620036132cb6b4f20144022606f0e2edfc52b125afcccb5cbe264c
4
- data.tar.gz: 5713f4474dc7a0ec148bb115513f8b841f236707dab4dbd31f6bcc6bf89d4051
3
+ metadata.gz: d08674c5c03ef27e2182eb340ea6ab877f9eb07b8c57d6ab75f89369fae5c3e4
4
+ data.tar.gz: 289ae25e03b0d5b77ee6de743df5326daad359deefcb849ca8410f77783cdb1c
5
5
  SHA512:
6
- metadata.gz: 54ea56c4b968c265eaf8fab55d34e88bd0c95725e3445dd479fb74d18076d2de670d0f95bac8872922d5b70ef1255133f8a7205bd420ceeddd020221fbabd6b1
7
- data.tar.gz: bb851692712fd5d6eafb73c0deaf7fa1101b3d07d4f78ad5647be4c41a175a866d922eaca3ba5d784fdd497ef42ef8bbcf5fc3852bd320711ae72dc1ce1771e2
6
+ metadata.gz: 281598e76c097e63dffe29aa5cb0ffb0b4b3138a7443813585952656d9dbfd5ee8f2d63b797874e338915d717be30ddb63d32ce3b32c52a9b07bc7fb8ba0707b
7
+ data.tar.gz: c72babc639ac3dcf236b0f742ad6486a51b5df183ed91b7566a494291300f064a298d9e84686b196070b36f2aa9f832f2eaf6ee1991218a7a4c38429c2d81418
@@ -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
- private
46
-
47
- def configure_sass
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
 
@@ -1,5 +1,5 @@
1
1
  module FontAwesome
2
2
  module Sass
3
- VERSION = '5.5.0'.freeze
3
+ VERSION = '5.5.0.1'.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.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-02 00:00:00.000000000 Z
11
+ date: 2018-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sassc