inetmgr 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. data/Gemfile +2 -0
  2. data/RELEASE-NOTES.rdoc +5 -1
  3. data/inetmgr.gemspec +4 -1
  4. data/lib/inetmgr/configuration.rb +24 -21
  5. data/lib/inetmgr/iis_configuration.rb +18 -8
  6. data/lib/inetmgr/iis_object.rb +6 -3
  7. data/lib/inetmgr/iis_object/application.rb +5 -3
  8. data/lib/inetmgr/iis_object/application_pool.rb +5 -3
  9. data/lib/inetmgr/iis_object/auto_start_provider.rb +3 -1
  10. data/lib/inetmgr/iis_object/binding_information.rb +2 -0
  11. data/lib/inetmgr/iis_object/periodic_restart.rb +6 -3
  12. data/lib/inetmgr/iis_object/process_model.rb +21 -18
  13. data/lib/inetmgr/iis_object/recycling.rb +8 -5
  14. data/lib/inetmgr/iis_object/site.rb +3 -1
  15. data/lib/inetmgr/iis_object/site_limit.rb +10 -7
  16. data/lib/inetmgr/iis_object/site_logfile.rb +4 -1
  17. data/lib/inetmgr/iis_object/virtual_directory.rb +3 -1
  18. data/lib/inetmgr/iis_object_collection.rb +7 -4
  19. data/lib/inetmgr/site_configuration.rb +37 -34
  20. data/lib/string.rb +4 -4
  21. data/spec/application_pool_spec.rb +1 -1
  22. data/spec/bingin_information_spec.rb +21 -21
  23. data/spec/site_app_settings_spec.rb +3 -3
  24. data/spec/site_configuration_spec.rb +1 -1
  25. data/spec/site_connection_strings_spec.rb +1 -1
  26. data/spec/site_spec.rb +16 -4
  27. data/spec/site_validation_settings_spec.rb +1 -1
  28. data/spec/spec_env.rb +1 -5
  29. data/spec/string_spec.rb +16 -16
  30. data/test/print_iis_config.rb +0 -4
  31. metadata +53 -89
  32. data/doc/Application.html +0 -177
  33. data/doc/ApplicationPool.html +0 -177
  34. data/doc/AutoStartProvider.html +0 -177
  35. data/doc/BindingInformation.html +0 -349
  36. data/doc/Configuration.html +0 -283
  37. data/doc/IisConfiguration.html +0 -383
  38. data/doc/IisObject.html +0 -484
  39. data/doc/IisObjectCollection.html +0 -534
  40. data/doc/Inetmgr.html +0 -179
  41. data/doc/Inetmgr/InetmgrTask.html +0 -338
  42. data/doc/Object.html +0 -254
  43. data/doc/PeriodicRestart.html +0 -177
  44. data/doc/ProcessModel.html +0 -192
  45. data/doc/README_rdoc.html +0 -114
  46. data/doc/RSpecExtensions.html +0 -257
  47. data/doc/Recycling.html +0 -177
  48. data/doc/Site.html +0 -228
  49. data/doc/SiteConfiguration.html +0 -269
  50. data/doc/SiteLimit.html +0 -177
  51. data/doc/VirtualDirectory.html +0 -177
  52. data/doc/images/brick.png +0 -0
  53. data/doc/images/brick_link.png +0 -0
  54. data/doc/images/bug.png +0 -0
  55. data/doc/images/bullet_black.png +0 -0
  56. data/doc/images/bullet_toggle_minus.png +0 -0
  57. data/doc/images/bullet_toggle_plus.png +0 -0
  58. data/doc/images/date.png +0 -0
  59. data/doc/images/find.png +0 -0
  60. data/doc/images/loadingAnimation.gif +0 -0
  61. data/doc/images/macFFBgHack.png +0 -0
  62. data/doc/images/package.png +0 -0
  63. data/doc/images/page_green.png +0 -0
  64. data/doc/images/page_white_text.png +0 -0
  65. data/doc/images/page_white_width.png +0 -0
  66. data/doc/images/plugin.png +0 -0
  67. data/doc/images/ruby.png +0 -0
  68. data/doc/images/tag_green.png +0 -0
  69. data/doc/images/wrench.png +0 -0
  70. data/doc/images/wrench_orange.png +0 -0
  71. data/doc/images/zoom.png +0 -0
  72. data/doc/index.html +0 -166
  73. data/doc/js/darkfish.js +0 -116
  74. data/doc/js/jquery.js +0 -32
  75. data/doc/js/quicksearch.js +0 -114
  76. data/doc/js/thickbox-compressed.js +0 -10
  77. data/doc/rdoc.css +0 -706
@@ -1,534 +0,0 @@
1
- <?xml version="1.0" encoding="IBM437"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta content="text/html; charset=IBM437" http-equiv="Content-Type" />
7
-
8
- <title>Class: IisObjectCollection</title>
9
-
10
- <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
-
12
- <script src="./js/jquery.js" type="text/javascript"
13
- charset="utf-8"></script>
14
- <script src="./js/thickbox-compressed.js" type="text/javascript"
15
- charset="utf-8"></script>
16
- <script src="./js/quicksearch.js" type="text/javascript"
17
- charset="utf-8"></script>
18
- <script src="./js/darkfish.js" type="text/javascript"
19
- charset="utf-8"></script>
20
-
21
- </head>
22
- <body class="class">
23
-
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="./index.html">Home</a>
29
- <a href="./index.html#classes">Classes</a>
30
- <a href="./index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="file-metadata">
36
- <div id="file-list-section" class="section">
37
- <h3 class="section-header">In Files</h3>
38
- <div class="section-body">
39
- <ul>
40
-
41
- <li><a href="./lib/inetmgr/iis_object_collection_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
- class="thickbox" title="lib/inetmgr/iis_object_collection.rb">lib/inetmgr/iis_object_collection.rb</a></li>
43
-
44
- </ul>
45
- </div>
46
- </div>
47
-
48
-
49
- </div>
50
-
51
- <div id="class-metadata">
52
-
53
- <!-- Parent Class -->
54
-
55
- <div id="parent-class-section" class="section">
56
- <h3 class="section-header">Parent</h3>
57
-
58
- <p class="link"><a href="Object.html">Object</a></p>
59
-
60
- </div>
61
-
62
-
63
- <!-- Namespace Contents -->
64
-
65
-
66
- <!-- Method Quickref -->
67
-
68
- <div id="method-list-section" class="section">
69
- <h3 class="section-header">Methods</h3>
70
- <ul class="link-list">
71
-
72
- <li><a href="#method-c-new">::new</a></li>
73
-
74
- <li><a href="#method-i-5B-5D">#[]</a></li>
75
-
76
- <li><a href="#method-i-add">#add</a></li>
77
-
78
- <li><a href="#method-i-count">#count</a></li>
79
-
80
- <li><a href="#method-i-each">#each</a></li>
81
-
82
- <li><a href="#method-i-exists">#exists</a></li>
83
-
84
- <li><a href="#method-i-find">#find</a></li>
85
-
86
- <li><a href="#method-i-remove">#remove</a></li>
87
-
88
- <li><a href="#method-i-size">#size</a></li>
89
-
90
- </ul>
91
- </div>
92
-
93
-
94
- <!-- Included Modules -->
95
-
96
- </div>
97
-
98
- <div id="project-metadata">
99
-
100
-
101
- <div id="fileindex-section" class="section project-section">
102
- <h3 class="section-header">Files</h3>
103
- <ul>
104
-
105
- <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
106
-
107
- <li class="file"><a href="./RELEASE-NOTES_rdoc.html">RELEASE-NOTES.rdoc</a></li>
108
-
109
- <li class="file"><a href="./nbproject/private/rake-d_txt.html">rake-d.txt</a></li>
110
-
111
- </ul>
112
- </div>
113
-
114
-
115
- <div id="classindex-section" class="section project-section">
116
- <h3 class="section-header">Class/Module Index
117
- <span class="search-toggle"><img src="./images/find.png"
118
- height="16" width="16" alt="[+]"
119
- title="show/hide quicksearch" /></span></h3>
120
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
121
- <fieldset>
122
- <legend>Quicksearch</legend>
123
- <input type="text" name="quicksearch" value=""
124
- class="quicksearch-field" />
125
- </fieldset>
126
- </form>
127
-
128
- <ul class="link-list">
129
-
130
- <li><a href="./Inetmgr.html">Inetmgr</a></li>
131
-
132
- <li><a href="./Inetmgr/InetmgrTask.html">Inetmgr::InetmgrTask</a></li>
133
-
134
- <li><a href="./Application.html">Application</a></li>
135
-
136
- <li><a href="./ApplicationPool.html">ApplicationPool</a></li>
137
-
138
- <li><a href="./AutoStartProvider.html">AutoStartProvider</a></li>
139
-
140
- <li><a href="./BindingInformation.html">BindingInformation</a></li>
141
-
142
- <li><a href="./Configuration.html">Configuration</a></li>
143
-
144
- <li><a href="./IisConfiguration.html">IisConfiguration</a></li>
145
-
146
- <li><a href="./IisObject.html">IisObject</a></li>
147
-
148
- <li><a href="./IisObjectCollection.html">IisObjectCollection</a></li>
149
-
150
- <li><a href="./Object.html">Object</a></li>
151
-
152
- <li><a href="./PeriodicRestart.html">PeriodicRestart</a></li>
153
-
154
- <li><a href="./ProcessModel.html">ProcessModel</a></li>
155
-
156
- <li><a href="./RSpecExtensions.html">RSpecExtensions</a></li>
157
-
158
- <li><a href="./Recycling.html">Recycling</a></li>
159
-
160
- <li><a href="./Site.html">Site</a></li>
161
-
162
- <li><a href="./SiteConfiguration.html">SiteConfiguration</a></li>
163
-
164
- <li><a href="./SiteLimit.html">SiteLimit</a></li>
165
-
166
- <li><a href="./VirtualDirectory.html">VirtualDirectory</a></li>
167
-
168
- </ul>
169
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
170
- </div>
171
-
172
-
173
- </div>
174
- </div>
175
-
176
- <div id="documentation">
177
- <h1 class="class">IisObjectCollection</h1>
178
-
179
- <div id="description">
180
-
181
- <p>Represents a collection of IIS configuration objects.</p>
182
-
183
- </div>
184
-
185
- <!-- Constants -->
186
-
187
-
188
- <!-- Attributes -->
189
-
190
-
191
- <!-- Methods -->
192
-
193
- <div id="public-class-method-details" class="method-section section">
194
- <h3 class="section-header">Public Class Methods</h3>
195
-
196
-
197
- <div id="new-method" class="method-detail ">
198
- <a name="method-c-new"></a>
199
-
200
-
201
- <div class="method-heading">
202
- <span class="method-name">new</span><span
203
- class="method-args">(element, item_name, type, add_callback = nil)</span>
204
- <span class="method-click-advice">click to toggle source</span>
205
- </div>
206
-
207
-
208
- <div class="method-description">
209
-
210
-
211
-
212
-
213
-
214
- <div class="method-source-code"
215
- id="new-source">
216
- <pre>
217
- <span class="ruby-comment"># File lib/inetmgr/iis_object_collection.rb, line 4</span>
218
- def initialize element, item_name, type, add_callback = nil
219
- <span class="ruby-ivar">@collection_element</span> = element
220
- <span class="ruby-ivar">@item_name</span> = item_name
221
- <span class="ruby-ivar">@type</span> = type
222
- <span class="ruby-ivar">@add_callback</span> = add_callback
223
- end</pre>
224
- </div>
225
-
226
- </div>
227
-
228
-
229
-
230
-
231
- </div>
232
-
233
-
234
- </div>
235
-
236
- <div id="public-instance-method-details" class="method-section section">
237
- <h3 class="section-header">Public Instance Methods</h3>
238
-
239
-
240
- <div id="5B-5D-method" class="method-detail ">
241
- <a name="method-i-5B-5D"></a>
242
-
243
-
244
- <div class="method-heading">
245
- <span class="method-name">[]</span><span
246
- class="method-args">(index)</span>
247
- <span class="method-click-advice">click to toggle source</span>
248
- </div>
249
-
250
-
251
- <div class="method-description">
252
-
253
-
254
-
255
-
256
-
257
- <div class="method-source-code"
258
- id="5B-5D-source">
259
- <pre>
260
- <span class="ruby-comment"># File lib/inetmgr/iis_object_collection.rb, line 19</span>
261
- def [](index)
262
- return <span class="ruby-ivar">@type</span>.new <span class="ruby-ivar">@collection_element</span>.<span class="ruby-constant">Item</span> index
263
- end</pre>
264
- </div>
265
-
266
- </div>
267
-
268
-
269
-
270
-
271
- </div>
272
-
273
-
274
- <div id="add-method" class="method-detail ">
275
- <a name="method-i-add"></a>
276
-
277
-
278
- <div class="method-heading">
279
- <span class="method-name">add</span><span
280
- class="method-args">()</span>
281
- <span class="method-click-advice">click to toggle source</span>
282
- </div>
283
-
284
-
285
- <div class="method-description">
286
-
287
-
288
-
289
-
290
-
291
- <div class="method-source-code"
292
- id="add-source">
293
- <pre>
294
- <span class="ruby-comment"># File lib/inetmgr/iis_object_collection.rb, line 27</span>
295
- def add
296
- e = <span class="ruby-ivar">@collection_element</span>.<span class="ruby-constant">CreateNewElement</span> <span class="ruby-ivar">@item_name</span>.to_s
297
- added = <span class="ruby-ivar">@type</span>.new e
298
- <span class="ruby-ivar">@add_callback</span>.call added unless <span class="ruby-ivar">@add_callback</span>.nil?
299
- yield added
300
- <span class="ruby-ivar">@collection_element</span>.<span class="ruby-constant">AddElement</span> e
301
- added
302
- end</pre>
303
- </div>
304
-
305
- </div>
306
-
307
-
308
-
309
-
310
- </div>
311
-
312
-
313
- <div id="count-method" class="method-detail ">
314
- <a name="method-i-count"></a>
315
-
316
-
317
- <div class="method-heading">
318
- <span class="method-name">count</span><span
319
- class="method-args">()</span>
320
- <span class="method-click-advice">click to toggle source</span>
321
- </div>
322
-
323
-
324
- <div class="method-description">
325
-
326
-
327
-
328
-
329
-
330
- <div class="method-source-code"
331
- id="count-source">
332
- <pre>
333
- <span class="ruby-comment"># File lib/inetmgr/iis_object_collection.rb, line 15</span>
334
- def count
335
- size
336
- end</pre>
337
- </div>
338
-
339
- </div>
340
-
341
-
342
-
343
-
344
- </div>
345
-
346
-
347
- <div id="each-method" class="method-detail ">
348
- <a name="method-i-each"></a>
349
-
350
-
351
- <div class="method-heading">
352
- <span class="method-name">each</span><span
353
- class="method-args">()</span>
354
- <span class="method-click-advice">click to toggle source</span>
355
- </div>
356
-
357
-
358
- <div class="method-description">
359
-
360
-
361
-
362
-
363
-
364
- <div class="method-source-code"
365
- id="each-source">
366
- <pre>
367
- <span class="ruby-comment"># File lib/inetmgr/iis_object_collection.rb, line 23</span>
368
- def each
369
- size.times { |i| yield self[i] }
370
- end</pre>
371
- </div>
372
-
373
- </div>
374
-
375
-
376
-
377
-
378
- </div>
379
-
380
-
381
- <div id="exists-method" class="method-detail ">
382
- <a name="method-i-exists"></a>
383
-
384
-
385
- <div class="method-heading">
386
- <span class="method-name">exists</span><span
387
- class="method-args">(name)</span>
388
- <span class="method-click-advice">click to toggle source</span>
389
- </div>
390
-
391
-
392
- <div class="method-description">
393
-
394
-
395
-
396
-
397
-
398
- <div class="method-source-code"
399
- id="exists-source">
400
- <pre>
401
- <span class="ruby-comment"># File lib/inetmgr/iis_object_collection.rb, line 44</span>
402
- def exists(name)
403
- !(find {|s| s.name == name}).nil?
404
- end</pre>
405
- </div>
406
-
407
- </div>
408
-
409
-
410
-
411
-
412
- </div>
413
-
414
-
415
- <div id="find-method" class="method-detail ">
416
- <a name="method-i-find"></a>
417
-
418
-
419
- <div class="method-heading">
420
- <span class="method-name">find</span><span
421
- class="method-args">()</span>
422
- <span class="method-click-advice">click to toggle source</span>
423
- </div>
424
-
425
-
426
- <div class="method-description">
427
-
428
-
429
-
430
-
431
-
432
- <div class="method-source-code"
433
- id="find-source">
434
- <pre>
435
- <span class="ruby-comment"># File lib/inetmgr/iis_object_collection.rb, line 36</span>
436
- def find
437
- size.times do |i|
438
- instance = self[i]
439
- return instance if yield(instance)
440
- end
441
- nil
442
- end</pre>
443
- </div>
444
-
445
- </div>
446
-
447
-
448
-
449
-
450
- </div>
451
-
452
-
453
- <div id="remove-method" class="method-detail ">
454
- <a name="method-i-remove"></a>
455
-
456
-
457
- <div class="method-heading">
458
- <span class="method-name">remove</span><span
459
- class="method-args">(index)</span>
460
- <span class="method-click-advice">click to toggle source</span>
461
- </div>
462
-
463
-
464
- <div class="method-description">
465
-
466
-
467
-
468
-
469
-
470
- <div class="method-source-code"
471
- id="remove-source">
472
- <pre>
473
- <span class="ruby-comment"># File lib/inetmgr/iis_object_collection.rb, line 48</span>
474
- def remove(index)
475
- <span class="ruby-ivar">@collection_element</span>.<span class="ruby-constant">DeleteElement</span> index
476
- end</pre>
477
- </div>
478
-
479
- </div>
480
-
481
-
482
-
483
-
484
- </div>
485
-
486
-
487
- <div id="size-method" class="method-detail ">
488
- <a name="method-i-size"></a>
489
-
490
-
491
- <div class="method-heading">
492
- <span class="method-name">size</span><span
493
- class="method-args">()</span>
494
- <span class="method-click-advice">click to toggle source</span>
495
- </div>
496
-
497
-
498
- <div class="method-description">
499
-
500
-
501
-
502
-
503
-
504
- <div class="method-source-code"
505
- id="size-source">
506
- <pre>
507
- <span class="ruby-comment"># File lib/inetmgr/iis_object_collection.rb, line 11</span>
508
- def size
509
- <span class="ruby-ivar">@collection_element</span>.<span class="ruby-constant">Count</span>
510
- end</pre>
511
- </div>
512
-
513
- </div>
514
-
515
-
516
-
517
-
518
- </div>
519
-
520
-
521
- </div>
522
-
523
-
524
- </div>
525
-
526
- <div id="validator-badges">
527
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
528
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
529
- Rdoc Generator</a> 2</small>.</p>
530
- </div>
531
-
532
- </body>
533
- </html>
534
-