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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 652ef4dea4409fb68f856748fd7f7098ba59775671cd5fad9e5b477499e13571
4
- data.tar.gz: fec85707f98aacab2f321fa69334fddaf20ad9fe66923db7a6ab265d2d3d3eb7
3
+ metadata.gz: a8efc7b9715b813d79eb37a6d20b5977094ee4190a505d57820e0b82b8284878
4
+ data.tar.gz: 9914dbe5fc5f7d354b8bfdd967197dc062a7fdba4b6cf5e77a868f0f532ee5bb
5
5
  SHA512:
6
- metadata.gz: 02c8f335a839bdac98d380be69805c479041ec045bf39d91d9e410426722969bb34a224c71853dfaceeaabd4a260bcf1a57827e8fd2193d348ceb07a89d470bc
7
- data.tar.gz: 1869bab096f6f5f40729b73dcd3f20bffbf8770bdd22242a0576a14447883f154e5548a4eddf12acd1eb57da6136545909ad0dd8588706d396c62beda90c7031
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 76aa5637b95a6bff38f5da383191553578aad257
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
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, max_length: 2000) do
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
- - `max_length`: Sets the maximum length of the captured_variables string (default: `2500`).
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 14:09:26 2024 by
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>
@@ -381,7 +381,7 @@
381
381
  </div>
382
382
 
383
383
  <div id="footer">
384
- Generated on Tue Dec 17 14:09:26 2024 by
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 14:09:26 2024 by
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>