tainted_love 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/Gemfile.lock +1 -1
  4. data/README.md +8 -0
  5. data/example/Gemfile.lock +1 -1
  6. data/example/test/test_helper.rb +3 -1
  7. data/lib/tainted_love/replacer/replace_action_view.rb +1 -1
  8. data/lib/tainted_love/reporter/file_reporter.rb +9 -5
  9. data/lib/tainted_love/reporter/stdout_reporter.rb +29 -9
  10. data/lib/tainted_love/validator/railties_yaml_load.rb +16 -0
  11. data/lib/tainted_love/version.rb +1 -1
  12. data/tools/web/.gitignore +1 -0
  13. data/tools/web/Gemfile +3 -0
  14. data/tools/web/application.rb +39 -0
  15. data/tools/web/public/application.css +79 -0
  16. data/tools/web/public/application.js +0 -0
  17. data/tools/web/views/index.erb +57 -0
  18. data/tools/web/views/layout.erb +25 -0
  19. data/tools/web/views/line.erb +11 -0
  20. data/tools/web/views/warning.erb +3 -0
  21. data/tools/web/views/warnings.erb +3 -0
  22. metadata +13 -53
  23. data/docs/TaintedLove.html +0 -482
  24. data/docs/TaintedLove/Configuration.html +0 -499
  25. data/docs/TaintedLove/Replacer.html +0 -129
  26. data/docs/TaintedLove/Replacer/ActionViewHelpersMod.html +0 -230
  27. data/docs/TaintedLove/Replacer/Base.html +0 -320
  28. data/docs/TaintedLove/Replacer/HelperMod.html +0 -226
  29. data/docs/TaintedLove/Replacer/HelpersMod.html +0 -230
  30. data/docs/TaintedLove/Replacer/MarshalMod.html +0 -178
  31. data/docs/TaintedLove/Replacer/ObjectMod.html +0 -282
  32. data/docs/TaintedLove/Replacer/ReplaceActionController.html +0 -329
  33. data/docs/TaintedLove/Replacer/ReplaceActionView.html +0 -317
  34. data/docs/TaintedLove/Replacer/ReplaceActiveRecord.html +0 -341
  35. data/docs/TaintedLove/Replacer/ReplaceDigest.html +0 -369
  36. data/docs/TaintedLove/Replacer/ReplaceFile.html +0 -245
  37. data/docs/TaintedLove/Replacer/ReplaceKernel.html +0 -211
  38. data/docs/TaintedLove/Replacer/ReplaceMarshal.html +0 -219
  39. data/docs/TaintedLove/Replacer/ReplaceObject.html +0 -231
  40. data/docs/TaintedLove/Replacer/ReplaceRailsUserInput.html +0 -374
  41. data/docs/TaintedLove/Replacer/ReplaceSprokets.html +0 -297
  42. data/docs/TaintedLove/Replacer/SprocketsHelperMod.html +0 -226
  43. data/docs/TaintedLove/Reporter.html +0 -117
  44. data/docs/TaintedLove/Reporter/Base.html +0 -466
  45. data/docs/TaintedLove/Reporter/RackReporter.html +0 -309
  46. data/docs/TaintedLove/Reporter/SinatraReporter.html +0 -402
  47. data/docs/TaintedLove/Reporter/SinatraReporter/App.html +0 -210
  48. data/docs/TaintedLove/Reporter/StdoutReporter.html +0 -305
  49. data/docs/TaintedLove/SinatraReporter.html +0 -387
  50. data/docs/TaintedLove/SinatraReporter/App.html +0 -210
  51. data/docs/TaintedLove/StackTrace.html +0 -650
  52. data/docs/TaintedLove/Utils.html +0 -550
  53. data/docs/TaintedLove/Validator.html +0 -129
  54. data/docs/TaintedLove/Validator/ActionViewObjectSend.html +0 -233
  55. data/docs/TaintedLove/Validator/Base.html +0 -200
  56. data/docs/TaintedLove/Validator/ErbEval.html +0 -229
  57. data/docs/TaintedLove/Validator/RedisStoreSerialization.html +0 -238
  58. data/docs/TaintedLove/Validator/SproketsMarshal.html +0 -233
  59. data/docs/TaintedLove/Warning.html +0 -665
  60. data/docs/_index.html +0 -371
  61. data/docs/class_list.html +0 -51
  62. data/docs/css/common.css +0 -1
  63. data/docs/css/full_list.css +0 -58
  64. data/docs/css/style.css +0 -496
  65. data/docs/file.README.html +0 -134
  66. data/docs/file_list.html +0 -56
  67. data/docs/frames.html +0 -17
  68. data/docs/index.html +0 -134
  69. data/docs/js/app.js +0 -292
  70. data/docs/js/full_list.js +0 -216
  71. data/docs/js/jquery.js +0 -4
  72. data/docs/method_list.html +0 -523
  73. data/docs/top-level-namespace.html +0 -110
