shindo 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shindo (0.3.1)
4
+ shindo (0.3.2)
5
5
  formatador (>= 0.1.1)
6
6
 
7
7
  GEM
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.2'
9
+ VERSION = '0.3.3'
10
10
  end
11
11
 
12
12
  def self.tests(description = nil, tags = [], &block)
@@ -81,6 +81,8 @@ module Shindo
81
81
  rescue => error
82
82
  display_error(error)
83
83
  end
84
+ else
85
+ display_description(description)
84
86
  end
85
87
  else
86
88
  display_description("[light_black]#{description}[/]")
data/shindo.gemspec CHANGED
@@ -13,8 +13,8 @@ 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.2'
17
- s.date = '2011-03-10'
16
+ s.version = '0.3.3'
17
+ s.date = '2011-03-14'
18
18
  s.rubyforge_project = 'shindo'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
data/tests/bin_tests.rb CHANGED
@@ -23,6 +23,8 @@ Shindo.tests('bin') do
23
23
  tests('success') do
24
24
  @output = bin(path('success'))
25
25
  includes('+ success') { @output }
26
+ includes('inline tests') { @output }
27
+ includes('+ returns false') { @output }
26
28
  tests('$?.exitstatus').returns(0) { $?.exitstatus }
27
29
  end
28
30
 
data/tests/data/success CHANGED
@@ -1,3 +1,4 @@
1
1
  Shindo.tests do
2
2
  test('success') { true }
3
+ tests('inline tests').returns(false) { false }
3
4
  end
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 3
10
+ version: 0.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - geemus (Wesley Beary)
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-10 00:00:00 -08:00
18
+ date: 2011-03-14 00:00:00 -07:00
19
19
  default_executable: shindo
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency