enhanced_errors 2.0.1 → 2.0.2

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: 1a4579802affa3f4ee55675cadce0a0782e239e95cacdeb3eac12c6a716c913e
4
- data.tar.gz: 81e803f5ae6f247f6f38b116e92d3d07befed02028927cdb07dad3b7f0b87d28
3
+ metadata.gz: 70b9bd7350206b35123f8475f484f039214a2ce13003fbd1c94988e7aa1d0c84
4
+ data.tar.gz: 57f683a995c2347284943370445ae0d6a32c6e1e15457cbd82758e67bbd1567d
5
5
  SHA512:
6
- metadata.gz: a110f026595e2dc79a65a311844860311f6454d593d5231604c368658526d2830d231c25417338e4b43f18febfc06158c3fa57c607ec47e1cf8dc4d4929077ab
7
- data.tar.gz: ea199eaedd965fdcae33b99c3709e0ba1b0b492505506a2f9b0cb00daf1773225526670fb0537ade59bf300343e5d8cc32fd76c5906037d5e0522c2b88315e4c
6
+ metadata.gz: 34c46fe729c5e7c8b28a15a174c7175502df28949eb079344582582a5b7c26203f052aab55e05e4197a12b084de82a93017dfb01fdd3f7dfae7cec846b5ad127
7
+ data.tar.gz: 0cb2a347a54e18538f6dbb26c596d3b20e50bfd2b1cbd67c2eff9c0a64ac5297cef2276c2453e9ed4668f44ddc7f2ce1613894c84c0d726654dc2354bdf46a42
data/.yardoc/checksums CHANGED
@@ -1,4 +1,4 @@
1
- lib/colors.rb a4314ef9531d4713907c3fea22955c943fdb8cf3
2
- lib/binding.rb fdd7d5a2dd2edde22e3b10773510738dcdce4aeb
3
- lib/enhanced_errors.rb d12ce0629f2565e5179ae5076be8a495e19ecda2
4
- lib/error_enhancements.rb a97d0f139d35f6e1b5bf49386271b1f4cf71761c
1
+ lib/enhanced/colors.rb 4fdbc5803b62201392c6a2ee46c5012a6f79685e
2
+ lib/enhanced_errors.rb 9572612271c977a4063fab6a9c9bee75198e9166
3
+ lib/enhanced/exception.rb 72c62e85ce9cea875bc3e835240059bbf1b00f0b
4
+ lib/enhanced/integrations/rspec_error_failure_message.rb 3404247ebb2c7cf6b7dc9abb215c59c46a041cee
data/.yardoc/object_types CHANGED
Binary file
Binary file
@@ -4,31 +4,31 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Class: Colors
7
+ Class: Enhanced::Colors
8
8
 
9
9
  &mdash; Documentation by YARD 0.9.37
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
16
 
17
17
  <script type="text/javascript">
18
- pathId = "Colors";
19
- relpath = '';
18
+ pathId = "Enhanced::Colors";
19
+ relpath = '../';
20
20
  </script>
21
21
 
22
22
 
23
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
24
 
25
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
26
 
27
27
 
28
28
  </head>
29
29
  <body>
30
30
  <div class="nav_wrap">
31
- <iframe id="nav" src="class_list.html?1"></iframe>
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
32
  <div id="resizer"></div>
33
33
  </div>
34
34
 
@@ -36,9 +36,9 @@
36
36
  <div id="header">
37
37
  <div id="menu">
38
38
 
39
- <a href="_index.html">Index (C)</a> &raquo;
40
-
41
-
39
+ <a href="../_index.html">Index (C)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Enhanced.html" title="Enhanced (module)">Enhanced</a></span></span>
41
+ &raquo;
42
42
  <span class="title">Colors</span>
43
43
 
44
44
  </div>
@@ -46,7 +46,7 @@
46
46
  <div id="search">
47
47
 
48
48
  <a class="full_list_link" id="class_list_link"
49
- href="class_list.html">
49
+ href="../class_list.html">
50
50
 
51
51
  <svg width="24" height="24">
52
52
  <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
@@ -59,7 +59,7 @@
59
59
  <div class="clear"></div>
60
60
  </div>
61
61
 
62
- <div id="content"><h1>Class: Colors
62
+ <div id="content"><h1>Class: Enhanced::Colors
63
63
 
