rspec_error_summary 0.0.3 → 0.0.4

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: cca8306d12fc9bb10a491a8427d715ec1c213099
4
- data.tar.gz: efdc3a74a5abc2749ad8ac4c950ca53d3d94104c
3
+ metadata.gz: 61641d78ac348e8079092a617986846c48544b88
4
+ data.tar.gz: 58c8dbf85f8f5c7fe0649de1138a364cbee0dbe9
5
5
  SHA512:
6
- metadata.gz: 7d203b48a5dea5b6f7026c85f9714970a0d78f5f785a88a05dccc7e16f516b0da4b71b5db0a7d88d41df529fb9a434e1761dc7f10150474a6bb3d7ff7291231c
7
- data.tar.gz: 27dedefadbaa245ee2fb05c81d5ed44245df7d8b7e3bddcf8c24e5aa6b9e9c6184f66f65551f6721df6240354267229f25112ed053bcb3522f0d3c87c09c4a12
6
+ metadata.gz: 2f4db376023070ae34e2899fe1e3da9dbb2426045928a587c10e4074d9e1fb024f6dabbed418cbadd203377b851bef70f47997ea549d0324f74f16cdf783f136
7
+ data.tar.gz: c6f7bfc17449187429d4cd9283bb0d11c4a37be394bd85e7e9eb47afc2c252fac69db2e0bdcc47878b985e6cf7b86c1084e53c4d13c96a0e30bc95a924cffe4d
data/README.md CHANGED
@@ -22,14 +22,17 @@ Or install it yourself as:
22
22
 
23
23
  $ rspec_error_summary [options]
24
24
 
25
- -p, --path [ARG]
25
+ -p, --path [ARG]
26
+ Default: "./spec/"
26
27
  Path to the directory of spec files or individual spec file to be tested
27
28
 
28
- -s, --search [ARG]
29
+ -s, --search [ARG]
29
30
  Search for a specific string of text in the error message
30
31
 
31
- -v, --verbose
32
- Verbose output. Displays full error messages
32
+ -v, --verbose
33
+ Verbose output. Displays full error messages. By default, error messages are truncated to 140 characters. Any object representations ("<#Model:0x3fdddd8b036c>") in the messages are also truncated to avoid confusion when counting the number of occurrences, as these objects will have different memory addresses, despite having the same error
34
+
35
+ e.g. "Undefined method 'test' for <#Model:0x3fdddd8b036c>" will not be considered another occurrence of the error "Undefined method 'test' for <#Model:0x2bdecb8b026a>" due to mismatching memory addresses, even though the cause of the error is the same.
33
36
 
34
37
  -h, --help
35
38
  Show this message
@@ -15,7 +15,7 @@ OptionParser.new do |opts|
15
15
  end
16
16
 
17
17
  options[:verbose] = false
18
- opts.on("-v", "--verbose", "Verbose output. Displays full error messages") do |s|
18
+ opts.on("-v", "--verbose", "Verbose output. Displays full error messages. By default, error messages are truncated to 140 characters. Any object representations ('<#Model:0x3fdddd8b036c>') in the messages are also truncated to avoid confusion when counting the number of occurrences, as these objects will have different memory addresses, despite having the same error. (e.g. 'Undefined method test for <#Model:0x3fdddd8b036c>' will not be considered another occurrence of the error 'Undefined method test for <#Model:0x2bdecb8b026a>' due to mismatching memory addresses, even though the cause of the error is the same.)") do |s|
19
19
  options[:verbose] = true
20
20
  end
21
21
 
@@ -1,3 +1,3 @@
1
1
  module RspecErrorSummary
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_error_summary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Santiago