enhanced_errors 2.2.0 → 3.0.1

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
  SHA256:
3
- metadata.gz: 652ef4dea4409fb68f856748fd7f7098ba59775671cd5fad9e5b477499e13571
4
- data.tar.gz: fec85707f98aacab2f321fa69334fddaf20ad9fe66923db7a6ab265d2d3d3eb7
3
+ metadata.gz: 05cf85baedd581bc8b05fcd80c2ca7f8691720c2b4353b0e25f9623cfc16db7d
4
+ data.tar.gz: 7ab8d816c9187117c38c63926dd51e82384b2d21153b619769c98f7be634a30c
5
5
  SHA512:
6
- metadata.gz: 02c8f335a839bdac98d380be69805c479041ec045bf39d91d9e410426722969bb34a224c71853dfaceeaabd4a260bcf1a57827e8fd2193d348ceb07a89d470bc
7
- data.tar.gz: 1869bab096f6f5f40729b73dcd3f20bffbf8770bdd22242a0576a14447883f154e5548a4eddf12acd1eb57da6136545909ad0dd8588706d396c62beda90c7031
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 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>