enhanced_errors 2.2.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardoc/checksums +1 -1
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/README.md +2 -2
- data/doc/Context.html +1 -1
- data/doc/Enhanced/Colors.html +1 -1
- data/doc/Enhanced.html +1 -1
- data/doc/EnhancedErrors.html +350 -384
- data/doc/EnhancedExceptionContext.html +1 -1
- data/doc/Exception.html +1 -1
- data/doc/ExceptionBindingInfos.html +1 -1
- data/doc/Minitest.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +3 -3
- data/doc/index.html +3 -3
- data/doc/method_list.html +14 -14
- data/doc/top-level-namespace.html +1 -1
- data/enhanced_errors.gemspec +1 -1
- data/lib/enhanced_errors.rb +17 -40
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05cf85baedd581bc8b05fcd80c2ca7f8691720c2b4353b0e25f9623cfc16db7d
|
4
|
+
data.tar.gz: 7ab8d816c9187117c38c63926dd51e82384b2d21153b619769c98f7be634a30c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36e2c3cf2ad33e9d582373375e2539d7908735d87701baa5e45d0f77fef689221c62ee6c775640887eeb1ea3de2ff587f71949b057a23fe227a195c45b4cc674
|
7
|
+
data.tar.gz: 785cf4a2767001d4efb7bb28f2ce5dc94055fd42f14322a210ac9fe5d231dcd24dc64db23aaa17d969a94e9732b8d4e7ae556a3710290cee93c957738a022a25
|
data/.yardoc/checksums
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
lib/enhanced/colors.rb ed3b11d00ff9ceed089d4a65f0be5b3fca64bbe6
|
2
|
-
lib/enhanced_errors.rb
|
2
|
+
lib/enhanced_errors.rb e10cc8625a5bec6503d359dd006ad478cf3544c4
|
3
3
|
lib/enhanced/context.rb 24ca2d1f4ee2ff48dd83c913ad1f1e7c1aa367c4
|
4
4
|
lib/enhanced/exception.rb 5572411e9e32bbe9ed01b98787e1a53a4ab61408
|
5
5
|
lib/enhanced/minitest_patch.rb c8c934389dfa3789de66eeeacc8402a48a34d5b4
|
data/.yardoc/object_types
CHANGED
Binary file
|
data/.yardoc/objects/root.dat
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -200,7 +200,7 @@ You can pass configuration options to `enhance_exceptions!`:
|
|
200
200
|
|
201
201
|
```ruby
|
202
202
|
|
203
|
-
EnhancedErrors.enhance_exceptions!(enabled: true,
|
203
|
+
EnhancedErrors.enhance_exceptions!(enabled: true, max_capture_length: 2000) do
|
204
204
|
# Additional configuration here
|
205
205
|
add_to_skip_list :@instance_variable_to_skip, :local_to_skip
|
206
206
|
end
|
@@ -208,7 +208,7 @@ end
|
|
208
208
|
```
|
209
209
|
- `add_to_skip_list`: Variables to ignore, as symbols. ex: :@instance_variable_to_skip, :local_to_skip`
|
210
210
|
- `enabled`: Enables or disables the enhancement (default: `true`).
|
211
|
-
- `
|
211
|
+
- `max_capture_length`: Sets the maximum length of the captured_variables string (default: `2500`).
|
212
212
|
|
213
213
|
|
214
214
|
### Environment-Based Defaults
|
data/doc/Context.html
CHANGED
@@ -273,7 +273,7 @@
|
|
273
273
|
</div>
|
274
274
|
|
275
275
|
<div id="footer">
|
276
|
-
Generated on Tue Dec 17
|
276
|
+
Generated on Tue Dec 17 15:42:48 2024 by
|
277
277
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
278
278
|
0.9.37 (ruby-3.3.6).
|
279
279
|
</div>
|
data/doc/Enhanced/Colors.html
CHANGED
@@ -381,7 +381,7 @@
|
|
381
381
|
</div>
|
382
382
|
|
383
383
|
<div id="footer">
|
384
|
-
Generated on Tue Dec 17
|
384
|
+
Generated on Tue Dec 17 15:42:48 2024 by
|
385
385
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
386
386
|
0.9.37 (ruby-3.3.6).
|
387
387
|
</div>
|
data/doc/Enhanced.html
CHANGED
@@ -110,7 +110,7 @@
|
|
110
110
|
</div>
|
111
111
|
|
112
112
|
<div id="footer">
|
113
|
-
Generated on Tue Dec 17
|
113
|
+
Generated on Tue Dec 17 15:42:48 2024 by
|
114
114
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
115
115
|
0.9.37 (ruby-3.3.6).
|
116
116
|
</div>
|