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,228 +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: Site</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/site_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
- class="thickbox" title="lib/inetmgr/iis_object/site.rb">lib/inetmgr/iis_object/site.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="IisObject.html">IisObject</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-i-configure">#configure</a></li>
73
-
74
- </ul>
75
- </div>
76
-
77
-
78
- <!-- Included Modules -->
79
-
80
- </div>
81
-
82
- <div id="project-metadata">
83
-
84
-
85
- <div id="fileindex-section" class="section project-section">
86
- <h3 class="section-header">Files</h3>
87
- <ul>
88
-
89
- <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
90
-
91
- <li class="file"><a href="./RELEASE-NOTES_rdoc.html">RELEASE-NOTES.rdoc</a></li>
92
-
93
- <li class="file"><a href="./nbproject/private/rake-d_txt.html">rake-d.txt</a></li>
94
-
95
- </ul>
96
- </div>
97
-
98
-
99
- <div id="classindex-section" class="section project-section">
100
- <h3 class="section-header">Class/Module Index
101
- <span class="search-toggle"><img src="./images/find.png"
102
- height="16" width="16" alt="[+]"
103
- title="show/hide quicksearch" /></span></h3>
104
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
105
- <fieldset>
106
- <legend>Quicksearch</legend>
107
- <input type="text" name="quicksearch" value=""
108
- class="quicksearch-field" />
109
- </fieldset>
110
- </form>
111
-
112
- <ul class="link-list">
113
-
114
- <li><a href="./Inetmgr.html">Inetmgr</a></li>
115
-
116
- <li><a href="./Inetmgr/InetmgrTask.html">Inetmgr::InetmgrTask</a></li>
117
-
118
- <li><a href="./Application.html">Application</a></li>
119
-
120
- <li><a href="./ApplicationPool.html">ApplicationPool</a></li>
121
-
122
- <li><a href="./AutoStartProvider.html">AutoStartProvider</a></li>
123
-
124
- <li><a href="./BindingInformation.html">BindingInformation</a></li>
125
-
126
- <li><a href="./Configuration.html">Configuration</a></li>
127
-
128
- <li><a href="./IisConfiguration.html">IisConfiguration</a></li>
129
-
130
- <li><a href="./IisObject.html">IisObject</a></li>
131
-
132
- <li><a href="./IisObjectCollection.html">IisObjectCollection</a></li>
133
-
134
- <li><a href="./Object.html">Object</a></li>
135
-
136
- <li><a href="./PeriodicRestart.html">PeriodicRestart</a></li>
137
-
138
- <li><a href="./ProcessModel.html">ProcessModel</a></li>
139
-
140
- <li><a href="./RSpecExtensions.html">RSpecExtensions</a></li>
141
-
142
- <li><a href="./Recycling.html">Recycling</a></li>
143
-
144
- <li><a href="./Site.html">Site</a></li>
145
-
146
- <li><a href="./SiteConfiguration.html">SiteConfiguration</a></li>
147
-
148
- <li><a href="./SiteLimit.html">SiteLimit</a></li>
149
-
150
- <li><a href="./VirtualDirectory.html">VirtualDirectory</a></li>
151
-
152
- </ul>
153
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
154
- </div>
155
-
156
-
157
- </div>
158
- </div>
159
-
160
- <div id="documentation">
161
- <h1 class="class">Site</h1>
162
-
163
- <div id="description">
164
-
165
- </div>
166
-
167
- <!-- Constants -->
168
-
169
-
170
- <!-- Attributes -->
171
-
172
-
173
- <!-- Methods -->
174
-
175
- <div id="public-instance-method-details" class="method-section section">
176
- <h3 class="section-header">Public Instance Methods</h3>
177
-
178
-
179
- <div id="configure-method" class="method-detail ">
180
- <a name="method-i-configure"></a>
181
-
182
-
183
- <div class="method-heading">
184
- <span class="method-name">configure</span><span
185
- class="method-args">()</span>
186
- <span class="method-click-advice">click to toggle source</span>
187
- </div>
188
-
189
-
190
- <div class="method-description">
191
-
192
-
193
-
194
-
195
-
196
- <div class="method-source-code"
197
- id="configure-source">
198
- <pre>
199
- <span class="ruby-comment"># File lib/inetmgr/iis_object/site.rb, line 23</span>
200
- def configure
201
- cfg = <span class="ruby-constant">SiteConfiguration</span>.new name
202
- yield cfg
203
- cfg.apply_changes
204
- end</pre>
205
- </div>
206
-
207
- </div>
208
-
209
-
210
-
211
-
212
- </div>
213
-
214
-
215
- </div>
216
-
217
-
218
- </div>
219
-
220
- <div id="validator-badges">
221
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
222
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
223
- Rdoc Generator</a> 2</small>.</p>
224
- </div>
225
-
226
- </body>
227
- </html>
228
-
@@ -1,269 +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: SiteConfiguration</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/site_configuration_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
- class="thickbox" title="lib/inetmgr/site_configuration.rb">lib/inetmgr/site_configuration.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="Configuration.html">Configuration</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-get_app_settings">#get_app_settings</a></li>
75
-
76
- </ul>
77
- </div>
78
-
79
-
80
- <!-- Included Modules -->
81
-
82
- </div>
83
-
84
- <div id="project-metadata">
85
-
86
-
87
- <div id="fileindex-section" class="section project-section">
88
- <h3 class="section-header">Files</h3>
89
- <ul>
90
-
91
- <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
92
-
93
- <li class="file"><a href="./RELEASE-NOTES_rdoc.html">RELEASE-NOTES.rdoc</a></li>
94
-
95
- <li class="file"><a href="./nbproject/private/rake-d_txt.html">rake-d.txt</a></li>
96
-
97
- </ul>
98
- </div>
99
-
100
-
101
- <div id="classindex-section" class="section project-section">
102
- <h3 class="section-header">Class/Module Index
103
- <span class="search-toggle"><img src="./images/find.png"
104
- height="16" width="16" alt="[+]"
105
- title="show/hide quicksearch" /></span></h3>
106
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
107
- <fieldset>
108
- <legend>Quicksearch</legend>
109
- <input type="text" name="quicksearch" value=""
110
- class="quicksearch-field" />
111
- </fieldset>
112
- </form>
113
-
114
- <ul class="link-list">
115
-
116
- <li><a href="./Inetmgr.html">Inetmgr</a></li>
117
-
118
- <li><a href="./Inetmgr/InetmgrTask.html">Inetmgr::InetmgrTask</a></li>
119
-
120
- <li><a href="./Application.html">Application</a></li>
121
-
122
- <li><a href="./ApplicationPool.html">ApplicationPool</a></li>
123
-
124
- <li><a href="./AutoStartProvider.html">AutoStartProvider</a></li>
125
-
126
- <li><a href="./BindingInformation.html">BindingInformation</a></li>
127
-
128
- <li><a href="./Configuration.html">Configuration</a></li>
129
-
130
- <li><a href="./IisConfiguration.html">IisConfiguration</a></li>
131
-
132
- <li><a href="./IisObject.html">IisObject</a></li>
133
-
134
- <li><a href="./IisObjectCollection.html">IisObjectCollection</a></li>
135
-
136
- <li><a href="./Object.html">Object</a></li>
137
-
138
- <li><a href="./PeriodicRestart.html">PeriodicRestart</a></li>
139
-
140
- <li><a href="./ProcessModel.html">ProcessModel</a></li>
141
-
142
- <li><a href="./RSpecExtensions.html">RSpecExtensions</a></li>
143
-
144
- <li><a href="./Recycling.html">Recycling</a></li>
145
-
146
- <li><a href="./Site.html">Site</a></li>
147
-
148
- <li><a href="./SiteConfiguration.html">SiteConfiguration</a></li>
149
-
150
- <li><a href="./SiteLimit.html">SiteLimit</a></li>
151
-
152
- <li><a href="./VirtualDirectory.html">VirtualDirectory</a></li>
153
-
154
- </ul>
155
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
156
- </div>
157
-
158
-
159
- </div>
160
- </div>
161
-
162
- <div id="documentation">
163
- <h1 class="class">SiteConfiguration</h1>
164
-
165
- <div id="description">
166
-
167
- </div>
168
-
169
- <!-- Constants -->
170
-
171
-
172
- <!-- Attributes -->
173
-
174
-
175
- <!-- Methods -->
176
-
177
- <div id="public-class-method-details" class="method-section section">
178
- <h3 class="section-header">Public Class Methods</h3>
179
-
180
-
181
- <div id="new-method" class="method-detail ">
182
- <a name="method-c-new"></a>
183
-
184
-
185
- <div class="method-heading">
186
- <span class="method-name">new</span><span
187
- class="method-args">(name)</span>
188
- <span class="method-click-advice">click to toggle source</span>
189
- </div>
190
-
191
-
192
- <div class="method-description">
193
-
194
-
195
-
196
-
197
-
198
- <div class="method-source-code"
199
- id="new-source">
200
- <pre>
201
- <span class="ruby-comment"># File lib/inetmgr/site_configuration.rb, line 4</span>
202
- def initialize(name)
203
- super &quot;MACHINE/WEBROOT/APPHOST/#{name}&quot;
204
- end</pre>
205
- </div>
206
-
207
- </div>
208
-
209
-
210
-
211
-
212
- </div>
213
-
214
-
215
- </div>
216
-
217
- <div id="public-instance-method-details" class="method-section section">
218
- <h3 class="section-header">Public Instance Methods</h3>
219
-
220
-
221
- <div id="get_app_settings-method" class="method-detail ">
222
- <a name="method-i-get_app_settings"></a>
223
-
224
-
225
- <div class="method-heading">
226
- <span class="method-name">get_app_settings</span><span
227
- class="method-args">()</span>
228
- <span class="method-click-advice">click to toggle source</span>
229
- </div>
230
-
231
-
232
- <div class="method-description">
233
-
234
-
235
-
236
-
237
-
238
- <div class="method-source-code"
239
- id="get_app_settings-source">
240
- <pre>
241
- <span class="ruby-comment"># File lib/inetmgr/site_configuration.rb, line 8</span>
242
- def get_app_settings
243
- s = get_config_section <span class="ruby-string">&quot;appSettings&quot;</span>
244
- <span class="ruby-constant">IisObjectCollection</span>.new s.<span class="ruby-constant">Collection</span>, :add, <span class="ruby-constant">IisObject</span>
245
- end</pre>
246
- </div>
247
-
248
- </div>
249
-
250
-
251
-
252
-
253
- </div>
254
-
255
-
256
- </div>
257
-
258
-
259
- </div>
260
-
261
- <div id="validator-badges">
262
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
263
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
264
- Rdoc Generator</a> 2</small>.</p>
265
- </div>
266
-
267
- </body>
268
- </html>
269
-