stackup 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,142 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Exception: Stackup::StackUpdateError
8
-
9
- &mdash; Documentation by YARD 0.8.7.6
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
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../';
20
- framesUrl = "../frames.html#!Stackup/StackUpdateError.html";
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../_index.html">Index (S)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Stackup.html" title="Stackup (module)">Stackup</a></span></span>
36
- &raquo;
37
- <span class="title">StackUpdateError</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Exception: Stackup::StackUpdateError
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName"><span class='object_link'><a href="ServiceError.html" title="Stackup::ServiceError (class)">ServiceError</a></span></span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">StandardError</li>
82
-
83
- <li class="next"><span class='object_link'><a href="ServiceError.html" title="Stackup::ServiceError (class)">ServiceError</a></span></li>
84
-
85
- <li class="next">Stackup::StackUpdateError</li>
86
-
87
- </ul>
88
- <a href="#" class="inheritanceTree">show all</a>
89
-
90
- </dd>
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
- <dt class="r2 last">Defined in:</dt>
101
- <dd class="r2 last">lib/stackup/errors.rb</dd>
102
-
103
- </dl>
104
- <div class="clear"></div>
105
-
106
- <h2>Overview</h2><div class="docstring">
107
- <div class="discussion">
108
-
109
- <p>Raised to indicate a problem updating a stack</p>
110
-
111
-
112
- </div>
113
- </div>
114
- <div class="tags">
115
-
116
-
117
- </div>
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
- </div>
134
-
135
- <div id="footer">
136
- Generated on Fri Oct 9 11:23:11 2015 by
137
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
138
- 0.8.7.6 (ruby-2.2.2).
139
- </div>
140
-
141
- </body>
142
- </html>
@@ -1,455 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Class: Stackup::StackWatcher
8
-
9
- &mdash; Documentation by YARD 0.8.7.6
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
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '../';
20
- framesUrl = "../frames.html#!Stackup/StackWatcher.html";
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="../_index.html">Index (S)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Stackup.html" title="Stackup (module)">Stackup</a></span></span>
36
- &raquo;
37
- <span class="title">StackWatcher</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: Stackup::StackWatcher
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName">Object</span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">Stackup::StackWatcher</li>
82
-
83
- </ul>
84
- <a href="#" class="inheritanceTree">show all</a>
85
-
86
- </dd>
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
- <dt class="r2 last">Defined in:</dt>
97
- <dd class="r2 last">lib/stackup/stack_watcher.rb</dd>
98
-
99
- </dl>
100
- <div class="clear"></div>
101
-
102
- <h2>Overview</h2><div class="docstring">
103
- <div class="discussion">
104
-
105
- <p>A stack event observer.</p>
106
-
107
- <p>Keeps track of previously processed events, and yields the new ones.</p>
108
-
109
-
110
- </div>
111
- </div>
112
- <div class="tags">
113
-
114
-
115
- </div>
116
-
117
-
118
-
119
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
120
- <ul class="summary">
121
-
122
- <li class="public ">
123
- <span class="summary_signature">
124
-
125
- <a href="#stack-instance_method" title="#stack (instance method)">- (Object) <strong>stack</strong> </a>
126
-
127
-
128
-
129
- </span>
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
- <span class="summary_desc"><div class='inline'>
143
- <p>Returns the value of attribute stack.</p>
144
- </div></span>
145
-
146
- </li>
147
-
148
-
149
- </ul>
150
-
151
-
152
-
153
-
154
-
155
- <h2>
156
- Instance Method Summary
157
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
158
- </h2>
159
-
160
- <ul class="summary">
161
-
162
- <li class="public ">
163
- <span class="summary_signature">
164
-
165
- <a href="#each_new_event-instance_method" title="#each_new_event (instance method)">- (Object) <strong>each_new_event</strong> </a>
166
-
167
-
168
-
169
- </span>
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
- <span class="summary_desc"><div class='inline'>
180
- <p>Yield all events since the last call.</p>
181
- </div></span>
182
-
183
- </li>
184
-
185
-
186
- <li class="public ">
187
- <span class="summary_signature">
188
-
189
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (StackWatcher) <strong>initialize</strong>(stack) </a>
190
-
191
-
192
-
193
- </span>
194
-
195
-
196
- <span class="note title constructor">constructor</span>
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
- <span class="summary_desc"><div class='inline'>
206
- <p>A new instance of StackWatcher.</p>
207
- </div></span>
208
-
209
- </li>
210
-
211
-
212
- <li class="public ">
213
- <span class="summary_signature">
214
-
215
- <a href="#zero-instance_method" title="#zero (instance method)">- (Object) <strong>zero</strong> </a>
216
-
217
-
218
-
219
- </span>
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
-
229
- <span class="summary_desc"><div class='inline'>
230
- <p>Consume all new events.</p>
231
- </div></span>
232
-
233
- </li>
234
-
235
-
236
- </ul>
237
-
238
-
239
- <div id="constructor_details" class="method_details_list">
240
- <h2>Constructor Details</h2>
241
-
242
- <div class="method_details first">
243
- <h3 class="signature first" id="initialize-instance_method">
244
-
245
- - (<tt><span class='object_link'><a href="" title="Stackup::StackWatcher (class)">StackWatcher</a></span></tt>) <strong>initialize</strong>(stack)
246
-
247
-
248
-
249
-
250
-
251
- </h3><div class="docstring">
252
- <div class="discussion">
253
-
254
- <p>Returns a new instance of StackWatcher</p>
255
-
256
-
257
- </div>
258
- </div>
259
- <div class="tags">
260
-
261
-
262
- </div><table class="source_code">
263
- <tr>
264
- <td>
265
- <pre class="lines">
266
-
267
-
268
- 11
269
- 12
270
- 13
271
- 14</pre>
272
- </td>
273
- <td>
274
- <pre class="code"><span class="info file"># File 'lib/stackup/stack_watcher.rb', line 11</span>
275
-
276
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_stack'>stack</span><span class='rparen'>)</span>
277
- <span class='ivar'>@stack</span> <span class='op'>=</span> <span class='id identifier rubyid_stack'>stack</span>
278
- <span class='ivar'>@processed_event_ids</span> <span class='op'>=</span> <span class='const'>Set</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
279
- <span class='kw'>end</span></pre>
280
- </td>
281
- </tr>
282
- </table>
283
- </div>
284
-
285
- </div>
286
-
287
- <div id="instance_attr_details" class="attr_details">
288
- <h2>Instance Attribute Details</h2>
289
-
290
-
291
- <span id="stack=-instance_method"></span>
292
- <div class="method_details first">
293
- <h3 class="signature first" id="stack-instance_method">
294
-
295
- - (<tt>Object</tt>) <strong>stack</strong>
296
-
297
-
298
-
299
-
300
-
301
- </h3><div class="docstring">
302
- <div class="discussion">
303
-
304
- <p>Returns the value of attribute stack</p>
305
-
306
-
307
- </div>
308
- </div>
309
- <div class="tags">
310
-
311
-
312
- </div><table class="source_code">
313
- <tr>
314
- <td>
315
- <pre class="lines">
316
-
317
-
318
- 16
319
- 17
320
- 18</pre>
321
- </td>
322
- <td>
323
- <pre class="code"><span class="info file"># File 'lib/stackup/stack_watcher.rb', line 16</span>
324
-
325
- <span class='kw'>def</span> <span class='id identifier rubyid_stack'>stack</span>
326
- <span class='ivar'>@stack</span>
327
- <span class='kw'>end</span></pre>
328
- </td>
329
- </tr>
330
- </table>
331
- </div>
332
-
333
- </div>
334
-
335
-
336
- <div id="instance_method_details" class="method_details_list">
337
- <h2>Instance Method Details</h2>
338
-
339
-
340
- <div class="method_details first">
341
- <h3 class="signature first" id="each_new_event-instance_method">
342
-
343
- - (<tt>Object</tt>) <strong>each_new_event</strong>
344
-
345
-
346
-
347
-
348
-
349
- </h3><div class="docstring">
350
- <div class="discussion">
351
-
352
- <p>Yield all events since the last call</p>
353
-
354
-
355
- </div>
356
- </div>
357
- <div class="tags">
358
-
359
-
360
- </div><table class="source_code">
361
- <tr>
362
- <td>
363
- <pre class="lines">
364
-
365
-
366
- 20
367
- 21
368
- 22
369
- 23
370
- 24
371
- 25
372
- 26
373
- 27
374
- 28
375
- 29
376
- 30
377
- 31
378
- 32</pre>
379
- </td>
380
- <td>
381
- <pre class="code"><span class="info file"># File 'lib/stackup/stack_watcher.rb', line 20</span>
382
-
383
- <span class='kw'>def</span> <span class='id identifier rubyid_each_new_event'>each_new_event</span>
384
- <span class='id identifier rubyid_buffer'>buffer</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
385
- <span class='id identifier rubyid_stack'>stack</span><span class='period'>.</span><span class='id identifier rubyid_events'>events</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_event'>event</span><span class='op'>|</span>
386
- <span class='kw'>break</span> <span class='kw'>if</span> <span class='ivar'>@processed_event_ids</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_event'>event</span><span class='period'>.</span><span class='id identifier rubyid_event_id'>event_id</span><span class='rparen'>)</span>
387
- <span class='id identifier rubyid_buffer'>buffer</span><span class='period'>.</span><span class='id identifier rubyid_unshift'>unshift</span><span class='lparen'>(</span><span class='id identifier rubyid_event'>event</span><span class='rparen'>)</span>
388
- <span class='kw'>end</span>
389
- <span class='id identifier rubyid_buffer'>buffer</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_event'>event</span><span class='op'>|</span>
390
- <span class='kw'>yield</span> <span class='id identifier rubyid_event'>event</span> <span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
391
- <span class='ivar'>@processed_event_ids</span><span class='period'>.</span><span class='id identifier rubyid_add'>add</span><span class='lparen'>(</span><span class='id identifier rubyid_event'>event</span><span class='period'>.</span><span class='id identifier rubyid_event_id'>event_id</span><span class='rparen'>)</span>
392
- <span class='kw'>end</span>
393
- <span class='kw'>rescue</span> <span class='const'>Aws</span><span class='op'>::</span><span class='const'>CloudFormation</span><span class='op'>::</span><span class='const'>Errors</span><span class='op'>::</span><span class='const'>ValidationError</span>
394
- <span class='comment'># okay
395
- </span><span class='kw'>end</span></pre>
396
- </td>
397
- </tr>
398
- </table>
399
- </div>
400
-
401
- <div class="method_details ">
402
- <h3 class="signature " id="zero-instance_method">
403
-
404
- - (<tt>Object</tt>) <strong>zero</strong>
405
-
406
-
407
-
408
-
409
-
410
- </h3><div class="docstring">
411
- <div class="discussion">
412
-
413
- <p>Consume all new events</p>
414
-
415
-
416
- </div>
417
- </div>
418
- <div class="tags">
419
-
420
-
421
- </div><table class="source_code">
422
- <tr>
423
- <td>
424
- <pre class="lines">
425
-
426
-
427
- 36
428
- 37
429
- 38
430
- 39</pre>
431
- </td>
432
- <td>
433
- <pre class="code"><span class="info file"># File 'lib/stackup/stack_watcher.rb', line 36</span>
434
-
435
- <span class='kw'>def</span> <span class='id identifier rubyid_zero'>zero</span>
436
- <span class='id identifier rubyid_each_new_event'>each_new_event</span>
437
- <span class='kw'>nil</span>
438
- <span class='kw'>end</span></pre>
439
- </td>
440
- </tr>
441
- </table>
442
- </div>
443
-
444
- </div>
445
-
446
- </div>
447
-
448
- <div id="footer">
449
- Generated on Fri Oct 9 11:23:11 2015 by
450
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
451
- 0.8.7.6 (ruby-2.2.2).
452
- </div>
453
-
454
- </body>
455
- </html>