shindo 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Gemfile.lock +3 -3
  2. data/lib/shindo.rb +4 -1
  3. data/shindo.gemspec +2 -2
  4. metadata +7 -7
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shindo (0.2.2)
5
- formatador (>= 0.0.16)
4
+ shindo (0.3.1)
5
+ formatador (>= 0.1.1)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- formatador (0.0.16)
10
+ formatador (0.1.1)
11
11
 
12
12
  PLATFORMS
13
13
  ruby
data/lib/shindo.rb CHANGED
@@ -6,7 +6,7 @@ module Shindo
6
6
  class Pending < StandardError; end
7
7
 
8
8
  unless const_defined?(:VERSION)
9
- VERSION = '0.3.1'
9
+ VERSION = '0.3.2'
10
10
  end
11
11
 
12
12
  def self.tests(description = nil, tags = [], &block)
@@ -75,6 +75,9 @@ module Shindo
75
75
  Formatador.indent { instance_eval(&block) }
76
76
  rescue Shindo::Pending
77
77
  display_pending(description)
78
+ # HACK: remove indent since above doesn't
79
+ indent = Thread.current[:formatador].instance_variable_get(:@indent)
80
+ Thread.current[:formatador].instance_variable_set(:@indent, indent - 1)
78
81
  rescue => error
79
82
  display_error(error)
80
83
  end
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.3.1'
16
+ s.version = '0.3.2'
17
17
  s.date = '2011-03-10'
18
18
  s.rubyforge_project = 'shindo'
19
19
 
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
48
48
 
49
49
  ## List your runtime dependencies here. Runtime dependencies are those
50
50
  ## that are needed for an end user to actually USE your code.
51
- s.add_dependency('formatador', '>=0.0.16')
51
+ s.add_dependency('formatador', '>=0.1.1')
52
52
 
53
53
  ## List your development dependencies here. Development dependencies are
54
54
  ## those that are only needed during development
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shindo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - geemus (Wesley Beary)
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 63
29
+ hash: 25
30
30
  segments:
31
31
  - 0
32
- - 0
33
- - 16
34
- version: 0.0.16
32
+ - 1
33
+ - 1
34
+ version: 0.1.1
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  description: Work with your tests, not against them.