schmurfy-bacon 1.2 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,8 +24,12 @@ module Bacon
24
24
  eval( File.read(path), nil, path )
25
25
  end
26
26
 
27
- # default output
28
- extend BetterOutput
27
+ # default output ()
28
+ if ENV['TERM']
29
+ extend BetterOutput
30
+ else
31
+ extend SpecDoxOutput
32
+ end
29
33
 
30
34
  @backtrace_size = nil
31
35
 
@@ -1,3 +1,3 @@
1
1
  module Bacon
2
- VERSION = "1.2"
2
+ VERSION = "1.2.1"
3
3
  end
@@ -5,7 +5,7 @@ Color = Term::ANSIColor
5
5
 
6
6
  module BetterOutput
7
7
  def handle_specification(name)
8
- puts "\n#{spaces('-')}#{Color.underscore}#{name}#{Color.reset}"
8
+ puts "\n#{spaces()}#{Color.underscore}#{name}#{Color.reset}"
9
9
  yield
10
10
  puts if Counter[:context_depth] == 1
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schmurfy-bacon
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-08 00:00:00.000000000Z
12
+ date: 2011-11-09 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: term-ansicolor
16
- requirement: &70366695662620 !ruby/object:Gem::Requirement
16
+ requirement: &70365004871740 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70366695662620
24
+ version_requirements: *70365004871740
25
25
  description: ! 'Bacon is a small RSpec clone weighing less than 350 LoC but
26
26
 
27
27
  nevertheless providing all essential features.
@@ -81,3 +81,4 @@ signing_key:
81
81
  specification_version: 3
82
82
  summary: a small RSpec clone
83
83
  test_files: []
84
+ has_rdoc: