shindo 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/shindo.rb +6 -1
- data/shindo.gemspec +1 -1
- metadata +2 -2
data/lib/shindo.rb
CHANGED
@@ -5,7 +5,7 @@ require 'gestalt'
|
|
5
5
|
module Shindo
|
6
6
|
|
7
7
|
unless const_defined?(:VERSION)
|
8
|
-
VERSION = '0.1.
|
8
|
+
VERSION = '0.1.2'
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.tests(description = nil, tags = [], &block)
|
@@ -70,6 +70,11 @@ module Shindo
|
|
70
70
|
@formatador.indent { instance_eval(&block) }
|
71
71
|
rescue => error
|
72
72
|
@formatador.display_line("[red]#{error.message} (#{error.class})[/]")
|
73
|
+
unless error.backtrace.empty?
|
74
|
+
@formatador.indent do
|
75
|
+
@formatador.display_lines(error.backtrace.map {|line| "[red]#{line}[/]"})
|
76
|
+
end
|
77
|
+
end
|
73
78
|
end
|
74
79
|
else
|
75
80
|
@description = description
|
data/shindo.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'shindo'
|
16
|
-
s.version = '0.1.
|
16
|
+
s.version = '0.1.2'
|
17
17
|
s.date = '2010-05-22'
|
18
18
|
s.rubyforge_project = 'shindo'
|
19
19
|
|