rspec_numbering_formatter 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: