shindo 0.1.1 → 0.1.2

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.
Files changed (3) hide show
  1. data/lib/shindo.rb +6 -1
  2. data/shindo.gemspec +1 -1
  3. metadata +2 -2
@@ -5,7 +5,7 @@ require 'gestalt'
5
5
  module Shindo
6
6
 
7
7
  unless const_defined?(:VERSION)
8
- VERSION = '0.1.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
@@ -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.1'
16
+ s.version = '0.1.2'
17
17
  s.date = '2010-05-22'
18
18
  s.rubyforge_project = 'shindo'
19
19
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - geemus (Wesley Beary)