@@ -1,499 +0,0 @@
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
- Class: TaintedLove::Configuration
8
-
9
- &mdash; Documentation by YARD 0.9.18
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- pathId = "TaintedLove::Configuration";
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 (C)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../TaintedLove.html" title="TaintedLove (module)">TaintedLove</a></span></span>
41
- &raquo;
42
- <span class="title">Configuration</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>Class: TaintedLove::Configuration
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
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">TaintedLove::Configuration</li>
78
-
79
- </ul>
80
- <a href="#" class="inheritanceTree">show all</a>
81
-
82
- </dd>
83
- </dl>
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
- <dl>
96
- <dt>Defined in:</dt>
97
- <dd>lib/tainted_love/configuration.rb</dd>
98
- </dl>
99
-
100
- </div>
101
-
102
-
103
-
104
-
105
-
106
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
107
- <ul class="summary">
108
-
109
- <li class="public ">
110
- <span class="summary_signature">
111
-
112
- <a href="#logger-instance_method" title="#logger (instance method)">#<strong>logger</strong> &#x21d2; Object </a>
113
-
114
-
115
-
116
- </span>
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
- <span class="summary_desc"><div class='inline'>
130
- <p>Returns the value of attribute logger.</p>
131
- </div></span>
132
-
133
- </li>
134
-
135
-
136
- <li class="public ">
137
- <span class="summary_signature">
138
-
139
- <a href="#replacers-instance_method" title="#replacers (instance method)">#<strong>replacers</strong> &#x21d2; Object </a>
140
-
141
-
142
-
143
- </span>
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
- <span class="summary_desc"><div class='inline'>
157
- <p>Returns the value of attribute replacers.</p>
158
- </div></span>
159
-
160
- </li>
161
-
162
-
163
- <li class="public ">
164
- <span class="summary_signature">
165
-
166
- <a href="#reporter-instance_method" title="#reporter (instance method)">#<strong>reporter</strong> &#x21d2; Object </a>
167
-
168
-
169
-
170
- </span>
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
- <span class="summary_desc"><div class='inline'>
184
- <p>Returns the value of attribute reporter.</p>
185
- </div></span>
186
-
187
- </li>
188
-
189
-
190
- <li class="public ">
191
- <span class="summary_signature">
192
-
193
- <a href="#validators-instance_method" title="#validators (instance method)">#<strong>validators</strong> &#x21d2; Object </a>
194
-
195
-
196
-
197
- </span>
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
- <span class="summary_desc"><div class='inline'>
211
- <p>Returns the value of attribute validators.</p>
212
- </div></span>
213
-
214
- </li>
215
-
216
-
217
- </ul>
218
-
219
-
220
-
221
-
222
-
223
- <h2>
224
- Instance Method Summary
225
- <small><a href="#" class="summary_toggle">collapse</a></small>
226
- </h2>
227
-
228
- <ul class="summary">
229
-
230
- <li class="public ">
231
- <span class="summary_signature">
232
-
233
- <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> &#x21d2; Configuration </a>
234
-
235
-
236
-
237
- </span>
238
-
239
-
240
- <span class="note title constructor">constructor</span>
241
-
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
- <span class="summary_desc"><div class='inline'>
250
- <p>A new instance of Configuration.</p>
251
- </div></span>
252
-
253
- </li>
254
-
255
-
256
- </ul>
257
-
258
-
259
- <div id="constructor_details" class="method_details_list">
260
- <h2>Constructor Details</h2>
261
-
262
- <div class="method_details first">
263
- <h3 class="signature first" id="initialize-instance_method">
264
-
265
- #<strong>initialize</strong> &#x21d2; <tt><span class='object_link'><a href="" title="TaintedLove::Configuration (class)">Configuration</a></span></tt>
266
-
267
-
268
-
269
-
270
-
271
- </h3><div class="docstring">
272
- <div class="discussion">
273
-
274
- <p>Returns a new instance of Configuration</p>
275
-
276
-
277
- </div>
278
- </div>
279
- <div class="tags">
280
-
281
-
282
- </div><table class="source_code">
283
- <tr>
284
- <td>
285
- <pre class="lines">
286
-
287
-
288
- 9
289
- 10
290
- 11
291
- 12
292
- 13
293
- 14</pre>
294
- </td>
295
- <td>
296
- <pre class="code"><span class="info file"># File 'lib/tainted_love/configuration.rb', line 9</span>
297
-
298
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
299
- <span class='ivar'>@reporter</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../TaintedLove.html" title="TaintedLove (module)">TaintedLove</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Reporter.html" title="TaintedLove::Reporter (module)">Reporter</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Reporter/StdoutReporter.html" title="TaintedLove::Reporter::StdoutReporter (class)">StdoutReporter</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Reporter/Base.html#initialize-instance_method" title="TaintedLove::Reporter::Base#initialize (method)">new</a></span></span>
300
- <span class='ivar'>@logger</span> <span class='op'>=</span> <span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>STDERR</span><span class='rparen'>)</span>
301
- <span class='ivar'>@validators</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
302
- <span class='ivar'>@replacers</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
303
- <span class='kw'>end</span></pre>
304
- </td>
305
- </tr>
306
- </table>
307
- </div>
308
-
309
- </div>
310
-
311
- <div id="instance_attr_details" class="attr_details">
312
- <h2>Instance Attribute Details</h2>
313
-
314
-
315
- <span id="logger=-instance_method"></span>
316
- <div class="method_details first">
317
- <h3 class="signature first" id="logger-instance_method">
318
-
319
- #<strong>logger</strong> &#x21d2; <tt>Object</tt>
320
-
321
-
322
-
323
-
324
-
325
- </h3><div class="docstring">
326
- <div class="discussion">
327
-
328
- <p>Returns the value of attribute logger</p>
329
-
330
-
331
- </div>
332
- </div>
333
- <div class="tags">
334
-
335
-
336
- </div><table class="source_code">
337
- <tr>
338
- <td>
339
- <pre class="lines">
340
-
341
-
342
- 7
343
- 8
344
- 9</pre>
345
- </td>
346
- <td>
347
- <pre class="code"><span class="info file"># File 'lib/tainted_love/configuration.rb', line 7</span>
348
-
349
- <span class='kw'>def</span> <span class='id identifier rubyid_logger'>logger</span>
350
- <span class='ivar'>@logger</span>
351
- <span class='kw'>end</span></pre>
352
- </td>
353
- </tr>
354
- </table>
355
- </div>
356
-
357
-
358
- <span id="replacers=-instance_method"></span>
359
- <div class="method_details ">
360
- <h3 class="signature " id="replacers-instance_method">
361
-
362
- #<strong>replacers</strong> &#x21d2; <tt>Object</tt>
363
-
364
-
365
-
366
-
367
-
368
- </h3><div class="docstring">
369
- <div class="discussion">
370
-
371
- <p>Returns the value of attribute replacers</p>
372
-
373
-
374
- </div>
375
- </div>
376
- <div class="tags">
377
-
378
-
379
- </div><table class="source_code">
380
- <tr>
381
- <td>
382
- <pre class="lines">
383
-
384
-
385
- 7
386
- 8
387
- 9</pre>
388
- </td>
389
- <td>
390
- <pre class="code"><span class="info file"># File 'lib/tainted_love/configuration.rb', line 7</span>
391
-
392
- <span class='kw'>def</span> <span class='id identifier rubyid_replacers'>replacers</span>
393
- <span class='ivar'>@replacers</span>
394
- <span class='kw'>end</span></pre>
395
- </td>
396
- </tr>
397
- </table>
398
- </div>
399
-
400
-
401
- <span id="reporter=-instance_method"></span>
402
- <div class="method_details ">
403
- <h3 class="signature " id="reporter-instance_method">
404
-
405
- #<strong>reporter</strong> &#x21d2; <tt>Object</tt>
406
-
407
-
408
-
409
-
410
-
411
- </h3><div class="docstring">
412
- <div class="discussion">
413
-
414
- <p>Returns the value of attribute reporter</p>
415
-
416
-
417
- </div>
418
- </div>
419
- <div class="tags">
420
-
421
-
422
- </div><table class="source_code">
423
- <tr>
424
- <td>
425
- <pre class="lines">
426
-
427
-
428
- 7
429
- 8
430
- 9</pre>
431
- </td>
432
- <td>
433
- <pre class="code"><span class="info file"># File 'lib/tainted_love/configuration.rb', line 7</span>
434
-
435
- <span class='kw'>def</span> <span class='id identifier rubyid_reporter'>reporter</span>
436
- <span class='ivar'>@reporter</span>
437
- <span class='kw'>end</span></pre>
438
- </td>
439
- </tr>
440
- </table>
441
- </div>
442
-
443
-
444
- <span id="validators=-instance_method"></span>
445
- <div class="method_details ">
446
- <h3 class="signature " id="validators-instance_method">
447
-
448
- #<strong>validators</strong> &#x21d2; <tt>Object</tt>
449
-
450
-
451
-
452
-
453
-
454
- </h3><div class="docstring">
455
- <div class="discussion">
456
-
457
- <p>Returns the value of attribute validators</p>
458
-
459
-
460
- </div>
461
- </div>
462
- <div class="tags">
463
-
464
-
465
- </div><table class="source_code">
466
- <tr>
467
- <td>
468
- <pre class="lines">
469
-
470
-
471
- 7
472
- 8
473
- 9</pre>
474
- </td>
475
- <td>
476
- <pre class="code"><span class="info file"># File 'lib/tainted_love/configuration.rb', line 7</span>
477
-
478
- <span class='kw'>def</span> <span class='id identifier rubyid_validators'>validators</span>
479
- <span class='ivar'>@validators</span>
480
- <span class='kw'>end</span></pre>
481
- </td>
482
- </tr>
483
- </table>
484
- </div>
485
-
486
- </div>
487
-
488
-
489
- </div>
490
-
491
- <div id="footer">
492
- Generated on Tue Apr 2 15:50:34 2019 by
493
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
494
- 0.9.18 (ruby-2.5.3).
495
- </div>
496
-
497
- </div>
498
- </body>
499
- </html>