middleman 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,6 +47,14 @@ class Tilt::SassPlusCSSFilenameTemplate < Tilt::SassTemplate
47
47
  css_filename = File.join(location_of_sass_file, Middleman::Server.css_dir, parts.join("."))
48
48
  super.merge(::Compass.configuration.to_sass_engine_options).merge(:css_filename => css_filename)
49
49
  end
50
+
51
+ def evaluate(scope, locals, &block)
52
+ begin
53
+ super
54
+ rescue Sass::SyntaxError => e
55
+ Sass::SyntaxError.exception_to_css(e, :full_exception => true)
56
+ end
57
+ end
50
58
  end
51
59
  Tilt.register 'sass', Tilt::SassPlusCSSFilenameTemplate
52
60
 
@@ -1,3 +1,3 @@
1
1
  module Middleman
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 2
10
- version: 1.2.2
9
+ - 3
10
+ version: 1.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Reynolds