64
64
 
65
65
 
@@ -74,7 +74,7 @@
74
74
  <ul class="fullTree">
75
75
  <li>Object</li>
76
76
 
77
- <li class="next">Colors</li>
77
+ <li class="next">Enhanced::Colors</li>
78
78
 
79
79
  </ul>
80
80
  <a href="#" class="inheritanceTree">show all</a>
@@ -94,7 +94,7 @@
94
94
 
95
95
  <dl>
96
96
  <dt>Defined in:</dt>
97
- <dd>lib/colors.rb</dd>
97
+ <dd>lib/enhanced/colors.rb</dd>
98
98
  </dl>
99
99
 
100
100
  </div>
@@ -242,12 +242,12 @@
242
242
  <pre class="lines">
243
243
 
244
244
 
245
- 17
246
245
  18
247
- 19</pre>
246
+ 19
247
+ 20</pre>
248
248
  </td>
249
249
  <td>
250
- <pre class="code"><span class="info file"># File 'lib/colors.rb', line 17</span>
250
+ <pre class="code"><span class="info file"># File 'lib/enhanced/colors.rb', line 18</span>
251
251
 
252
252
  <span class='kw'>def</span> <span class='id identifier rubyid_code'>code</span><span class='lparen'>(</span><span class='id identifier rubyid_num'>num</span><span class='rparen'>)</span>
