rspec_error_summary 0.0.4 → 0.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61641d78ac348e8079092a617986846c48544b88
4
- data.tar.gz: 58c8dbf85f8f5c7fe0649de1138a364cbee0dbe9
3
+ metadata.gz: 12892661c969d4a5596eb7e50c328ba6b16ac883
4
+ data.tar.gz: 0ec4952083d7fea31adcc64981d35b81a8c12148
5
5
  SHA512:
6
- metadata.gz: 2f4db376023070ae34e2899fe1e3da9dbb2426045928a587c10e4074d9e1fb024f6dabbed418cbadd203377b851bef70f47997ea549d0324f74f16cdf783f136
7
- data.tar.gz: c6f7bfc17449187429d4cd9283bb0d11c4a37be394bd85e7e9eb47afc2c252fac69db2e0bdcc47878b985e6cf7b86c1084e53c4d13c96a0e30bc95a924cffe4d
6
+ metadata.gz: 86122fd89c9dab9173751b7a01d3df0ca71783b67c24d81f53dc45a96658f0dc0077185667e3f351aa8c82c21df715774c7fa8e8ae653d005228fd9c659626ae
7
+ data.tar.gz: 34aa1674dd5cf8c36e43b067128b46149fa1a8f977fbac0a815ab46b0cd9737fe2f916cec7cf33ab91b14a932875ad990f996119bee1e30d3a4de735682a7ec0
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # RSpec Error Summary
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/rspec_error_summary.svg)](http://badge.fury.io/rb/rspec_error_summary)
4
+
3
5
  Parses RSpec error output to provide a summary showing what errors were encountered, the number of occurrences per error, and file path and line number locations.
4
6
 
5
7
  ## Installation
@@ -39,7 +41,7 @@ Or install it yourself as:
39
41
 
40
42
  ## Contributing
41
43
 
42
- 1. Fork it ( https://github.com/[my-github-username]/rspec_error_summary/fork )
44
+ 1. Fork it ( https://github.com/binarydev/rspec_error_summary/fork )
43
45
  2. Create your feature branch (`git checkout -b my-new-feature`)
44
46
  3. Commit your changes (`git commit -am 'Add some feature'`)
45
47
  4. Push to the branch (`git push origin my-new-feature`)
@@ -80,7 +80,10 @@ module RspecErrorSummary
80
80
 
81
81
  # Empty space between any normal RSpec output and our custom text
82
82
  puts "\n\n"
83
- puts "Failure message report:"
83
+ puts "Failure message report:\n\n"
84
+ puts "Total # of failures: #{ failed_tests.count.to_s.colorize(:red) }"
85
+ puts "Total # of unique errors: #{ uniq_failure_messages_for_output.count.to_s.colorize(:red) }\n\n"
86
+
84
87
  if uniq_failure_messages_for_output.count == 0
85
88
  puts ("Either no failures in the specified tests, or the desired error you entered could not be found in the results").colorize(:green)
86
89
  else
@@ -1,3 +1,3 @@
1
1
  module RspecErrorSummary
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_error_summary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Santiago
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-10 00:00:00.000000000 Z
11
+ date: 2015-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler