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.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/Gemfile.lock +1 -1
- data/README.md +8 -0
- data/example/Gemfile.lock +1 -1
- data/example/test/test_helper.rb +3 -1
- data/lib/tainted_love/replacer/replace_action_view.rb +1 -1
- data/lib/tainted_love/reporter/file_reporter.rb +9 -5
- data/lib/tainted_love/reporter/stdout_reporter.rb +29 -9
- data/lib/tainted_love/validator/railties_yaml_load.rb +16 -0
- data/lib/tainted_love/version.rb +1 -1
- data/tools/web/.gitignore +1 -0
- data/tools/web/Gemfile +3 -0
- data/tools/web/application.rb +39 -0
- data/tools/web/public/application.css +79 -0
- data/tools/web/public/application.js +0 -0
- data/tools/web/views/index.erb +57 -0
- data/tools/web/views/layout.erb +25 -0
- data/tools/web/views/line.erb +11 -0
- data/tools/web/views/warning.erb +3 -0
- data/tools/web/views/warnings.erb +3 -0
- metadata +13 -53
- data/docs/TaintedLove.html +0 -482
- data/docs/TaintedLove/Configuration.html +0 -499
- data/docs/TaintedLove/Replacer.html +0 -129
- data/docs/TaintedLove/Replacer/ActionViewHelpersMod.html +0 -230
- data/docs/TaintedLove/Replacer/Base.html +0 -320
- data/docs/TaintedLove/Replacer/HelperMod.html +0 -226
- data/docs/TaintedLove/Replacer/HelpersMod.html +0 -230
- data/docs/TaintedLove/Replacer/MarshalMod.html +0 -178
- data/docs/TaintedLove/Replacer/ObjectMod.html +0 -282
- data/docs/TaintedLove/Replacer/ReplaceActionController.html +0 -329
- data/docs/TaintedLove/Replacer/ReplaceActionView.html +0 -317
- data/docs/TaintedLove/Replacer/ReplaceActiveRecord.html +0 -341
- data/docs/TaintedLove/Replacer/ReplaceDigest.html +0 -369
- data/docs/TaintedLove/Replacer/ReplaceFile.html +0 -245
- data/docs/TaintedLove/Replacer/ReplaceKernel.html +0 -211
- data/docs/TaintedLove/Replacer/ReplaceMarshal.html +0 -219
- data/docs/TaintedLove/Replacer/ReplaceObject.html +0 -231
- data/docs/TaintedLove/Replacer/ReplaceRailsUserInput.html +0 -374
- data/docs/TaintedLove/Replacer/ReplaceSprokets.html +0 -297
- data/docs/TaintedLove/Replacer/SprocketsHelperMod.html +0 -226
- data/docs/TaintedLove/Reporter.html +0 -117
- data/docs/TaintedLove/Reporter/Base.html +0 -466
- data/docs/TaintedLove/Reporter/RackReporter.html +0 -309
- data/docs/TaintedLove/Reporter/SinatraReporter.html +0 -402
- data/docs/TaintedLove/Reporter/SinatraReporter/App.html +0 -210
- data/docs/TaintedLove/Reporter/StdoutReporter.html +0 -305
- data/docs/TaintedLove/SinatraReporter.html +0 -387
- data/docs/TaintedLove/SinatraReporter/App.html +0 -210
- data/docs/TaintedLove/StackTrace.html +0 -650
- data/docs/TaintedLove/Utils.html +0 -550
- data/docs/TaintedLove/Validator.html +0 -129
- data/docs/TaintedLove/Validator/ActionViewObjectSend.html +0 -233
- data/docs/TaintedLove/Validator/Base.html +0 -200
- data/docs/TaintedLove/Validator/ErbEval.html +0 -229
- data/docs/TaintedLove/Validator/RedisStoreSerialization.html +0 -238
- data/docs/TaintedLove/Validator/SproketsMarshal.html +0 -233
- data/docs/TaintedLove/Warning.html +0 -665
- data/docs/_index.html +0 -371
- data/docs/class_list.html +0 -51
- data/docs/css/common.css +0 -1
- data/docs/css/full_list.css +0 -58
- data/docs/css/style.css +0 -496
- data/docs/file.README.html +0 -134
- data/docs/file_list.html +0 -56
- data/docs/frames.html +0 -17
- data/docs/index.html +0 -134
- data/docs/js/app.js +0 -292
- data/docs/js/full_list.js +0 -216
- data/docs/js/jquery.js +0 -4
- data/docs/method_list.html +0 -523
- data/docs/top-level-namespace.html +0 -110
@@ -1,233 +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::Validator::SproketsMarshal
|
8
|
-
|
9
|
-
— 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::Validator::SproketsMarshal";
|
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 (S)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../TaintedLove.html" title="TaintedLove (module)">TaintedLove</a></span></span> » <span class='title'><span class='object_link'><a href="../Validator.html" title="TaintedLove::Validator (module)">Validator</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">SproketsMarshal</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::Validator::SproketsMarshal
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
<dl>
|
70
|
-
<dt>Inherits:</dt>
|
71
|
-
<dd>
|
72
|
-
<span class="inheritName"><span class='object_link'><a href="Base.html" title="TaintedLove::Validator::Base (class)">Base</a></span></span>
|
73
|
-
|
74
|
-
<ul class="fullTree">
|
75
|
-
<li>Object</li>
|
76
|
-
|
77
|
-
<li class="next"><span class='object_link'><a href="Base.html" title="TaintedLove::Validator::Base (class)">Base</a></span></li>
|
78
|
-
|
79
|
-
<li class="next">TaintedLove::Validator::SproketsMarshal</li>
|
80
|
-
|
81
|
-
</ul>
|
82
|
-
<a href="#" class="inheritanceTree">show all</a>
|
83
|
-
|
84
|
-
</dd>
|
85
|
-
</dl>
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
<dl>
|
98
|
-
<dt>Defined in:</dt>
|
99
|
-
<dd>lib/tainted_love/validator/sprokets_marshal.rb</dd>
|
100
|
-
</dl>
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
<h2>
|
113
|
-
Instance Method Summary
|
114
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
115
|
-
</h2>
|
116
|
-
|
117
|
-
<ul class="summary">
|
118
|
-
|
119
|
-
<li class="public ">
|
120
|
-
<span class="summary_signature">
|
121
|
-
|
122
|
-
<a href="#remove%3F-instance_method" title="#remove? (instance method)">#<strong>remove?</strong>(warning) ⇒ Boolean </a>
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
</span>
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
137
|
-
|
138
|
-
</li>
|
139
|
-
|
140
|
-
|
141
|
-
</ul>
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Base.html" title="TaintedLove::Validator::Base (class)">Base</a></span></h3>
|
154
|
-
<p class="inherited"><span class='object_link'><a href="Base.html#validators-class_method" title="TaintedLove::Validator::Base.validators (method)">validators</a></span></p>
|
155
|
-
|
156
|
-
|
157
|
-
<div id="instance_method_details" class="method_details_list">
|
158
|
-
<h2>Instance Method Details</h2>
|
159
|
-
|
160
|
-
|
161
|
-
<div class="method_details first">
|
162
|
-
<h3 class="signature first" id="remove?-instance_method">
|
163
|
-
|
164
|
-
#<strong>remove?</strong>(warning) ⇒ <tt>Boolean</tt>
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
</h3><div class="docstring">
|
171
|
-
<div class="discussion">
|
172
|
-
|
173
|
-
|
174
|
-
</div>
|
175
|
-
</div>
|
176
|
-
<div class="tags">
|
177
|
-
|
178
|
-
<p class="tag_title">Returns:</p>
|
179
|
-
<ul class="return">
|
180
|
-
|
181
|
-
<li>
|
182
|
-
|
183
|
-
|
184
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
</li>
|
189
|
-
|
190
|
-
</ul>
|
191
|
-
|
192
|
-
</div><table class="source_code">
|
193
|
-
<tr>
|
194
|
-
<td>
|
195
|
-
<pre class="lines">
|
196
|
-
|
197
|
-
|
198
|
-
6
|
199
|
-
7
|
200
|
-
8
|
201
|
-
9
|
202
|
-
10
|
203
|
-
11
|
204
|
-
12</pre>
|
205
|
-
</td>
|
206
|
-
<td>
|
207
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/validator/sprokets_marshal.rb', line 6</span>
|
208
|
-
|
209
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_remove?'>remove?</span><span class='lparen'>(</span><span class='id identifier rubyid_warning'>warning</span><span class='rparen'>)</span>
|
210
|
-
<span class='id identifier rubyid_calling'>calling</span> <span class='op'>=</span> <span class='id identifier rubyid_warning'>warning</span><span class='period'>.</span><span class='id identifier rubyid_stack_trace'>stack_trace</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
|
211
|
-
|
212
|
-
<span class='kw'>if</span> <span class='id identifier rubyid_calling'>calling</span><span class='lbracket'>[</span><span class='symbol'>:method</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>unmarshaled_deflated</span><span class='tstring_end'>"</span></span> <span class='op'>&&</span> <span class='id identifier rubyid_calling'>calling</span><span class='lbracket'>[</span><span class='symbol'>:file</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>sprockets</span><span class='regexp_end'>/</span></span><span class='rbracket'>]</span>
|
213
|
-
<span class='kw'>return</span> <span class='kw'>true</span>
|
214
|
-
<span class='kw'>end</span>
|
215
|
-
<span class='kw'>end</span></pre>
|
216
|
-
</td>
|
217
|
-
</tr>
|
218
|
-
</table>
|
219
|
-
</div>
|
220
|
-
|
221
|
-
</div>
|
222
|
-
|
223
|
-
</div>
|
224
|
-
|
225
|
-
<div id="footer">
|
226
|
-
Generated on Tue Apr 2 15:50:34 2019 by
|
227
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
228
|
-
0.9.18 (ruby-2.5.3).
|
229
|
-
</div>
|
230
|
-
|
231
|
-
</div>
|
232
|
-
</body>
|
233
|
-
</html>
|
@@ -1,665 +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::Warning
|
8
|
-
|
9
|
-
— 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::Warning";
|
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 (W)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../TaintedLove.html" title="TaintedLove (module)">TaintedLove</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">Warning</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::Warning
|
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::Warning</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/warning.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="#replacer-instance_method" title="#replacer (instance method)">#<strong>replacer</strong> ⇒ 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 replacer.</p>
|
131
|
-
</div></span>
|
132
|
-
|
133
|
-
</li>
|
134
|
-
|
135
|
-
|
136
|
-
<li class="public ">
|
137
|
-
<span class="summary_signature">
|
138
|
-
|
139
|
-
<a href="#reported_at-instance_method" title="#reported_at (instance method)">#<strong>reported_at</strong> ⇒ 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 reported_at.</p>
|
158
|
-
</div></span>
|
159
|
-
|
160
|
-
</li>
|
161
|
-
|
162
|
-
|
163
|
-
<li class="public ">
|
164
|
-
<span class="summary_signature">
|
165
|
-
|
166
|
-
<a href="#stack_trace-instance_method" title="#stack_trace (instance method)">#<strong>stack_trace</strong> ⇒ 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 stack_trace.</p>
|
185
|
-
</div></span>
|
186
|
-
|
187
|
-
</li>
|
188
|
-
|
189
|
-
|
190
|
-
<li class="public ">
|
191
|
-
<span class="summary_signature">
|
192
|
-
|
193
|
-
<a href="#tainted_input-instance_method" title="#tainted_input (instance method)">#<strong>tainted_input</strong> ⇒ 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 tainted_input.</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="#==-instance_method" title="#== (instance method)">#<strong>==</strong>(other) ⇒ Object </a>
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
</span>
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
248
|
-
|
249
|
-
</li>
|
250
|
-
|
251
|
-
|
252
|
-
<li class="public ">
|
253
|
-
<span class="summary_signature">
|
254
|
-
|
255
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ Warning </a>
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
</span>
|
260
|
-
|
261
|
-
|
262
|
-
<span class="note title constructor">constructor</span>
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
<span class="summary_desc"><div class='inline'>
|
272
|
-
<p>A new instance of Warning.</p>
|
273
|
-
</div></span>
|
274
|
-
|
275
|
-
</li>
|
276
|
-
|
277
|
-
|
278
|
-
<li class="public ">
|
279
|
-
<span class="summary_signature">
|
280
|
-
|
281
|
-
<a href="#stack_trace_line-instance_method" title="#stack_trace_line (instance method)">#<strong>stack_trace_line</strong> ⇒ Object </a>
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
</span>
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
296
|
-
|
297
|
-
</li>
|
298
|
-
|
299
|
-
|
300
|
-
<li class="public ">
|
301
|
-
<span class="summary_signature">
|
302
|
-
|
303
|
-
<a href="#to_json-instance_method" title="#to_json (instance method)">#<strong>to_json</strong> ⇒ Object </a>
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
</span>
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
318
|
-
|
319
|
-
</li>
|
320
|
-
|
321
|
-
|
322
|
-
</ul>
|
323
|
-
|
324
|
-
|
325
|
-
<div id="constructor_details" class="method_details_list">
|
326
|
-
<h2>Constructor Details</h2>
|
327
|
-
|
328
|
-
<div class="method_details first">
|
329
|
-
<h3 class="signature first" id="initialize-instance_method">
|
330
|
-
|
331
|
-
#<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="TaintedLove::Warning (class)">Warning</a></span></tt>
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
</h3><div class="docstring">
|
338
|
-
<div class="discussion">
|
339
|
-
|
340
|
-
<p>Returns a new instance of Warning</p>
|
341
|
-
|
342
|
-
|
343
|
-
</div>
|
344
|
-
</div>
|
345
|
-
<div class="tags">
|
346
|
-
|
347
|
-
|
348
|
-
</div><table class="source_code">
|
349
|
-
<tr>
|
350
|
-
<td>
|
351
|
-
<pre class="lines">
|
352
|
-
|
353
|
-
|
354
|
-
7
|
355
|
-
8
|
356
|
-
9</pre>
|
357
|
-
</td>
|
358
|
-
<td>
|
359
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/warning.rb', line 7</span>
|
360
|
-
|
361
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
362
|
-
<span class='ivar'>@reported_at</span> <span class='op'>=</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
|
363
|
-
<span class='kw'>end</span></pre>
|
364
|
-
</td>
|
365
|
-
</tr>
|
366
|
-
</table>
|
367
|
-
</div>
|
368
|
-
|
369
|
-
</div>
|
370
|
-
|
371
|
-
<div id="instance_attr_details" class="attr_details">
|
372
|
-
<h2>Instance Attribute Details</h2>
|
373
|
-
|
374
|
-
|
375
|
-
<span id="replacer=-instance_method"></span>
|
376
|
-
<div class="method_details first">
|
377
|
-
<h3 class="signature first" id="replacer-instance_method">
|
378
|
-
|
379
|
-
#<strong>replacer</strong> ⇒ <tt>Object</tt>
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
</h3><div class="docstring">
|
386
|
-
<div class="discussion">
|
387
|
-
|
388
|
-
<p>Returns the value of attribute replacer</p>
|
389
|
-
|
390
|
-
|
391
|
-
</div>
|
392
|
-
</div>
|
393
|
-
<div class="tags">
|
394
|
-
|
395
|
-
|
396
|
-
</div><table class="source_code">
|
397
|
-
<tr>
|
398
|
-
<td>
|
399
|
-
<pre class="lines">
|
400
|
-
|
401
|
-
|
402
|
-
5
|
403
|
-
6
|
404
|
-
7</pre>
|
405
|
-
</td>
|
406
|
-
<td>
|
407
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/warning.rb', line 5</span>
|
408
|
-
|
409
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_replacer'>replacer</span>
|
410
|
-
<span class='ivar'>@replacer</span>
|
411
|
-
<span class='kw'>end</span></pre>
|
412
|
-
</td>
|
413
|
-
</tr>
|
414
|
-
</table>
|
415
|
-
</div>
|
416
|
-
|
417
|
-
|
418
|
-
<span id="reported_at=-instance_method"></span>
|
419
|
-
<div class="method_details ">
|
420
|
-
<h3 class="signature " id="reported_at-instance_method">
|
421
|
-
|
422
|
-
#<strong>reported_at</strong> ⇒ <tt>Object</tt>
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
</h3><div class="docstring">
|
429
|
-
<div class="discussion">
|
430
|
-
|
431
|
-
<p>Returns the value of attribute reported_at</p>
|
432
|
-
|
433
|
-
|
434
|
-
</div>
|
435
|
-
</div>
|
436
|
-
<div class="tags">
|
437
|
-
|
438
|
-
|
439
|
-
</div><table class="source_code">
|
440
|
-
<tr>
|
441
|
-
<td>
|
442
|
-
<pre class="lines">
|
443
|
-
|
444
|
-
|
445
|
-
5
|
446
|
-
6
|
447
|
-
7</pre>
|
448
|
-
</td>
|
449
|
-
<td>
|
450
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/warning.rb', line 5</span>
|
451
|
-
|
452
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_reported_at'>reported_at</span>
|
453
|
-
<span class='ivar'>@reported_at</span>
|
454
|
-
<span class='kw'>end</span></pre>
|
455
|
-
</td>
|
456
|
-
</tr>
|
457
|
-
</table>
|
458
|
-
</div>
|
459
|
-
|
460
|
-
|
461
|
-
<span id="stack_trace=-instance_method"></span>
|
462
|
-
<div class="method_details ">
|
463
|
-
<h3 class="signature " id="stack_trace-instance_method">
|
464
|
-
|
465
|
-
#<strong>stack_trace</strong> ⇒ <tt>Object</tt>
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
</h3><div class="docstring">
|
472
|
-
<div class="discussion">
|
473
|
-
|
474
|
-
<p>Returns the value of attribute stack_trace</p>
|
475
|
-
|
476
|
-
|
477
|
-
</div>
|
478
|
-
</div>
|
479
|
-
<div class="tags">
|
480
|
-
|
481
|
-
|
482
|
-
</div><table class="source_code">
|
483
|
-
<tr>
|
484
|
-
<td>
|
485
|
-
<pre class="lines">
|
486
|
-
|
487
|
-
|
488
|
-
5
|
489
|
-
6
|
490
|
-
7</pre>
|
491
|
-
</td>
|
492
|
-
<td>
|
493
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/warning.rb', line 5</span>
|
494
|
-
|
495
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_stack_trace'>stack_trace</span>
|
496
|
-
<span class='ivar'>@stack_trace</span>
|
497
|
-
<span class='kw'>end</span></pre>
|
498
|
-
</td>
|
499
|
-
</tr>
|
500
|
-
</table>
|
501
|
-
</div>
|
502
|
-
|
503
|
-
|
504
|
-
<span id="tainted_input=-instance_method"></span>
|
505
|
-
<div class="method_details ">
|
506
|
-
<h3 class="signature " id="tainted_input-instance_method">
|
507
|
-
|
508
|
-
#<strong>tainted_input</strong> ⇒ <tt>Object</tt>
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
</h3><div class="docstring">
|
515
|
-
<div class="discussion">
|
516
|
-
|
517
|
-
<p>Returns the value of attribute tainted_input</p>
|
518
|
-
|
519
|
-
|
520
|
-
</div>
|
521
|
-
</div>
|
522
|
-
<div class="tags">
|
523
|
-
|
524
|
-
|
525
|
-
</div><table class="source_code">
|
526
|
-
<tr>
|
527
|
-
<td>
|
528
|
-
<pre class="lines">
|
529
|
-
|
530
|
-
|
531
|
-
5
|
532
|
-
6
|
533
|
-
7</pre>
|
534
|
-
</td>
|
535
|
-
<td>
|
536
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/warning.rb', line 5</span>
|
537
|
-
|
538
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_tainted_input'>tainted_input</span>
|
539
|
-
<span class='ivar'>@tainted_input</span>
|
540
|
-
<span class='kw'>end</span></pre>
|
541
|
-
</td>
|
542
|
-
</tr>
|
543
|
-
</table>
|
544
|
-
</div>
|
545
|
-
|
546
|
-
</div>
|
547
|
-
|
548
|
-
|
549
|
-
<div id="instance_method_details" class="method_details_list">
|
550
|
-
<h2>Instance Method Details</h2>
|
551
|
-
|
552
|
-
|
553
|
-
<div class="method_details first">
|
554
|
-
<h3 class="signature first" id="==-instance_method">
|
555
|
-
|
556
|
-
#<strong>==</strong>(other) ⇒ <tt>Object</tt>
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
</h3><table class="source_code">
|
563
|
-
<tr>
|
564
|
-
<td>
|
565
|
-
<pre class="lines">
|
566
|
-
|
567
|
-
|
568
|
-
11
|
569
|
-
12
|
570
|
-
13</pre>
|
571
|
-
</td>
|
572
|
-
<td>
|
573
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/warning.rb', line 11</span>
|
574
|
-
|
575
|
-
<span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span>
|
576
|
-
<span class='id identifier rubyid_stack_trace'>stack_trace</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_stack_trace'>stack_trace</span> <span class='op'>&&</span> <span class='id identifier rubyid_tainted_input'>tainted_input</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_tainted_input'>tainted_input</span>
|
577
|
-
<span class='kw'>end</span></pre>
|
578
|
-
</td>
|
579
|
-
</tr>
|
580
|
-
</table>
|
581
|
-
</div>
|
582
|
-
|
583
|
-
<div class="method_details ">
|
584
|
-
<h3 class="signature " id="stack_trace_line-instance_method">
|
585
|
-
|
586
|
-
#<strong>stack_trace_line</strong> ⇒ <tt>Object</tt>
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
</h3><table class="source_code">
|
593
|
-
<tr>
|
594
|
-
<td>
|
595
|
-
<pre class="lines">
|
596
|
-
|
597
|
-
|
598
|
-
15
|
599
|
-
16
|
600
|
-
17</pre>
|
601
|
-
</td>
|
602
|
-
<td>
|
603
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/warning.rb', line 15</span>
|
604
|
-
|
605
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_stack_trace_line'>stack_trace_line</span>
|
606
|
-
<span class='ivar'>@stack_trace</span><span class='period'>.</span><span class='id identifier rubyid_lines'>lines</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
|
607
|
-
<span class='kw'>end</span></pre>
|
608
|
-
</td>
|
609
|
-
</tr>
|
610
|
-
</table>
|
611
|
-
</div>
|
612
|
-
|
613
|
-
<div class="method_details ">
|
614
|
-
<h3 class="signature " id="to_json-instance_method">
|
615
|
-
|
616
|
-
#<strong>to_json</strong> ⇒ <tt>Object</tt>
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
</h3><table class="source_code">
|
623
|
-
<tr>
|
624
|
-
<td>
|
625
|
-
<pre class="lines">
|
626
|
-
|
627
|
-
|
628
|
-
19
|
629
|
-
20
|
630
|
-
21
|
631
|
-
22
|
632
|
-
23
|
633
|
-
24
|
634
|
-
25
|
635
|
-
26</pre>
|
636
|
-
</td>
|
637
|
-
<td>
|
638
|
-
<pre class="code"><span class="info file"># File 'lib/tainted_love/warning.rb', line 19</span>
|
639
|
-
|
640
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_to_json'>to_json</span>
|
641
|
-
<span class='lbrace'>{</span>
|
642
|
-
<span class='label'>stack_trace:</span> <span class='ivar'>@stack_trace</span><span class='comma'>,</span>
|
643
|
-
<span class='label'>replacer:</span> <span class='ivar'>@replacer</span><span class='comma'>,</span>
|
644
|
-
<span class='label'>tainted_input:</span> <span class='ivar'>@tainted_input</span><span class='comma'>,</span>
|
645
|
-
<span class='label'>reported_at:</span> <span class='ivar'>@reported_at</span><span class='comma'>,</span>
|
646
|
-
<span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_to_json'>to_json</span>
|
647
|
-
<span class='kw'>end</span></pre>
|
648
|
-
</td>
|
649
|
-
</tr>
|
650
|
-
</table>
|
651
|
-
</div>
|
652
|
-
|
653
|
-
</div>
|
654
|
-
|
655
|
-
</div>
|
656
|
-
|
657
|
-
<div id="footer">
|
658
|
-
Generated on Tue Apr 2 15:50:34 2019 by
|
659
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
660
|
-
0.9.18 (ruby-2.5.3).
|
661
|
-
</div>
|
662
|
-
|
663
|
-
</div>
|
664
|
-
</body>
|
665
|
-
</html>
|