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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f2fc5888682b7c060027e651e2a750c951cb0151eb0a4388bec0c8593dd0fd8
4
- data.tar.gz: d5885c630ebd13ac9419432adef385485f80c008d853b4e759a0a024113adea4
3
+ metadata.gz: b71eed8a1dc3fe20baffc523a4d6776f618d495c1e9768fbcd0571dc0b77b8ad
4
+ data.tar.gz: bc16caf2903f6bc30cbd351985784f197a32a51049f46dd7024bd606530df77b
5
5
  SHA512:
6
- metadata.gz: c2a1183511d4e3662af4d5c72c8120ed637577fc3db721667221ebfddd3fef40c6e80f35d3582a81d25895f61fef6badaf3bb1d392d5a5597c7e2b9176ce2103
7
- data.tar.gz: 6a7fbf18e8a691e115b7d0cbcbd42eb208814f89faf29d853a05ebc3a15ee6157f681b11677a687c61e3d4df9eda0a50b6252c4e3e3f8718a613c46de5058ed1
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,
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  # Current Version
3
3
  # @return [String]
4
- VERSION = '4.3.0'.freeze unless const_defined?(:VERSION)
4
+ VERSION = '4.3.1'.freeze unless const_defined?(:VERSION)
5
5
  end
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.0
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-11 00:00:00.000000000 Z
13
+ date: 2019-01-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler