new 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/.gitmodules +3 -0
  3. data/.new +1 -1
  4. data/Gemfile.lock +25 -20
  5. data/Guardfile +6 -4
  6. data/README.md +9 -2
  7. data/doc/.git +1 -0
  8. data/doc/Gemfile.html +125 -0
  9. data/doc/Gemfile_lock.html +198 -0
  10. data/doc/Guardfile.html +134 -0
  11. data/doc/InterpolateSpec.html +116 -0
  12. data/doc/LICENSE_txt.html +132 -0
  13. data/doc/New/Cli.html +290 -0
  14. data/doc/New/Dsl.html +185 -0
  15. data/doc/New/Interpolate.html +238 -0
  16. data/doc/New/Project.html +171 -0
  17. data/doc/New/Task/CustomBarTask.html +154 -0
  18. data/doc/New/Task/FooTask.html +168 -0
  19. data/doc/New/Task/Gem.html +197 -0
  20. data/doc/New/Task/TaskSpec.html +168 -0
  21. data/doc/New/Task.html +380 -0
  22. data/doc/New/Template.html +234 -0
  23. data/doc/New/Version.html +277 -0
  24. data/doc/New.html +377 -0
  25. data/doc/Object.html +200 -0
  26. data/doc/README_md.html +292 -0
  27. data/doc/VersionSpec.html +116 -0
  28. data/doc/created.rid +47 -0
  29. data/doc/fonts/Lato-Light.ttf +0 -0
  30. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  31. data/doc/fonts/Lato-Regular.ttf +0 -0
  32. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  33. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  34. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  35. data/doc/fonts.css +167 -0
  36. data/doc/images/add.png +0 -0
  37. data/doc/images/arrow_up.png +0 -0
  38. data/doc/images/brick.png +0 -0
  39. data/doc/images/brick_link.png +0 -0
  40. data/doc/images/bug.png +0 -0
  41. data/doc/images/bullet_black.png +0 -0
  42. data/doc/images/bullet_toggle_minus.png +0 -0
  43. data/doc/images/bullet_toggle_plus.png +0 -0
  44. data/doc/images/date.png +0 -0
  45. data/doc/images/delete.png +0 -0
  46. data/doc/images/find.png +0 -0
  47. data/doc/images/loadingAnimation.gif +0 -0
  48. data/doc/images/macFFBgHack.png +0 -0
  49. data/doc/images/package.png +0 -0
  50. data/doc/images/page_green.png +0 -0
  51. data/doc/images/page_white_text.png +0 -0
  52. data/doc/images/page_white_width.png +0 -0
  53. data/doc/images/plugin.png +0 -0
  54. data/doc/images/ruby.png +0 -0
  55. data/doc/images/tag_blue.png +0 -0
  56. data/doc/images/tag_green.png +0 -0
  57. data/doc/images/transparent.png +0 -0
  58. data/doc/images/wrench.png +0 -0
  59. data/doc/images/wrench_orange.png +0 -0
  60. data/doc/images/zoom.png +0 -0
  61. data/doc/index.html +142 -0
  62. data/doc/js/darkfish.js +140 -0
  63. data/doc/js/jquery.js +18 -0
  64. data/doc/js/navigation.js +142 -0
  65. data/doc/js/search.js +109 -0
  66. data/doc/js/search_index.js +1 -0
  67. data/doc/js/searcher.js +228 -0
  68. data/doc/rdoc.css +580 -0
  69. data/doc/spec/fixtures/custom/templates/custom_bar_template/custom_bar_txt.html +110 -0
  70. data/doc/table_of_contents.html +324 -0
  71. data/doc/tasks/gem/README_md.html +150 -0
  72. data/doc/templates/js/Gemfile.html +147 -0
  73. data/doc/templates/js/Guardfile.html +117 -0
  74. data/doc/templates/js/lib/README_md.html +114 -0
  75. data/doc/templates/js/spec/spec_helper_js_coffee.html +110 -0
  76. data/doc/templates/js/spec/vendor/chai_js.html +3864 -0
  77. data/doc/templates/js/spec/vendor/sinon-chai_js.html +222 -0
  78. data/doc/templates/js/spec/vendor/sinon_js.html +4358 -0
  79. data/doc/templates/js/src/README_md.html +125 -0
  80. data/lib/new/task.rb +2 -4
  81. data/lib/new/template.rb +1 -1
  82. data/lib/new/version.rb +27 -19
  83. data/spec/fixtures/tasks/foo_task/Gemfile +5 -0
  84. data/spec/lib/new/version_spec.rb +10 -15
  85. data/spec/spec_helper.rb +22 -1
  86. data/tasks/gem/gem.rb +44 -8
  87. data/tasks/gem/gem_spec.rb +139 -0
  88. metadata +233 -3
