rspec_numbering_formatter 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,10 +3,12 @@ require 'rspec/core/formatters/base_text_formatter'
3
3
  # useful reference: http://ascii-table.com/ansi-escape-sequences.php
4
4
 
5
5
  class RspecNumberingFormatter < RSpec::Core::Formatters::BaseTextFormatter
6
- VERSION = "0.0.1"
6
+ VERSION = "0.0.2"
7
7
 
8
8
  attr_accessor :run_count
9
9
 
10
+ def failure_color(*args); red(*args); end unless method_defined? :failure_color
11
+
10
12
  def start(example_count)
11
13
  @pwd = `pwd`
12
14
  @start_time = Time.now
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_numbering_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: