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 +4 -4
- data/README.md +3 -1
- data/lib/rspec_error_summary.rb +4 -1
- data/lib/rspec_error_summary/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12892661c969d4a5596eb7e50c328ba6b16ac883
|
4
|
+
data.tar.gz: 0ec4952083d7fea31adcc64981d35b81a8c12148
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
[](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/
|
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`)
|
data/lib/rspec_error_summary.rb
CHANGED
@@ -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
|
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
|
+
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-
|
11
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|