massimo 0.7.4 → 0.7.5

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.
@@ -9,10 +9,10 @@ Builds the site from the source files.
9
9
  end
10
10
 
11
11
  def run
12
- Massimo::UI.report_errors do
12
+ exit Massimo::UI.report_errors {
13
13
  site.process
14
14
  Massimo::UI.say 'massimo has built your site', :growl => true
15
- end
15
+ }
16
16
  end
17
17
  end
18
18
  end
data/lib/massimo/ui.rb CHANGED
@@ -35,6 +35,7 @@ module Massimo
35
35
  def report_errors
36
36
  begin
37
37
  yield
38
+ 0
38
39
  rescue Exception => error
39
40
  say 'massimo had a problem', :red
40
41
  indent do
@@ -42,6 +43,7 @@ module Massimo
42
43
  say error.backtrace.first, :magenta
43
44
  end
44
45
  growl "#{error.message}\n#{error.backtrace.first}", 'massimo problem'
46
+ 1
45
47
  end
46
48
  end
47
49
 
@@ -1,3 +1,3 @@
1
1
  module Massimo
2
- VERSION = '0.7.4'
2
+ VERSION = '0.7.5'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 4
9
- version: 0.7.4
8
+ - 5
9
+ version: 0.7.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Pete Browne
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-27 00:00:00 -06:00
17
+ date: 2010-12-01 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency