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 +1 -1
- data/lib/shindo.rb +3 -1
- data/shindo.gemspec +2 -2
- data/tests/bin_tests.rb +2 -0
- data/tests/data/success +1 -0
- metadata +4 -4
data/Gemfile.lock
CHANGED
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.
|
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.
|
17
|
-
s.date = '2011-03-
|
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
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:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
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-
|
18
|
+
date: 2011-03-14 00:00:00 -07:00
|
19
19
|
default_executable: shindo
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|