253
253
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\e[</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_num'>num</span><span class='embexpr_end'>}</span><span class='tstring_content'>m</span><span class='tstring_end'>&quot;</span></span>
@@ -272,12 +272,12 @@
272
272
  <pre class="lines">
273
273
 
274
274
 
275
- 13
276
275
  14
277
- 15</pre>
276
+ 15
277
+ 16</pre>
278
278
  </td>
279
279
  <td>
280
- <pre class="code"><span class="info file"># File 'lib/colors.rb', line 13</span>
280
+ <pre class="code"><span class="info file"># File 'lib/enhanced/colors.rb', line 14</span>
281
281
 
282
282
  <span class='kw'>def</span> <span class='id identifier rubyid_color'>color</span><span class='lparen'>(</span><span class='id identifier rubyid_num'>num</span><span class='comma'>,</span> <span class='id identifier rubyid_string'>string</span><span class='rparen'>)</span>
283
283
  <span class='ivar'>@enabled</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_code'>code</span><span class='lparen'>(</span><span class='id identifier rubyid_num'>num</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_string'>string</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_code'>code</span><span class='lparen'>(</span><span class='int'>0</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span> <span class='op'>:</span> <span class='id identifier rubyid_string'>string</span>
@@ -302,12 +302,12 @@
302
302
  <pre class="lines">
303
303
 
304
304
 
305
- 9
306
305
  10
307
- 11</pre>
306
+ 11
307
+ 12</pre>
308
308
  </td>
309
309
  <td>
310
- <pre class="code"><span class="info file"># File 'lib/colors.rb', line 9</span>
310
+ <pre class="code"><span class="info file"># File 'lib/enhanced/colors.rb', line 10</span>
311
311
 
312
312
  <span class='kw'>def</span> <span class='id identifier rubyid_enabled='>enabled=</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
313
313
  <span class='ivar'>@enabled</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
@@ -354,12 +354,12 @@
354
354
  <pre class="lines">
355
355
 
356
356
 
357
- 5
358
357
  6
359
- 7</pre>
358
+ 7
359
+ 8</pre>
360
360
  </td>
361
361
  <td>
362
- <pre class="code"><span class="info file"># File 'lib/colors.rb', line 5</span>
362
+ <pre class="code"><span class="info file"># File 'lib/enhanced/colors.rb', line 6</span>
363
363
 
364
364
  <span class='kw'>def</span> <span class='id identifier rubyid_enabled?'>enabled?</span>
365
365
  <span class='ivar'>@enabled</span>
@@ -374,7 +374,7 @@
374
374
  </div>
375
375
 
376
376
  <div id="footer">
377
- Generated on Sun Nov 10 12:01:14 2024 by
377
+ Generated on Mon Dec 9 19:51:26 2024 by
378
378
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
379
379
  0.9.37 (ruby-3.1.3).
380
380
  </div>
@@ -0,0 +1,182 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Module: Enhanced::Integrations::RSpecErrorFailureMessage
8
+
9
+ &mdash; Documentation by YARD 0.9.37
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Enhanced::Integrations::RSpecErrorFailureMessage";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../_index.html">Index (R)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../Enhanced.html" title="Enhanced (module)">Enhanced</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Integrations.html" title="Enhanced::Integrations (module)">Integrations</a></span></span>
41
+ &raquo;
42
+ <span class="title">RSpecErrorFailureMessage</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Module: Enhanced::Integrations::RSpecErrorFailureMessage
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ <dl>
80
+ <dt>Defined in:</dt>
81
+ <dd>lib/enhanced/integrations/rspec_error_failure_message.rb</dd>
82
+ </dl>
83
+
84
+ </div>
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+ <h2>
95
+ Instance Method Summary
96
+ <small><a href="#" class="summary_toggle">collapse</a></small>
97
+ </h2>
98
+
99
+ <ul class="summary">
100
+
101
+ <li class="public ">
102
+ <span class="summary_signature">
103
+
104
+ <a href="#execution_result-instance_method" title="#execution_result (instance method)">#<strong>execution_result</strong> &#x21d2; Object </a>
105
+
106
+
107
+
108
+ </span>
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+ <span class="summary_desc"><div class='inline'></div></span>
119
+
120
+ </li>
121
+
122
+
123
+ </ul>
124
+
125
+
126
+
127
+
128
+ <div id="instance_method_details" class="method_details_list">
129
+ <h2>Instance Method Details</h2>
130
+
131
+
132
+ <div class="method_details first">
133
+ <h3 class="signature first" id="execution_result-instance_method">
134
+
135
+ #<strong>execution_result</strong> &#x21d2; <tt>Object</tt>
136
+
137
+
138
+
139
+
140
+
141
+ </h3><table class="source_code">
142
+ <tr>
143
+ <td>
144
+ <pre class="lines">
145
+
146
+
147
+ 4
148
+ 5
149
+ 6
150
+ 7
151
+ 8
152
+ 9
153
+ 10</pre>
154
+ </td>
155
+ <td>
156
+ <pre class="code"><span class="info file"># File 'lib/enhanced/integrations/rspec_error_failure_message.rb', line 4</span>
157
+
158
+ <span class='kw'>def</span> <span class='id identifier rubyid_execution_result'>execution_result</span>
159
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='kw'>super</span>
160
+ <span class='kw'>if</span> <span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_exception'>exception</span>
161
+ <span class='const'><span class='object_link'><a href="../../EnhancedErrors.html" title="EnhancedErrors (class)">EnhancedErrors</a></span></span><span class='period'>.</span><span class='id identifier rubyid_override_exception_message'><span class='object_link'><a href="../../EnhancedErrors.html#override_exception_message-class_method" title="EnhancedErrors.override_exception_message (method)">override_exception_message</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_exception'>exception</span><span class='comma'>,</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_metadata'>metadata</span><span class='lbracket'>[</span><span class='symbol'>:expect_binding</span><span class='rbracket'>]</span><span class='rparen'>)</span>
162
+ <span class='kw'>end</span>
163
+ <span class='id identifier rubyid_result'>result</span>
164
+ <span class='kw'>end</span></pre>
165
+ </td>
166
+ </tr>
167
+ </table>
168
+ </div>
169
+
170
+ </div>
171
+
172
+ </div>
173
+
174
+ <div id="footer">
175
+ Generated on Mon Dec 9 19:51:26 2024 by
176
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
177
+ 0.9.37 (ruby-3.1.3).
178
+ </div>
179
+
180
+ </div>
181
+ </body>
182
+ </html>
@@ -0,0 +1,115 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Module: Enhanced::Integrations
8
+
9
+ &mdash; Documentation by YARD 0.9.37
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Enhanced::Integrations";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (I)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Enhanced.html" title="Enhanced (module)">Enhanced</a></span></span>
41
+ &raquo;
42
+ <span class="title">Integrations</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Module: Enhanced::Integrations
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ <dl>
80
+ <dt>Defined in:</dt>
81
+ <dd>lib/enhanced/integrations/rspec_error_failure_message.rb</dd>
82
+ </dl>
83
+
84
+ </div>
85
+
86
+ <h2>Defined Under Namespace</h2>
87
+ <p class="children">
88
+
89
+
90
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="Integrations/RSpecErrorFailureMessage.html" title="Enhanced::Integrations::RSpecErrorFailureMessage (module)">RSpecErrorFailureMessage</a></span>
91
+
92
+
93
+
94
+
95
+ </p>
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+ </div>
106
+
107
+ <div id="footer">
108
+ Generated on Mon Dec 9 19:51:26 2024 by
109
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
110
+ 0.9.37 (ruby-3.1.3).
111
+ </div>
112
+
113
+ </div>
114
+ </body>
115
+ </html>
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Class: Binding
7
+ Module: Enhanced
8
8
 
