inetmgr 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/README.rdoc +159 -0
  2. data/RELEASE-NOTES.rdoc +35 -0
  3. data/doc/Application.html +177 -0
  4. data/doc/ApplicationPool.html +177 -0
  5. data/doc/AutoStartProvider.html +177 -0
  6. data/doc/BindingInformation.html +349 -0
  7. data/doc/Configuration.html +283 -0
  8. data/doc/IisConfiguration.html +383 -0
  9. data/doc/IisObject.html +484 -0
  10. data/doc/IisObjectCollection.html +534 -0
  11. data/doc/Inetmgr.html +179 -0
  12. data/doc/Inetmgr/InetmgrTask.html +338 -0
  13. data/doc/Object.html +254 -0
  14. data/doc/PeriodicRestart.html +177 -0
  15. data/doc/ProcessModel.html +192 -0
  16. data/doc/README_rdoc.html +114 -0
  17. data/doc/RSpecExtensions.html +257 -0
  18. data/doc/Recycling.html +177 -0
  19. data/doc/Site.html +228 -0
  20. data/doc/SiteConfiguration.html +269 -0
  21. data/doc/SiteLimit.html +177 -0
  22. data/doc/VirtualDirectory.html +177 -0
  23. data/doc/images/brick.png +0 -0
  24. data/doc/images/brick_link.png +0 -0
  25. data/doc/images/bug.png +0 -0
  26. data/doc/images/bullet_black.png +0 -0
  27. data/doc/images/bullet_toggle_minus.png +0 -0
  28. data/doc/images/bullet_toggle_plus.png +0 -0
  29. data/doc/images/date.png +0 -0
  30. data/doc/images/find.png +0 -0
  31. data/doc/images/loadingAnimation.gif +0 -0
  32. data/doc/images/macFFBgHack.png +0 -0
  33. data/doc/images/package.png +0 -0
  34. data/doc/images/page_green.png +0 -0
  35. data/doc/images/page_white_text.png +0 -0
  36. data/doc/images/page_white_width.png +0 -0
  37. data/doc/images/plugin.png +0 -0
  38. data/doc/images/ruby.png +0 -0
  39. data/doc/images/tag_green.png +0 -0
  40. data/doc/images/wrench.png +0 -0
  41. data/doc/images/wrench_orange.png +0 -0
  42. data/doc/images/zoom.png +0 -0
  43. data/doc/index.html +166 -0
  44. data/doc/js/darkfish.js +116 -0
  45. data/doc/js/jquery.js +32 -0
  46. data/doc/js/quicksearch.js +114 -0
  47. data/doc/js/thickbox-compressed.js +10 -0
  48. data/doc/rdoc.css +706 -0
  49. data/inetmgr.gemspec +21 -0
  50. data/lib/inetmgr.rb +30 -0
  51. data/lib/inetmgr/configuration.rb +23 -0
  52. data/lib/inetmgr/iis_configuration.rb +36 -0
  53. data/lib/inetmgr/iis_object.rb +85 -0
  54. data/lib/inetmgr/iis_object/application.rb +11 -0
  55. data/lib/inetmgr/iis_object/application_pool.rb +19 -0
  56. data/lib/inetmgr/iis_object/auto_start_provider.rb +3 -0
  57. data/lib/inetmgr/iis_object/binding_information.rb +26 -0
  58. data/lib/inetmgr/iis_object/periodic_restart.rb +3 -0
  59. data/lib/inetmgr/iis_object/process_model.rb +18 -0
  60. data/lib/inetmgr/iis_object/recycling.rb +5 -0
  61. data/lib/inetmgr/iis_object/site.rb +24 -0
  62. data/lib/inetmgr/iis_object/site_limit.rb +7 -0
  63. data/lib/inetmgr/iis_object/virtual_directory.rb +5 -0
  64. data/lib/inetmgr/iis_object_collection.rb +51 -0
  65. data/lib/inetmgr/site_configuration.rb +34 -0
  66. data/lib/rake/inetmgrtask.rb +74 -0
  67. data/lib/string.rb +5 -0
  68. data/nbproject/private/config.properties +0 -0
  69. data/nbproject/private/private.properties +4 -0
  70. data/nbproject/private/private.xml +4 -0
  71. data/nbproject/private/rake-d.txt +2 -0
  72. data/nbproject/project.properties +10 -0
  73. data/nbproject/project.xml +16 -0
  74. data/spec/application_pool_spec.rb +120 -0
  75. data/spec/application_spec.rb +38 -0
  76. data/spec/auto_start_provider_spec.rb +25 -0
  77. data/spec/bingin_information_spec.rb +21 -0
  78. data/spec/iis_configuration_spec.rb +35 -0
  79. data/spec/site_app_settings_spec.rb +61 -0
  80. data/spec/site_configuration_spec.rb +24 -0
  81. data/spec/site_connection_strings_spec.rb +17 -0
  82. data/spec/site_spec.rb +34 -0
  83. data/spec/site_validation_settings_spec.rb +18 -0
  84. data/spec/spec_env.rb +22 -0
  85. data/spec/string_spec.rb +16 -0
  86. data/spec/virtual_directory_spec.rb +1 -0
  87. data/test/create_site.rb +26 -0
  88. data/test/print_iis_config.rb +56 -0
  89. data/test/rakefile.rb +27 -0
  90. metadata +156 -0
@@ -0,0 +1,228 @@
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
+
@@ -0,0 +1,269 @@
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
+