data/doc/New/Task.html ADDED
@@ -0,0 +1,380 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class New::Task - RDoc Documentation</title>
8
+
9
+ <link href="../fonts.css" rel="stylesheet">
10
+ <link href="../rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "../";
14
+ </script>
15
+
16
+ <script src="../js/jquery.js"></script>
17
+ <script src="../js/navigation.js"></script>
18
+ <script src="../js/search_index.js"></script>
19
+ <script src="../js/search.js"></script>
20
+ <script src="../js/searcher.js"></script>
21
+ <script src="../js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+ <div id="parent-class-section" class="nav-section">
61
+ <h3>Parent</h3>
62
+
63
+
64
+ <p class="link"><a href="../Object.html">Object</a>
65
+
66
+ </div>
67
+
68
+
69
+
70
+ <!-- Method Quickref -->
71
+ <div id="method-list-section" class="nav-section">
72
+ <h3>Methods</h3>
73
+
74
+ <ul class="link-list" role="directory">
75
+
76
+ <li ><a href="#method-c-inherited">::inherited</a>
77
+
78
+ <li ><a href="#method-c-name">::name</a>
79
+
80
+ <li ><a href="#method-c-name-3D">::name=</a>
81
+
82
+ <li ><a href="#method-c-new">::new</a>
83
+
84
+ <li ><a href="#method-i-name">#name</a>
85
+
86
+ <li ><a href="#method-i-options">#options</a>
87
+
88
+ <li ><a href="#method-i-project_options">#project_options</a>
89
+
90
+ </ul>
91
+ </div>
92
+
93
+ </div>
94
+ </nav>
95
+
96
+ <main role="main" aria-labelledby="class-New::Task">
97
+ <h1 id="class-New::Task" class="class">
98
+ class New::Task
99
+ </h1>
100
+
101
+ <section class="description">
102
+
103
+ </section>
104
+
105
+
106
+
107
+
108
+ <section id="5Buntitled-5D" class="documentation-section">
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
119
+ <header>
120
+ <h3>Public Class Methods</h3>
121
+ </header>
122
+
123
+
124
+ <div id="method-c-inherited" class="method-detail ">
125
+
126
+ <div class="method-heading">
127
+ <span class="method-name">inherited</span><span
128
+ class="method-args">(task_class)</span>
129
+
130
+ <span class="method-click-advice">click to toggle source</span>
131
+
132
+ </div>
133
+
134
+
135
+ <div class="method-description">
136
+
137
+
138
+
139
+
140
+
141
+
142
+ <div class="method-source-code" id="inherited-source">
143
+ <pre><span class="ruby-comment"># File lib/new/task.rb, line 4</span>
144
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">inherited</span> <span class="ruby-identifier">task_class</span>
145
+ <span class="ruby-identifier">task_class</span>.<span class="ruby-identifier">name</span> = <span class="ruby-identifier">caller</span>.<span class="ruby-identifier">first</span>[<span class="ruby-regexp">/[a-z_]+?(?=\.rb)/</span>].<span class="ruby-identifier">to_sym</span>
146
+ <span class="ruby-keyword">end</span></pre>
147
+ </div>
148
+
149
+ </div>
150
+
151
+
152
+
153
+
154
+ </div>
155
+
156
+
157
+ <div id="method-c-name" class="method-detail ">
158
+
159
+ <div class="method-heading">
160
+ <span class="method-name">name</span><span
161
+ class="method-args">()</span>
162
+
163
+ <span class="method-click-advice">click to toggle source</span>
164
+
165
+ </div>
166
+
167
+
168
+ <div class="method-description">
169
+
170
+
171
+
172
+
173
+
174
+
175
+ <div class="method-source-code" id="name-source">
176
+ <pre><span class="ruby-comment"># File lib/new/task.rb, line 16</span>
177
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">name</span>; <span class="ruby-ivar">@name</span>; <span class="ruby-keyword">end</span></pre>
178
+ </div>
179
+
180
+ </div>
181
+
182
+
183
+
184
+
185
+ </div>
186
+
187
+
188
+ <div id="method-c-name-3D" class="method-detail ">
189
+
190
+ <div class="method-heading">
191
+ <span class="method-name">name=</span><span
192
+ class="method-args">(name)</span>
193
+
194
+ <span class="method-click-advice">click to toggle source</span>
195
+
196
+ </div>
197
+
198
+
199
+ <div class="method-description">
200
+
201
+
202
+
203
+
204
+
205
+
206
+ <div class="method-source-code" id="name-3D-source">
207
+ <pre><span class="ruby-comment"># File lib/new/task.rb, line 13</span>
208
+ <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">name=</span> <span class="ruby-identifier">name</span>
209
+ <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span>
210
+ <span class="ruby-keyword">end</span></pre>
211
+ </div>
212
+
213
+ </div>
214
+
215
+
216
+
217
+
218
+ </div>
219
+
220
+
221
+ <div id="method-c-new" class="method-detail ">
222
+
223
+ <div class="method-heading">
224
+ <span class="method-name">new</span><span
225
+ class="method-args">(project_config)</span>
226
+
227
+ <span class="method-click-advice">click to toggle source</span>
228
+
229
+ </div>
230
+
231
+
232
+ <div class="method-description">
233
+
234
+
235
+
236
+
237
+
238
+
239
+ <div class="method-source-code" id="new-source">
240
+ <pre><span class="ruby-comment"># File lib/new/task.rb, line 8</span>
241
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">project_config</span>
242
+ <span class="ruby-ivar">@project_config</span> = <span class="ruby-identifier">project_config</span>
243
+ <span class="ruby-identifier">run</span>
244
+ <span class="ruby-keyword">end</span></pre>
245
+ </div>
246
+
247
+ </div>
248
+
249
+
250
+
251
+
252
+ </div>
253
+
254
+
255
+ </section>
256
+
257
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
258
+ <header>
259
+ <h3>Public Instance Methods</h3>
260
+ </header>
261
+
262
+
263
+ <div id="method-i-name" class="method-detail ">
264
+
265
+ <div class="method-heading">
266
+ <span class="method-name">name</span><span
267
+ class="method-args">()</span>
268
+
269
+ <span class="method-click-advice">click to toggle source</span>
270
+
271
+ </div>
272
+
273
+
274
+ <div class="method-description">
275
+
276
+
277
+
278
+
279
+
280
+
281
+ <div class="method-source-code" id="name-source">
282
+ <pre><span class="ruby-comment"># File lib/new/task.rb, line 17</span>
283
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">name</span>; <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>; <span class="ruby-keyword">end</span></pre>
284
+ </div>
285
+
286
+ </div>
287
+
288
+
289
+
290
+
291
+ </div>
292
+
293
+
294
+ <div id="method-i-options" class="method-detail ">
295
+
296
+ <div class="method-heading">
297
+ <span class="method-name">options</span><span
298
+ class="method-args">()</span>
299
+
300
+ <span class="method-click-advice">click to toggle source</span>
301
+
302
+ </div>
303
+
304
+
305
+ <div class="method-description">
306
+
307
+ <p>Return only the options for the given task</p>
308
+
309
+
310
+
311
+
312
+ <div class="method-source-code" id="options-source">
313
+ <pre><span class="ruby-comment"># File lib/new/task.rb, line 35</span>
314
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">options</span>
315
+ <span class="ruby-identifier">default_options</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">class</span><span class="ruby-operator">::</span><span class="ruby-constant">OPTIONS</span> <span class="ruby-keyword">rescue</span> {}
316
+ <span class="ruby-ivar">@options</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">default_options</span>.<span class="ruby-identifier">deep_merge</span>(<span class="ruby-identifier">project_options</span>[<span class="ruby-value">:tasks</span>][<span class="ruby-identifier">name</span>])
317
+ <span class="ruby-keyword">end</span></pre>
318
+ </div>
319
+
320
+ </div>
321
+
322
+
323
+
324
+
325
+ </div>
326
+
327
+
328
+ <div id="method-i-project_options" class="method-detail ">
329
+
330
+ <div class="method-heading">
331
+ <span class="method-name">project_options</span><span
332
+ class="method-args">()</span>
333
+
334
+ <span class="method-click-advice">click to toggle source</span>
335
+
336
+ </div>
337
+
338
+
339
+ <div class="method-description">
340
+
341
+ <p>Return ALL available options</p>
342
+
343
+
344
+
345
+
346
+ <div class="method-source-code" id="project_options-source">
347
+ <pre><span class="ruby-comment"># File lib/new/task.rb, line 21</span>
348
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">project_options</span>
349
+ <span class="ruby-identifier">custom_options</span> = <span class="ruby-constant">New</span>.<span class="ruby-identifier">custom_config</span>
350
+ <span class="ruby-identifier">all_options</span> = <span class="ruby-identifier">custom_options</span>.<span class="ruby-identifier">deep_merge</span>(<span class="ruby-ivar">@project_config</span>)
351
+
352
+ <span class="ruby-comment"># Groom tasks (prevent tasks from the custom config from polluting the project config)</span>
353
+ <span class="ruby-identifier">all_options</span>[<span class="ruby-value">:tasks</span>].<span class="ruby-identifier">each_key</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">task</span><span class="ruby-operator">|</span>
354
+ <span class="ruby-identifier">all_options</span>[<span class="ruby-value">:tasks</span>].<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">task</span>) <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@project_config</span>[<span class="ruby-value">:tasks</span>].<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">task</span>)
355
+ <span class="ruby-keyword">end</span>
356
+
357
+ <span class="ruby-ivar">@project_options</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">all_options</span>
358
+ <span class="ruby-keyword">end</span></pre>
359
+ </div>
360
+
361
+ </div>
362
+
363
+
364
+
365
+
366
+ </div>
367
+
368
+
369
+ </section>
370
+
371
+ </section>
372
+ </main>
373
+
374
+
375
+ <footer id="validator-badges" role="contentinfo">
376
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
377
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
378
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
379
+ </footer>
380
+
@@ -0,0 +1,234 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class New::Template - RDoc Documentation</title>
8
+
9
+ <link href="../fonts.css" rel="stylesheet">
10
+ <link href="../rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "../";
14
+ </script>
15
+
16
+ <script src="../js/jquery.js"></script>
17
+ <script src="../js/navigation.js"></script>
18
+ <script src="../js/search_index.js"></script>
19
+ <script src="../js/search.js"></script>
20
+ <script src="../js/searcher.js"></script>
21
+ <script src="../js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../table_of_contents.html#pages">Pages</a>
34
+ <a href="../table_of_contents.html#classes">Classes</a>
35
+ <a href="../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+ <div id="parent-class-section" class="nav-section">
61
+ <h3>Parent</h3>
62
+
63
+
64
+ <p class="link"><a href="../Object.html">Object</a>
65
+
66
+ </div>
67
+
68
+ <div id="includes-section" class="nav-section">
69
+ <h3>Included Modules</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+
74
+ <li><a class="include" href="Interpolate.html">New::Interpolate</a>
75
+
76
+
77
+ </ul>
78
+ </div>
79
+
80
+
81
+ <!-- Method Quickref -->
82
+ <div id="method-list-section" class="nav-section">
83
+ <h3>Methods</h3>
84
+
85
+ <ul class="link-list" role="directory">
86
+
87
+ <li ><a href="#method-c-new">::new</a>
88
+
89
+ <li ><a href="#method-i-options">#options</a>
90
+
91
+ </ul>
92
+ </div>
93
+
94
+ </div>
95
+ </nav>
96
+
97
+ <main role="main" aria-labelledby="class-New::Template">
98
+ <h1 id="class-New::Template" class="class">
99
+ class New::Template
100
+ </h1>
101
+
102
+ <section class="description">
103
+
104
+ </section>
105
+
106
+
107
+
108
+
109
+ <section id="5Buntitled-5D" class="documentation-section">
110
+
111
+
112
+
113
+
114
+
115
+ <section class="constants-list">
116
+ <header>
117
+ <h3>Constants</h3>
118
+ </header>
119
+ <dl>
120
+
121
+ <dt id="CUSTOM_CONFIG_TEMPLATE">CUSTOM_CONFIG_TEMPLATE
122
+
123
+ <dd><p>The foundation for new template configuration files</p>
124
+
125
+
126
+ </dl>
127
+ </section>
128
+
129
+
130
+
131
+
132
+
133
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
134
+ <header>
135
+ <h3>Public Class Methods</h3>
136
+ </header>
137
+
138
+
139
+ <div id="method-c-new" class="method-detail ">
140
+
141
+ <div class="method-heading">
142
+ <span class="method-name">new</span><span
143
+ class="method-args">(type, name)</span>
144
+
145
+ <span class="method-click-advice">click to toggle source</span>
146
+
147
+ </div>
148
+
149
+
150
+ <div class="method-description">
151
+
152
+
153
+
154
+
155
+
156
+
157
+ <div class="method-source-code" id="new-source">
158
+ <pre><span class="ruby-comment"># File lib/new/template.rb, line 17</span>
159
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">type</span>, <span class="ruby-identifier">name</span>
160
+ <span class="ruby-ivar">@type</span> = <span class="ruby-identifier">type</span>
161
+ <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span>
162
+
163
+ <span class="ruby-identifier">interpolate</span> <span class="ruby-identifier">template_dir</span>, <span class="ruby-identifier">options</span>
164
+ <span class="ruby-keyword">end</span></pre>
165
+ </div>
166
+
167
+ </div>
168
+
169
+
170
+
171
+
172
+ </div>
173
+
174
+
175
+ </section>
176
+
177
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
178
+ <header>
179
+ <h3>Public Instance Methods</h3>
180
+ </header>
181
+
182
+
183
+ <div id="method-i-options" class="method-detail ">
184
+
185
+ <div class="method-heading">
186
+ <span class="method-name">options</span><span
187
+ class="method-args">()</span>
188
+
189
+ <span class="method-click-advice">click to toggle source</span>
190
+
191
+ </div>
192
+
193
+
194
+ <div class="method-description">
195
+
196
+ <p>Create the options object</p>
197
+
198
+
199
+
200
+
201
+ <div class="method-source-code" id="options-source">
202
+ <pre><span class="ruby-comment"># File lib/new/template.rb, line 26</span>
203
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">options</span>
204
+ <span class="ruby-comment"># merge options together</span>
205
+ <span class="ruby-constant">CUSTOM_CONFIG_TEMPLATE</span>.<span class="ruby-identifier">clone</span>
206
+ .<span class="ruby-identifier">deep_merge!</span>(<span class="ruby-identifier">template_config</span>)
207
+ .<span class="ruby-identifier">deep_merge!</span>(<span class="ruby-constant">New</span>.<span class="ruby-identifier">custom_config</span>)
208
+ .<span class="ruby-identifier">deep_merge!</span>({
209
+ <span class="ruby-identifier">project_name</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@name</span>,
210
+ <span class="ruby-identifier">type</span><span class="ruby-operator">:</span> <span class="ruby-ivar">@type</span>.<span class="ruby-identifier">to_s</span>
211
+ })
212
+ <span class="ruby-keyword">end</span></pre>
213
+ </div>
214
+
215
+ </div>
216
+
217
+
218
+
219
+
220
+ </div>
221
+
222
+
223
+ </section>
224
+
225
+ </section>
226
+ </main>
227
+
228
+
229
+ <footer id="validator-badges" role="contentinfo">
230
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
231
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.0.
232
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
233
+ </footer>
234
+