mattock 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. data/doc/FileSandbox.html +537 -0
  2. data/doc/FileSandbox/HaveContents.html +279 -0
  3. data/doc/FileSandbox/Sandbox.html +525 -0
  4. data/doc/FileSandbox/SandboxFile.html +622 -0
  5. data/doc/Mattock.html +137 -0
  6. data/doc/Mattock/CascadingDefinition.html +459 -0
  7. data/doc/Mattock/CommandChain.html +456 -0
  8. data/doc/Mattock/CommandLine.html +1312 -0
  9. data/doc/Mattock/CommandLineExampleGroup.html +282 -0
  10. data/doc/Mattock/CommandLineExampleGroup/Matchers.html +109 -0
  11. data/doc/Mattock/CommandRunResult.html +643 -0
  12. data/doc/Mattock/CommandTask.html +464 -0
  13. data/doc/Mattock/Configurable.html +609 -0
  14. data/doc/Mattock/Configurable/ClassMethods.html +754 -0
  15. data/doc/Mattock/Configurable/Struct.html +148 -0
  16. data/doc/Mattock/FileCreationTask.html +177 -0
  17. data/doc/Mattock/FileTask.html +177 -0
  18. data/doc/Mattock/MockCommandResult.html +445 -0
  19. data/doc/Mattock/MultiTask.html +177 -0
  20. data/doc/Mattock/PipelineChain.html +221 -0
  21. data/doc/Mattock/PrereqChain.html +221 -0
  22. data/doc/Mattock/RakeExampleGroup.html +292 -0
  23. data/doc/Mattock/RakeExampleGroup/Matchers.html +109 -0
  24. data/doc/Mattock/RakeExampleGroup/TaskManager.html +131 -0
  25. data/doc/Mattock/RemoteCommandTask.html +423 -0
  26. data/doc/Mattock/ShellEscaped.html +315 -0
  27. data/doc/Mattock/Task.html +181 -0
  28. data/doc/Mattock/TaskLib.html +755 -0
  29. data/doc/Mattock/TaskMixin.html +668 -0
  30. data/doc/Mattock/TaskMixin/ClassMethods.html +166 -0
  31. data/doc/Mattock/TemplateHost.html +320 -0
  32. data/doc/Mattock/ValiseManager.html +257 -0
  33. data/doc/Mattock/WrappingChain.html +221 -0
  34. data/doc/Mattock/YARDExtensions.html +110 -0
  35. data/doc/Mattock/YARDExtensions/DefineHandler.html +253 -0
  36. data/doc/Mattock/YARDExtensions/NilFieldsHandler.html +258 -0
  37. data/doc/Mattock/YARDExtensions/RequiredFieldsHandler.html +205 -0
  38. data/doc/Mattock/YARDExtensions/SettingHandler.html +529 -0
  39. data/doc/Mattock/YARDExtensions/SettingsHandler.html +207 -0
  40. data/doc/RSpecTest.html +233 -0
  41. data/doc/Ungemmer.html +282 -0
  42. data/doc/_index.html +435 -0
  43. data/doc/class_list.html +47 -0
  44. data/doc/css/common.css +1 -0
  45. data/doc/css/full_list.css +55 -0
  46. data/doc/css/style.css +322 -0
  47. data/doc/file.README.html +107 -0
  48. data/doc/file_list.html +49 -0
  49. data/doc/frames.html +13 -0
  50. data/doc/index.html +107 -0
  51. data/doc/js/app.js +205 -0
  52. data/doc/js/full_list.js +173 -0
  53. data/doc/js/jquery.js +16 -0
  54. data/doc/method_list.html +950 -0
  55. data/doc/top-level-namespace.html +107 -0
  56. data/lib/mattock/task.rb +12 -0
  57. data/lib/mattock/yard_extensions.rb +36 -0
  58. data/yard_templates/default/module/setup.rb +1 -0
  59. metadata +114 -4
@@ -0,0 +1,207 @@
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: Mattock::YARDExtensions::SettingsHandler
8
+
9
+ &mdash; Documentation by YARD 0.7.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '../..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../../_index.html">Index (S)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../../Mattock.html" title="Mattock (module)">Mattock</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../YARDExtensions.html" title="Mattock::YARDExtensions (module)">YARDExtensions</a></span></span>
38
+ &raquo;
39
+ <span class="title">SettingsHandler</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: Mattock::YARDExtensions::SettingsHandler
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName"><span class='object_link'><a href="SettingHandler.html" title="Mattock::YARDExtensions::SettingHandler (class)">SettingHandler</a></span></span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">YARD::Handlers::Ruby::Base</li>
75
+
76
+ <li class="next"><span class='object_link'><a href="SettingHandler.html" title="Mattock::YARDExtensions::SettingHandler (class)">SettingHandler</a></span></li>
77
+
78
+ <li class="next">Mattock::YARDExtensions::SettingsHandler</li>
79
+
80
+ </ul>
81
+ <a href="#" class="inheritanceTree">show all</a>
82
+
83
+ </dd>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ <dt class="r2 last">Defined in:</dt>
94
+ <dd class="r2 last">lib/mattock/yard_extensions.rb</dd>
95
+
96
+ </dl>
97
+ <div class="clear"></div>
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ <h2>
110
+ Instance Method Summary
111
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
112
+ </h2>
113
+
114
+ <ul class="summary">
115
+
116
+ <li class="public ">
117
+ <span class="summary_signature">
118
+
119
+ <a href="#process-instance_method" title="#process (instance method)">- (Object) <strong>process</strong> </a>
120
+
121
+
122
+
123
+ </span>
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+ <span class="summary_desc"><div class='inline'></div></span>
133
+
134
+ </li>
135
+
136
+
137
+ </ul>
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="SettingHandler.html" title="Mattock::YARDExtensions::SettingHandler (class)">SettingHandler</a></span></h3>
149
+ <p class="inherited"><span class='object_link'><a href="SettingHandler.html#append_name-instance_method" title="Mattock::YARDExtensions::SettingHandler#append_name (method)">#append_name</a></span>, <span class='object_link'><a href="SettingHandler.html#extract_name-instance_method" title="Mattock::YARDExtensions::SettingHandler#extract_name (method)">#extract_name</a></span>, <span class='object_link'><a href="SettingHandler.html#mattock_configurable%3F-instance_method" title="Mattock::YARDExtensions::SettingHandler#mattock_configurable? (method)">#mattock_configurable?</a></span>, <span class='object_link'><a href="SettingHandler.html#synthetic_setting-instance_method" title="Mattock::YARDExtensions::SettingHandler#synthetic_setting (method)">#synthetic_setting</a></span></p>
150
+
151
+
152
+
153
+
154
+ <div id="instance_method_details" class="method_details_list">
155
+ <h2>Instance Method Details</h2>
156
+
157
+
158
+ <div class="method_details first">
159
+ <p class="signature first" id="process-instance_method">
160
+
161
+ - (<tt>Object</tt>) <strong>process</strong>
162
+
163
+
164
+
165
+ </p><table class="source_code">
166
+ <tr>
167
+ <td>
168
+ <pre class="lines">
169
+
170
+
171
+ 116
172
+ 117
173
+ 118
174
+ 119
175
+ 120
176
+ 121
177
+ 122
178
+ 123</pre>
179
+ </td>
180
+ <td>
181
+ <pre class="code"><span class="info file"># File 'lib/mattock/yard_extensions.rb', line 116</span>
182
+
183
+ <span class='kw'>def</span> <span class='id identifier rubyid_process'>process</span>
184
+ <span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_mattock_configurable?'>mattock_configurable?</span><span class='lparen'>(</span><span class='id identifier rubyid_namespace'>namespace</span><span class='rparen'>)</span>
185
+
186
+ <span class='id identifier rubyid_remapped'>remapped</span> <span class='op'>=</span> <span class='id identifier rubyid_statement'>statement</span><span class='period'>.</span><span class='id identifier rubyid_parameters'>parameters</span><span class='lparen'>(</span><span class='kw'>false</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_assoc'>assoc</span><span class='op'>|</span>
187
+ <span class='id identifier rubyid_synthetic_setting'>synthetic_setting</span><span class='lparen'>(</span><span class='id identifier rubyid_extract_name'>extract_name</span><span class='lparen'>(</span><span class='id identifier rubyid_assoc'>assoc</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_assoc'>assoc</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span>
188
+ <span class='kw'>end</span>
189
+ <span class='id identifier rubyid_parser'>parser</span><span class='period'>.</span><span class='id identifier rubyid_process'>process</span><span class='lparen'>(</span><span class='id identifier rubyid_remapped'>remapped</span><span class='rparen'>)</span>
190
+ <span class='kw'>end</span></pre>
191
+ </td>
192
+ </tr>
193
+ </table>
194
+ </div>
195
+
196
+ </div>
197
+
198
+ </div>
199
+
200
+ <div id="footer">
201
+ Generated on Tue Mar 6 02:47:30 2012 by
202
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
203
+ 0.7.5 (ruby-1.9.2).
204
+ </div>
205
+
206
+ </body>
207
+ </html>
@@ -0,0 +1,233 @@
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: RSpecTest
8
+
9
+ &mdash; Documentation by YARD 0.7.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="_index.html">Index (R)</a> &raquo;
37
+
38
+
39
+ <span class="title">RSpecTest</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: RSpecTest
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">Test::Unit::TestCase</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">Test::Unit::TestCase</li>
75
+
76
+ <li class="next">RSpecTest</li>
77
+
78
+ </ul>
79
+ <a href="#" class="inheritanceTree">show all</a>
80
+
81
+ </dd>
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+ <dt class="r2 last">Defined in:</dt>
92
+ <dd class="r2 last">spec_help/gem_test_suite.rb<span class="defines">,<br />
93
+ pkg/mattock-0.1.0/spec_help/gem_test_suite.rb,<br /> pkg/mattock-0.1.3/spec_help/gem_test_suite.rb,<br /> pkg/mattock-0.2.2/spec_help/gem_test_suite.rb,<br /> pkg/mattock-0.1.1/spec_help/gem_test_suite.rb,<br /> pkg/mattock-0.1.2/spec_help/gem_test_suite.rb,<br /> pkg/mattock-0.2.1/spec_help/gem_test_suite.rb,<br /> pkg/mattock-0.2.0/spec_help/gem_test_suite.rb,<br /> pkg/mattock-0.0.1/spec_help/gem_test_suite.rb</span>
94
+ </dd>
95
+
96
+ </dl>
97
+ <div class="clear"></div>
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ <h2>
108
+ Instance Method Summary
109
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
110
+ </h2>
111
+
112
+ <ul class="summary">
113
+
114
+ <li class="public ">
115
+ <span class="summary_signature">
116
+
117
+ <a href="#test_that_rspec_is_available-instance_method" title="#test_that_rspec_is_available (instance method)">- (Object) <strong>test_that_rspec_is_available</strong> </a>
118
+
119
+
120
+
121
+ </span>
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+ <span class="summary_desc"><div class='inline'></div></span>
131
+
132
+ </li>
133
+
134
+
135
+ <li class="public ">
136
+ <span class="summary_signature">
137
+
138
+ <a href="#test_that_specs_pass-instance_method" title="#test_that_specs_pass (instance method)">- (Object) <strong>test_that_specs_pass</strong> </a>
139
+
140
+
141
+
142
+ </span>
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+ <span class="summary_desc"><div class='inline'></div></span>
152
+
153
+ </li>
154
+
155
+
156
+ </ul>
157
+
158
+
159
+
160
+
161
+
162
+ <div id="instance_method_details" class="method_details_list">
163
+ <h2>Instance Method Details</h2>
164
+
165
+
166
+ <div class="method_details first">
167
+ <p class="signature first" id="test_that_rspec_is_available-instance_method">
168
+
169
+ - (<tt>Object</tt>) <strong>test_that_rspec_is_available</strong>
170
+
171
+
172
+
173
+ </p><table class="source_code">
174
+ <tr>
175
+ <td>
176
+ <pre class="lines">
177
+
178
+
179
+ 10
180
+ 11
181
+ 12</pre>
182
+ </td>
183
+ <td>
184
+ <pre class="code"><span class="info file"># File 'spec_help/gem_test_suite.rb', line 10</span>
185
+
186
+ <span class='kw'>def</span> <span class='id identifier rubyid_test_that_rspec_is_available'>test_that_rspec_is_available</span>
187
+ <span class='id identifier rubyid_assert_nothing_raised'>assert_nothing_raised</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n\n * RSpec isn't available - please run: gem install rspec *\n\n</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='lbrace'>{</span> <span class='op'>::</span><span class='const'>Spec</span> <span class='rbrace'>}</span>
188
+ <span class='kw'>end</span></pre>
189
+ </td>
190
+ </tr>
191
+ </table>
192
+ </div>
193
+
194
+ <div class="method_details ">
195
+ <p class="signature " id="test_that_specs_pass-instance_method">
196
+
197
+ - (<tt>Object</tt>) <strong>test_that_specs_pass</strong>
198
+
199
+
200
+
201
+ </p><table class="source_code">
202
+ <tr>
203
+ <td>
204
+ <pre class="lines">
205
+
206
+
207
+ 14
208
+ 15
209
+ 16</pre>
210
+ </td>
211
+ <td>
212
+ <pre class="code"><span class="info file"># File 'spec_help/gem_test_suite.rb', line 14</span>
213
+
214
+ <span class='kw'>def</span> <span class='id identifier rubyid_test_that_specs_pass'>test_that_specs_pass</span>
215
+ <span class='id identifier rubyid_assert'>assert</span><span class='lparen'>(</span><span class='id identifier rubyid_system'>system</span><span class='lparen'>(</span><span class='op'>*</span><span class='qwords_beg'>%w{</span><span class='tstring_content'>spec</span><span class='words_sep'> </span><span class='tstring_content'>-f</span><span class='words_sep'> </span><span class='tstring_content'>e</span><span class='words_sep'> </span><span class='tstring_content'>-p</span><span class='words_sep'> </span><span class='tstring_content'>**/*.rb</span><span class='words_sep'> </span><span class='tstring_content'>spec</span><span class='words_sep'>}</span><span class='rparen'>)</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n\n * Specs failed *\n\n</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
216
+ <span class='kw'>end</span></pre>
217
+ </td>
218
+ </tr>
219
+ </table>
220
+ </div>
221
+
222
+ </div>
223
+
224
+ </div>
225
+
226
+ <div id="footer">
227
+ Generated on Mon Mar 5 23:15:40 2012 by
228
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
229
+ 0.7.5 (ruby-1.9.2).
230
+ </div>
231
+
232
+ </body>
233
+ </html>
@@ -0,0 +1,282 @@
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: Ungemmer
8
+
9
+ &mdash; Documentation by YARD 0.7.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ relpath = '';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="_index.html">Index (U)</a> &raquo;
37
+
38
+
39
+ <span class="title">Ungemmer</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: Ungemmer
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">Object</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">Ungemmer</li>
75
+
76
+ </ul>
77
+ <a href="#" class="inheritanceTree">show all</a>
78
+
79
+ </dd>
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+ <dt class="r2 last">Defined in:</dt>
90
+ <dd class="r2 last">spec_help/ungemmer.rb</dd>
91
+
92
+ </dl>
93
+ <div class="clear"></div>
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+ <h2>
104
+ Class Method Summary
105
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
106
+ </h2>
107
+
108
+ <ul class="summary">
109
+
110
+ <li class="public ">
111
+ <span class="summary_signature">
112
+
113
+ <a href="#ungem-class_method" title="ungem (class method)">+ (Object) <strong>ungem</strong>(*names) </a>
114
+
115
+
116
+
117
+ </span>
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+ <span class="summary_desc"><div class='inline'></div></span>
127
+
128
+ </li>
129
+
130
+
131
+ <li class="public ">
132
+ <span class="summary_signature">
133
+
134
+ <a href="#ungem_gemspec-class_method" title="ungem_gemspec (class method)">+ (Object) <strong>ungem_gemspec</strong> </a>
135
+
136
+
137
+
138
+ </span>
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ <span class="summary_desc"><div class='inline'></div></span>
148
+
149
+ </li>
150
+
151
+
152
+ </ul>
153
+
154
+
155
+
156
+
157
+ <div id="class_method_details" class="method_details_list">
158
+ <h2>Class Method Details</h2>
159
+
160
+
161
+ <div class="method_details first">
162
+ <p class="signature first" id="ungem-class_method">
163
+
164
+ + (<tt>Object</tt>) <strong>ungem</strong>(*names)
165
+
166
+
167
+
168
+ </p><table class="source_code">
169
+ <tr>
170
+ <td>
171
+ <pre class="lines">
172
+
173
+
174
+ 2
175
+ 3
176
+ 4
177
+ 5
178
+ 6
179
+ 7
180
+ 8
181
+ 9
182
+ 10
183
+ 11
184
+ 12
185
+ 13
186
+ 14
187
+ 15
188
+ 16
189
+ 17
190
+ 18
191
+ 19
192
+ 20
193
+ 21
194
+ 22
195
+ 23</pre>
196
+ </td>
197
+ <td>
198
+ <pre class="code"><span class="info file"># File 'spec_help/ungemmer.rb', line 2</span>
199
+
200
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_ungem'>ungem</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_names'>names</span><span class='rparen'>)</span>
201
+ <span class='id identifier rubyid_deps'>deps</span> <span class='op'>=</span> <span class='id identifier rubyid_names'>names</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_name'>name</span><span class='op'>|</span>
202
+ <span class='const'>Gem</span><span class='op'>::</span><span class='const'>Dependency</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='rparen'>)</span>
203
+ <span class='kw'>end</span>
204
+
205
+ <span class='id identifier rubyid_deps'>deps</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_dep'>dep</span><span class='op'>|</span>
206
+ <span class='const'>Gem</span><span class='period'>.</span><span class='id identifier rubyid_source_index'>source_index</span><span class='period'>.</span><span class='id identifier rubyid_search'>search</span><span class='lparen'>(</span><span class='id identifier rubyid_dep'>dep</span><span class='rparen'>)</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_gemspec'>gemspec</span><span class='op'>|</span>
207
+ <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'> ** Ungemming </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_gemspec'>gemspec</span><span class='period'>.</span><span class='id identifier rubyid_full_name'>full_name</span><span class='rbrace'>}</span><span class='tstring_content'> **</span><span class='tstring_end'>&quot;</span></span>
208
+ <span class='const'>Gem</span><span class='period'>.</span><span class='id identifier rubyid_source_index'>source_index</span><span class='period'>.</span><span class='id identifier rubyid_remove_spec'>remove_spec</span><span class='lparen'>(</span><span class='id identifier rubyid_gemspec'>gemspec</span><span class='period'>.</span><span class='id identifier rubyid_full_name'>full_name</span><span class='rparen'>)</span>
209
+ <span class='kw'>end</span>
210
+ <span class='kw'>end</span>
211
+
212
+ <span class='const'>Gem</span><span class='period'>.</span><span class='id identifier rubyid_instance_eval'>instance_eval</span> <span class='kw'>do</span>
213
+ <span class='kw'>if</span> <span class='kw'>defined?</span> <span class='const'>Gem</span><span class='op'>::</span><span class='const'>MUTEX</span>
214
+ <span class='const'>Gem</span><span class='op'>::</span><span class='const'>MUTEX</span><span class='period'>.</span><span class='id identifier rubyid_synchronize'>synchronize</span> <span class='kw'>do</span>
215
+ <span class='ivar'>@searcher</span> <span class='op'>=</span> <span class='kw'>nil</span>
216
+ <span class='kw'>end</span>
217
+ <span class='kw'>else</span>
218
+ <span class='ivar'>@searcher</span> <span class='op'>=</span> <span class='kw'>nil</span>
219
+ <span class='kw'>end</span>
220
+ <span class='kw'>end</span>
221
+ <span class='kw'>end</span></pre>
222
+ </td>
223
+ </tr>
224
+ </table>
225
+ </div>
226
+
227
+ <div class="method_details ">
228
+ <p class="signature " id="ungem_gemspec-class_method">
229
+
230
+ + (<tt>Object</tt>) <strong>ungem_gemspec</strong>
231
+
232
+
233
+
234
+ </p><table class="source_code">
235
+ <tr>
236
+ <td>
237
+ <pre class="lines">
238
+
239
+
240
+ 25
241
+ 26
242
+ 27
243
+ 28
244
+ 29
245
+ 30
246
+ 31
247
+ 32
248
+ 33
249
+ 34
250
+ 35</pre>
251
+ </td>
252
+ <td>
253
+ <pre class="code"><span class="info file"># File 'spec_help/ungemmer.rb', line 25</span>
254
+
255
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_ungem_gemspec'>ungem_gemspec</span>
256
+ <span class='const'>Dir</span><span class='lbracket'>[</span><span class='const'>File</span><span class='op'>::</span><span class='id identifier rubyid_expand_path'>expand_path</span><span class='lparen'>(</span><span class='kw'>__FILE__</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>../../../*.gemspec</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='rbracket'>]</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_gemspec_path'>gemspec_path</span><span class='op'>|</span>
257
+ <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Ungemming based on </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_gemspec_path'>gemspec_path</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
258
+ <span class='kw'>begin</span>
259
+ <span class='id identifier rubyid_spec'>spec</span> <span class='op'>=</span> <span class='const'>Gem</span><span class='op'>::</span><span class='const'>Specification</span><span class='op'>::</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_gemspec_path'>gemspec_path</span><span class='rparen'>)</span>
260
+ <span class='const'>Ungemmer</span><span class='op'>::</span><span class='id identifier rubyid_ungem'>ungem</span><span class='lparen'>(</span><span class='id identifier rubyid_spec'>spec</span><span class='rparen'>)</span>
261
+ <span class='kw'>rescue</span> <span class='const'>LoadError</span>
262
+ <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Couldn't load </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_gemspec_path'>gemspec_path</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
263
+ <span class='kw'>end</span>
264
+ <span class='kw'>end</span>
265
+ <span class='kw'>end</span></pre>
266
+ </td>
267
+ </tr>
268
+ </table>
269
+ </div>
270
+
271
+ </div>
272
+
273
+ </div>
274
+
275
+ <div id="footer">
276
+ Generated on Mon Mar 5 23:15:39 2012 by
277
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
278
+ 0.7.5 (ruby-1.9.2).
279
+ </div>
280
+
281
+ </body>
282
+ </html>