compass-rails-source-maps 0.0.1 → 0.0.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78907ea10f57bb0393d0bdb724bd790c93af44b0
|
4
|
+
data.tar.gz: 3f3f3685f202ec556c31c3aab93101e787098c94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0422f7303f7672ec897eef35b51035f42f3a7e258531f3778b29220fa863d83b0e6fccc0941096e62b5df9beb9275776322a07b4be5b1083c1255ff836020750
|
7
|
+
data.tar.gz: 644a9ec4288963aac82afa75ccd769f2da63a8183a854df80f955bdf36393b722fac8b23958cdc144e204af83bf101e0b4cd1359ba11056b8f47bd8e5a2cddb9
|
@@ -12,12 +12,11 @@ module Sprockets
|
|
12
12
|
FileUtils.cp(file, ::Rails.root.join("public", SOURCE_MAPS_DIRECTORY, File.basename(file)))
|
13
13
|
end
|
14
14
|
end
|
15
|
-
|
15
|
+
|
16
16
|
def evaluate(context, locals, &block)
|
17
|
-
p 'eval'
|
18
17
|
cache_store = SassCacheStore.new(context.environment)
|
19
18
|
paths = context.environment.paths.map { |path| CompassRails::SpriteImporter.new(context, path) }
|
20
|
-
paths += context.environment.paths.map { |path| SassImporter.new(context, path) }
|
19
|
+
paths += context.environment.paths.map { |path| CompassRailsSourceMaps::SassImporter.new(context, path) }
|
21
20
|
paths += ::Rails.application.config.sass.load_paths
|
22
21
|
|
23
22
|
options = CompassRails.sass_config.merge({
|
@@ -29,7 +28,7 @@ module Sprockets
|
|
29
28
|
cache: ::Rails.application.config.assets.debug,
|
30
29
|
line_numbers: ::Rails.application.config.sass.line_numbers,
|
31
30
|
line_comments: ::Rails.application.config.sass.line_comments,
|
32
|
-
importer: SassImporter.new(context, context.pathname),
|
31
|
+
importer: CompassRailsSourceMaps::SassImporter.new(context, context.pathname),
|
33
32
|
load_paths: paths,
|
34
33
|
sprockets: {
|
35
34
|
context: context,
|