middleman-core 4.3.0 → 4.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/middleman-core/renderers/sass.rb +9 -1
- data/lib/middleman-core/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: b71eed8a1dc3fe20baffc523a4d6776f618d495c1e9768fbcd0571dc0b77b8ad
|
4
|
+
data.tar.gz: bc16caf2903f6bc30cbd351985784f197a32a51049f46dd7024bd606530df77b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 163d0781408379a39a2f1ab2a6b50a482fe506a63eb045c6beba5689aeccda79e2491c52cdab8222d1c750ce63cbbd2ac6595954e8a167d681685ae4bbdbb9e2
|
7
|
+
data.tar.gz: 73d04b696fd1687e77e8159c689f4034dd72882e13b649cf8c629797e09134a82972abc8fb4edab1cb3c4c8e181c638e4b78897ceeb09a16d9e93efff17742a1
|
@@ -54,6 +54,8 @@ module Middleman
|
|
54
54
|
begin
|
55
55
|
@engine.render
|
56
56
|
rescue ::SassC::SyntaxError => e
|
57
|
+
raise e if @context.app.build?
|
58
|
+
|
57
59
|
exception_to_css(e)
|
58
60
|
end
|
59
61
|
end
|
@@ -79,8 +81,14 @@ module Middleman
|
|
79
81
|
def sass_options
|
80
82
|
ctx = @context
|
81
83
|
|
84
|
+
preexisting_load_paths = begin
|
85
|
+
::Sass.load_paths
|
86
|
+
rescue
|
87
|
+
[]
|
88
|
+
end
|
89
|
+
|
82
90
|
more_opts = {
|
83
|
-
load_paths: ctx.app.config[:sass_assets_paths],
|
91
|
+
load_paths: preexisting_load_paths + ctx.app.config[:sass_assets_paths],
|
84
92
|
filename: eval_file,
|
85
93
|
line: line,
|
86
94
|
syntax: syntax,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Reynolds
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-01-
|
13
|
+
date: 2019-01-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|