enhanced_errors 2.2.0 → 3.0.0
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 +14 -39
- 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: a8efc7b9715b813d79eb37a6d20b5977094ee4190a505d57820e0b82b8284878
|
4
|
+
data.tar.gz: 9914dbe5fc5f7d354b8bfdd967197dc062a7fdba4b6cf5e77a868f0f532ee5bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5848a612d8ab1c209aafc70943115b399286d2ba894465ce05b17002485504cf0188cdc59171b5c3e7fa547b2de88cf6fcc459fcf76bb43462886d9cc16a0f3c
|
7
|
+
data.tar.gz: 4f0dadf6d0ff3640b7a7483926fd4ab62b4981291f2fc480722ef693ff2f784c804d9c313e507fbb64eb9d1b4ff0de9bb5e416b07cb45f476b83c13f7c1a045d
|
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>
|