9
9
  &mdash; Documentation by YARD 0.9.37
10
10
 
@@ -15,7 +15,7 @@
15
15
  <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
17
  <script type="text/javascript">
18
- pathId = "Binding";
18
+ pathId = "Enhanced";
19
19
  relpath = '';
20
20
  </script>
21
21
 
@@ -36,10 +36,10 @@
36
36
  <div id="header">
37
37
  <div id="menu">
38
38
 
39
- <a href="_index.html">Index (B)</a> &raquo;
39
+ <a href="_index.html">Index (E)</a> &raquo;
40
40
 
41
41
 
42
- <span class="title">Binding</span>
42
+ <span class="title">Enhanced</span>
43
43
 
44
44
  </div>
45
45
 
@@ -59,51 +59,49 @@
59
59
  <div class="clear"></div>
60
60
  </div>
61
61
 
62
- <div id="content"><h1>Class: Binding
62
+ <div id="content"><h1>Module: Enhanced
63
63
 
64
64
 
65
65
 
66
66
  </h1>
67
67
  <div class="box_info">
68
68
 
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">Object</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">Binding</li>
78
-
79
- </ul>
80
- <a href="#" class="inheritanceTree">show all</a>
81
-
82
- </dd>
83
- </dl>
84
-
85
69
 
86
70
 
87
71
 
88
72
 
89
73
 
90
- <dl>
91
- <dt>Includes:</dt>
92
- <dd><span class='object_link'><a href="Debugging.html" title="Debugging (module)">Debugging</a></span></dd>
93
- </dl>
94
-
95
74
 
96
75
 
97
76
 
77
+ <dl>
78
+ <dt>Included in:</dt>
79
+ <dd><span class='object_link'><a href="EnhancedErrors.html" title="EnhancedErrors (class)">EnhancedErrors</a></span></dd>
80
+ </dl>
81
+
98
82
 
99
83
 
100
84
  <dl>
101
85
  <dt>Defined in:</dt>
102
- <dd>lib/binding.rb</dd>
86
+ <dd>lib/enhanced/colors.rb<span class="defines">,<br />
87
+ lib/enhanced/integrations/rspec_error_failure_message.rb</span>
88
+ </dd>
103
89
  </dl>
104
90
 
105
91
  </div>
106
92
 
93
+ <h2>Defined Under Namespace</h2>
94
+ <p class="children">
95
+
96
+
97
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="Enhanced/Integrations.html" title="Enhanced::Integrations (module)">Integrations</a></span>
98
+
99
+
100
+
101
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Enhanced/Colors.html" title="Enhanced::Colors (class)">Colors</a></span>
102
+
103
+
104
+ </p>
107
105
 
108
106
 
109
107
 
@@ -112,22 +110,11 @@
112
110
 
113
111
 
114
112
 
115
-
116
-
117
-
118
-
119
-
120
-
121
- <h2>Method Summary</h2>
122
-
123
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Debugging.html" title="Debugging (module)">Debugging</a></span></h3>
124
- <p class="inherited"><span class='object_link'><a href="Debugging.html#let_vars_hash-instance_method" title="Debugging#let_vars_hash (method)">#let_vars_hash</a></span></p>
125
-
126
113
 
127
114
  </div>
128
115
 
129
116
  <div id="footer">
130
- Generated on Sun Nov 10 12:01:14 2024 by
117
+ Generated on Mon Dec 9 19:51:26 2024 by
131
118
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
132
119
  0.9.37 (ruby-3.1.3).
133
120
  </div>