haml-edge 3.1.62 → 3.1.63
Sign up to get free protection for your applications and to get access to all the features.
- data/EDGE_GEM_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/haml/exec.rb +3 -0
- data/lib/haml/util.rb +1 -1
- metadata +2 -2
data/EDGE_GEM_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.63
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.63
|
data/lib/haml/exec.rb
CHANGED
@@ -422,15 +422,18 @@ MSG
|
|
422
422
|
end
|
423
423
|
end
|
424
424
|
|
425
|
+
had_error = false
|
425
426
|
::Sass::Plugin.on_creating_directory {|dirname| puts_action :directory, :green, dirname}
|
426
427
|
::Sass::Plugin.on_deleting_css {|filename| puts_action :delete, :yellow, filename}
|
427
428
|
::Sass::Plugin.on_compilation_error do |error, _, _|
|
428
429
|
raise error unless error.is_a?(::Sass::SyntaxError)
|
430
|
+
had_error = true
|
429
431
|
puts_action :error, :red, "#{error.sass_filename} (Line #{error.sass_line}: #{error.message})"
|
430
432
|
end
|
431
433
|
|
432
434
|
if @options[:update]
|
433
435
|
::Sass::Plugin.update_stylesheets(files)
|
436
|
+
exit 1 if had_error
|
434
437
|
return
|
435
438
|
end
|
436
439
|
|
data/lib/haml/util.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haml-edge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.63
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Weizenbaum
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2010-08-
|
14
|
+
date: 2010-08-14 00:00:00 -04:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|