mosh_generator 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/doc/MoshGenerator.html +1 -1
- data/doc/MoshGenerator/AppBuilder.html +446 -48
- data/doc/MoshGenerator/AppGenerator.html +218 -13
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +57 -3
- data/doc/top-level-namespace.html +1 -1
- data/lib/mosh_generator/version.rb +1 -1
- data/templates/Gemfile.tt +5 -0
- data/templates/Gruntfile.js +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f6a6c030197660d855f3175e5d5b59c8901be551
|
|
4
|
+
data.tar.gz: f2644906532c211e34ec422237fd1d4f2de96118
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b3fc825154b5d84ba3dfc1f114de449ef243e0250ffadfb1ee7051d8854dad0649f38cb22cbdc980b1658f04ee87da59b476322438a7cf58e3f2ff9d4816768
|
|
7
|
+
data.tar.gz: 38c59b55b3b0d377be5a49e5784bb451a0d57a87b68c1526f3ce63172386385505487d01596e374ddf5b097c66e6b1948ab8693ff1a0dea14add14a92a97a921
|
data/Gemfile.lock
CHANGED
data/doc/MoshGenerator.html
CHANGED
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
</div>
|
|
143
143
|
|
|
144
144
|
<div id="footer">
|
|
145
|
-
Generated on
|
|
145
|
+
Generated on Thu Jun 6 20:09:25 2013 by
|
|
146
146
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
147
147
|
0.8.6.1 (ruby-2.0.0).
|
|
148
148
|
</div>
|
|
@@ -130,6 +130,30 @@
|
|
|
130
130
|
<li class="public ">
|
|
131
131
|
<span class="summary_signature">
|
|
132
132
|
|
|
133
|
+
<a href="#configure_grunt-instance_method" title="#configure_grunt (instance method)">- (Object) <strong>configure_grunt</strong> </a>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
</span>
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
<span class="summary_desc"><div class='inline'>
|
|
148
|
+
<p>Configures Grunt to compile, concat and minify assets.</p>
|
|
149
|
+
</div></span>
|
|
150
|
+
|
|
151
|
+
</li>
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
<li class="public ">
|
|
155
|
+
<span class="summary_signature">
|
|
156
|
+
|
|
133
157
|
<a href="#create_editorconfig_file-instance_method" title="#create_editorconfig_file (instance method)">- (Object) <strong>create_editorconfig_file</strong> </a>
|
|
134
158
|
|
|
135
159
|
|
|
@@ -148,6 +172,78 @@
|
|
|
148
172
|
<p>Creates an .editorconfig.</p>
|
|
149
173
|
</div></span>
|
|
150
174
|
|
|
175
|
+
</li>
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
<li class="public ">
|
|
179
|
+
<span class="summary_signature">
|
|
180
|
+
|
|
181
|
+
<a href="#create_helpers-instance_method" title="#create_helpers (instance method)">- (Object) <strong>create_helpers</strong> </a>
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
</span>
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
<span class="summary_desc"><div class='inline'>
|
|
196
|
+
<p>Creates the initial helpers for the application.</p>
|
|
197
|
+
</div></span>
|
|
198
|
+
|
|
199
|
+
</li>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
<li class="public ">
|
|
203
|
+
<span class="summary_signature">
|
|
204
|
+
|
|
205
|
+
<a href="#create_layout-instance_method" title="#create_layout (instance method)">- (Object) <strong>create_layout</strong> </a>
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
</span>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
<span class="summary_desc"><div class='inline'>
|
|
220
|
+
<p>Creates the layout for the application.</p>
|
|
221
|
+
</div></span>
|
|
222
|
+
|
|
223
|
+
</li>
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
<li class="public ">
|
|
227
|
+
<span class="summary_signature">
|
|
228
|
+
|
|
229
|
+
<a href="#create_partial_views-instance_method" title="#create_partial_views (instance method)">- (Object) <strong>create_partial_views</strong> </a>
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
</span>
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
<span class="summary_desc"><div class='inline'>
|
|
244
|
+
<p>Creates the partial views directory with some partial for the application.</p>
|
|
245
|
+
</div></span>
|
|
246
|
+
|
|
151
247
|
</li>
|
|
152
248
|
|
|
153
249
|
|
|
@@ -196,6 +292,30 @@
|
|
|
196
292
|
<p>Creates a .ruby-version file to Ruby version managers.</p>
|
|
197
293
|
</div></span>
|
|
198
294
|
|
|
295
|
+
</li>
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
<li class="public ">
|
|
299
|
+
<span class="summary_signature">
|
|
300
|
+
|
|
301
|
+
<a href="#create_staging_environment_file-instance_method" title="#create_staging_environment_file (instance method)">- (Object) <strong>create_staging_environment_file</strong> </a>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
</span>
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
<span class="summary_desc"><div class='inline'>
|
|
316
|
+
<p>Creates a staging.rb file on config/environments directory.</p>
|
|
317
|
+
</div></span>
|
|
318
|
+
|
|
199
319
|
</li>
|
|
200
320
|
|
|
201
321
|
|
|
@@ -244,6 +364,30 @@
|
|
|
244
364
|
<p>Create the Gemfile.</p>
|
|
245
365
|
</div></span>
|
|
246
366
|
|
|
367
|
+
</li>
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
<li class="public ">
|
|
371
|
+
<span class="summary_signature">
|
|
372
|
+
|
|
373
|
+
<a href="#gitignore-instance_method" title="#gitignore (instance method)">- (Object) <strong>gitignore</strong> </a>
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
</span>
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
<span class="summary_desc"><div class='inline'>
|
|
388
|
+
<p>Create the .gitignore.</p>
|
|
389
|
+
</div></span>
|
|
390
|
+
|
|
247
391
|
</li>
|
|
248
392
|
|
|
249
393
|
|
|
@@ -378,7 +522,58 @@
|
|
|
378
522
|
|
|
379
523
|
|
|
380
524
|
<div class="method_details first">
|
|
381
|
-
<h3 class="signature first" id="
|
|
525
|
+
<h3 class="signature first" id="configure_grunt-instance_method">
|
|
526
|
+
|
|
527
|
+
- (<tt>Object</tt>) <strong>configure_grunt</strong>
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
</h3><div class="docstring">
|
|
534
|
+
<div class="discussion">
|
|
535
|
+
|
|
536
|
+
<p>Configures Grunt to compile, concat and minify assets.</p>
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
</div>
|
|
540
|
+
</div>
|
|
541
|
+
<div class="tags">
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
</div><table class="source_code">
|
|
545
|
+
<tr>
|
|
546
|
+
<td>
|
|
547
|
+
<pre class="lines">
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
126
|
|
551
|
+
127
|
|
552
|
+
128
|
|
553
|
+
129
|
|
554
|
+
130
|
|
555
|
+
131
|
|
556
|
+
132
|
|
557
|
+
133</pre>
|
|
558
|
+
</td>
|
|
559
|
+
<td>
|
|
560
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 126</span>
|
|
561
|
+
|
|
562
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_configure_grunt'>configure_grunt</span>
|
|
563
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:skip_sprockets</span><span class='rbracket'>]</span>
|
|
564
|
+
<span class='id identifier rubyid_template'>template</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>package.json.tt</span><span class='tstring_end'>'</span></span>
|
|
565
|
+
<span class='id identifier rubyid_copy_file'>copy_file</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Gruntfile.js</span><span class='tstring_end'>'</span></span>
|
|
566
|
+
<span class='id identifier rubyid_copy_file'>copy_file</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.jshintrc</span><span class='tstring_end'>'</span></span>
|
|
567
|
+
<span class='id identifier rubyid_run'>run</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>npm install</span><span class='tstring_end'>'</span></span>
|
|
568
|
+
<span class='kw'>end</span>
|
|
569
|
+
<span class='kw'>end</span></pre>
|
|
570
|
+
</td>
|
|
571
|
+
</tr>
|
|
572
|
+
</table>
|
|
573
|
+
</div>
|
|
574
|
+
|
|
575
|
+
<div class="method_details ">
|
|
576
|
+
<h3 class="signature " id="create_editorconfig_file-instance_method">
|
|
382
577
|
|
|
383
578
|
- (<tt>Object</tt>) <strong>create_editorconfig_file</strong>
|
|
384
579
|
|
|
@@ -403,12 +598,12 @@
|
|
|
403
598
|
<pre class="lines">
|
|
404
599
|
|
|
405
600
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
601
|
+
77
|
|
602
|
+
78
|
|
603
|
+
79</pre>
|
|
409
604
|
</td>
|
|
410
605
|
<td>
|
|
411
|
-
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line
|
|
606
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 77</span>
|
|
412
607
|
|
|
413
608
|
<span class='kw'>def</span> <span class='id identifier rubyid_create_editorconfig_file'>create_editorconfig_file</span>
|
|
414
609
|
<span class='id identifier rubyid_copy_file'>copy_file</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.editorconfig</span><span class='tstring_end'>'</span></span>
|
|
@@ -416,6 +611,129 @@
|
|
|
416
611
|
</td>
|
|
417
612
|
</tr>
|
|
418
613
|
</table>
|
|
614
|
+
</div>
|
|
615
|
+
|
|
616
|
+
<div class="method_details ">
|
|
617
|
+
<h3 class="signature " id="create_helpers-instance_method">
|
|
618
|
+
|
|
619
|
+
- (<tt>Object</tt>) <strong>create_helpers</strong>
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
</h3><div class="docstring">
|
|
626
|
+
<div class="discussion">
|
|
627
|
+
|
|
628
|
+
<p>Creates the initial helpers for the application.</p>
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
</div>
|
|
632
|
+
</div>
|
|
633
|
+
<div class="tags">
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
</div><table class="source_code">
|
|
637
|
+
<tr>
|
|
638
|
+
<td>
|
|
639
|
+
<pre class="lines">
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
105
|
|
643
|
+
106
|
|
644
|
+
107</pre>
|
|
645
|
+
</td>
|
|
646
|
+
<td>
|
|
647
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 105</span>
|
|
648
|
+
|
|
649
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create_helpers'>create_helpers</span>
|
|
650
|
+
<span class='id identifier rubyid_template'>template</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>app_directory/helpers/application_helper.rb.tt</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>app/helpers/application_helper.rb</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>force:</span> <span class='kw'>true</span>
|
|
651
|
+
<span class='kw'>end</span></pre>
|
|
652
|
+
</td>
|
|
653
|
+
</tr>
|
|
654
|
+
</table>
|
|
655
|
+
</div>
|
|
656
|
+
|
|
657
|
+
<div class="method_details ">
|
|
658
|
+
<h3 class="signature " id="create_layout-instance_method">
|
|
659
|
+
|
|
660
|
+
- (<tt>Object</tt>) <strong>create_layout</strong>
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
</h3><div class="docstring">
|
|
667
|
+
<div class="discussion">
|
|
668
|
+
|
|
669
|
+
<p>Creates the layout for the application.</p>
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
</div>
|
|
673
|
+
</div>
|
|
674
|
+
<div class="tags">
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
</div><table class="source_code">
|
|
678
|
+
<tr>
|
|
679
|
+
<td>
|
|
680
|
+
<pre class="lines">
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
112
|
|
684
|
+
113
|
|
685
|
+
114</pre>
|
|
686
|
+
</td>
|
|
687
|
+
<td>
|
|
688
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 112</span>
|
|
689
|
+
|
|
690
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create_layout'>create_layout</span>
|
|
691
|
+
<span class='id identifier rubyid_template'>template</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>app_directory/views/layouts/application.html.erb.tt</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>app/views/layouts/application.html.erb</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>force:</span> <span class='kw'>true</span>
|
|
692
|
+
<span class='kw'>end</span></pre>
|
|
693
|
+
</td>
|
|
694
|
+
</tr>
|
|
695
|
+
</table>
|
|
696
|
+
</div>
|
|
697
|
+
|
|
698
|
+
<div class="method_details ">
|
|
699
|
+
<h3 class="signature " id="create_partial_views-instance_method">
|
|
700
|
+
|
|
701
|
+
- (<tt>Object</tt>) <strong>create_partial_views</strong>
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
</h3><div class="docstring">
|
|
708
|
+
<div class="discussion">
|
|
709
|
+
|
|
710
|
+
<p>Creates the partial views directory with some partial for the application.</p>
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
</div>
|
|
714
|
+
</div>
|
|
715
|
+
<div class="tags">
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
</div><table class="source_code">
|
|
719
|
+
<tr>
|
|
720
|
+
<td>
|
|
721
|
+
<pre class="lines">
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
119
|
|
725
|
+
120
|
|
726
|
+
121</pre>
|
|
727
|
+
</td>
|
|
728
|
+
<td>
|
|
729
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 119</span>
|
|
730
|
+
|
|
731
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create_partial_views'>create_partial_views</span>
|
|
732
|
+
<span class='id identifier rubyid_directory'>directory</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>app_directory/views/application</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>app/views/application</span><span class='tstring_end'>'</span></span>
|
|
733
|
+
<span class='kw'>end</span></pre>
|
|
734
|
+
</td>
|
|
735
|
+
</tr>
|
|
736
|
+
</table>
|
|
419
737
|
</div>
|
|
420
738
|
|
|
421
739
|
<div class="method_details ">
|
|
@@ -444,12 +762,12 @@
|
|
|
444
762
|
<pre class="lines">
|
|
445
763
|
|
|
446
764
|
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
765
|
+
91
|
|
766
|
+
92
|
|
767
|
+
93</pre>
|
|
450
768
|
</td>
|
|
451
769
|
<td>
|
|
452
|
-
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line
|
|
770
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 91</span>
|
|
453
771
|
|
|
454
772
|
<span class='kw'>def</span> <span class='id identifier rubyid_create_ruby_gemset_file'>create_ruby_gemset_file</span>
|
|
455
773
|
<span class='id identifier rubyid_template'>template</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.ruby-gemset</span><span class='tstring_end'>'</span></span>
|
|
@@ -485,12 +803,12 @@
|
|
|
485
803
|
<pre class="lines">
|
|
486
804
|
|
|
487
805
|
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
806
|
+
84
|
|
807
|
+
85
|
|
808
|
+
86</pre>
|
|
491
809
|
</td>
|
|
492
810
|
<td>
|
|
493
|
-
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line
|
|
811
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 84</span>
|
|
494
812
|
|
|
495
813
|
<span class='kw'>def</span> <span class='id identifier rubyid_create_ruby_version_file'>create_ruby_version_file</span>
|
|
496
814
|
<span class='id identifier rubyid_template'>template</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.ruby-version</span><span class='tstring_end'>'</span></span>
|
|
@@ -498,6 +816,47 @@
|
|
|
498
816
|
</td>
|
|
499
817
|
</tr>
|
|
500
818
|
</table>
|
|
819
|
+
</div>
|
|
820
|
+
|
|
821
|
+
<div class="method_details ">
|
|
822
|
+
<h3 class="signature " id="create_staging_environment_file-instance_method">
|
|
823
|
+
|
|
824
|
+
- (<tt>Object</tt>) <strong>create_staging_environment_file</strong>
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
</h3><div class="docstring">
|
|
831
|
+
<div class="discussion">
|
|
832
|
+
|
|
833
|
+
<p>Creates a staging.rb file on config/environments directory.</p>
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
</div>
|
|
837
|
+
</div>
|
|
838
|
+
<div class="tags">
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
</div><table class="source_code">
|
|
842
|
+
<tr>
|
|
843
|
+
<td>
|
|
844
|
+
<pre class="lines">
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
98
|
|
848
|
+
99
|
|
849
|
+
100</pre>
|
|
850
|
+
</td>
|
|
851
|
+
<td>
|
|
852
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 98</span>
|
|
853
|
+
|
|
854
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create_staging_environment_file'>create_staging_environment_file</span>
|
|
855
|
+
<span class='id identifier rubyid_run'>run</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>cp config/environments/production.rb config/environments/staging.rb</span><span class='tstring_end'>'</span></span>
|
|
856
|
+
<span class='kw'>end</span></pre>
|
|
857
|
+
</td>
|
|
858
|
+
</tr>
|
|
859
|
+
</table>
|
|
501
860
|
</div>
|
|
502
861
|
|
|
503
862
|
<div class="method_details ">
|
|
@@ -526,12 +885,12 @@
|
|
|
526
885
|
<pre class="lines">
|
|
527
886
|
|
|
528
887
|
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
888
|
+
32
|
|
889
|
+
33
|
|
890
|
+
34</pre>
|
|
532
891
|
</td>
|
|
533
892
|
<td>
|
|
534
|
-
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line
|
|
893
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 32</span>
|
|
535
894
|
|
|
536
895
|
<span class='kw'>def</span> <span class='id identifier rubyid_database_yml'>database_yml</span>
|
|
537
896
|
<span class='id identifier rubyid_copy_file'>copy_file</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>config/database.yml</span><span class='tstring_end'>'</span></span>
|
|
@@ -580,6 +939,47 @@
|
|
|
580
939
|
</td>
|
|
581
940
|
</tr>
|
|
582
941
|
</table>
|
|
942
|
+
</div>
|
|
943
|
+
|
|
944
|
+
<div class="method_details ">
|
|
945
|
+
<h3 class="signature " id="gitignore-instance_method">
|
|
946
|
+
|
|
947
|
+
- (<tt>Object</tt>) <strong>gitignore</strong>
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
</h3><div class="docstring">
|
|
954
|
+
<div class="discussion">
|
|
955
|
+
|
|
956
|
+
<p>Create the .gitignore.</p>
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
</div>
|
|
960
|
+
</div>
|
|
961
|
+
<div class="tags">
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
</div><table class="source_code">
|
|
965
|
+
<tr>
|
|
966
|
+
<td>
|
|
967
|
+
<pre class="lines">
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
25
|
|
971
|
+
26
|
|
972
|
+
27</pre>
|
|
973
|
+
</td>
|
|
974
|
+
<td>
|
|
975
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 25</span>
|
|
976
|
+
|
|
977
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_gitignore'>gitignore</span>
|
|
978
|
+
<span class='id identifier rubyid_copy_file'>copy_file</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>.gitignore</span><span class='tstring_end'>'</span></span>
|
|
979
|
+
<span class='kw'>end</span></pre>
|
|
980
|
+
</td>
|
|
981
|
+
</tr>
|
|
982
|
+
</table>
|
|
583
983
|
</div>
|
|
584
984
|
|
|
585
985
|
<div class="method_details ">
|
|
@@ -608,28 +1008,26 @@
|
|
|
608
1008
|
<pre class="lines">
|
|
609
1009
|
|
|
610
1010
|
|
|
611
|
-
32
|
|
612
|
-
33
|
|
613
|
-
34
|
|
614
|
-
35
|
|
615
|
-
36
|
|
616
|
-
37
|
|
617
|
-
38
|
|
618
1011
|
39
|
|
619
1012
|
40
|
|
620
|
-
41
|
|
1013
|
+
41
|
|
1014
|
+
42
|
|
1015
|
+
43
|
|
1016
|
+
44
|
|
1017
|
+
45
|
|
1018
|
+
46
|
|
1019
|
+
47</pre>
|
|
621
1020
|
</td>
|
|
622
1021
|
<td>
|
|
623
|
-
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line
|
|
1022
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 39</span>
|
|
624
1023
|
|
|
625
1024
|
<span class='kw'>def</span> <span class='id identifier rubyid_public_directory'>public_directory</span>
|
|
626
1025
|
<span class='kw'>super</span>
|
|
1026
|
+
<span class='id identifier rubyid_directory'>directory</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>public_directory</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>public</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>recursive:</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='label'>force:</span> <span class='kw'>true</span>
|
|
627
1027
|
<span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:skip_sprockets</span><span class='rbracket'>]</span>
|
|
628
|
-
<span class='id identifier
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
<span class='id identifier rubyid_directory'>directory</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>stylesheets</span><span class='tstring_end'>'</span></span>
|
|
632
|
-
<span class='kw'>end</span>
|
|
1028
|
+
<span class='id identifier rubyid_directory'>directory</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>public_directory/images</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>public/images</span><span class='tstring_end'>'</span></span>
|
|
1029
|
+
<span class='id identifier rubyid_directory'>directory</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>public_directory/javascripts</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>public/javascripts</span><span class='tstring_end'>'</span></span>
|
|
1030
|
+
<span class='id identifier rubyid_directory'>directory</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>public_directory/stylesheets</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>public/stylesheets</span><span class='tstring_end'>'</span></span>
|
|
633
1031
|
<span class='kw'>end</span>
|
|
634
1032
|
<span class='kw'>end</span></pre>
|
|
635
1033
|
</td>
|
|
@@ -704,16 +1102,16 @@
|
|
|
704
1102
|
<pre class="lines">
|
|
705
1103
|
|
|
706
1104
|
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
1105
|
+
59
|
|
1106
|
+
60
|
|
1107
|
+
61
|
|
1108
|
+
62
|
|
1109
|
+
63
|
|
1110
|
+
64
|
|
1111
|
+
65</pre>
|
|
714
1112
|
</td>
|
|
715
1113
|
<td>
|
|
716
|
-
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line
|
|
1114
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 59</span>
|
|
717
1115
|
|
|
718
1116
|
<span class='kw'>def</span> <span class='id identifier rubyid_remove_assets_directories'>remove_assets_directories</span>
|
|
719
1117
|
<span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:skip_sprockets</span><span class='rbracket'>]</span>
|
|
@@ -753,12 +1151,12 @@
|
|
|
753
1151
|
<pre class="lines">
|
|
754
1152
|
|
|
755
1153
|
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
1154
|
+
70
|
|
1155
|
+
71
|
|
1156
|
+
72</pre>
|
|
759
1157
|
</td>
|
|
760
1158
|
<td>
|
|
761
|
-
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line
|
|
1159
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 70</span>
|
|
762
1160
|
|
|
763
1161
|
<span class='kw'>def</span> <span class='id identifier rubyid_remove_doc_directory'>remove_doc_directory</span>
|
|
764
1162
|
<span class='id identifier rubyid_remove_dir'>remove_dir</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>doc</span><span class='tstring_end'>'</span></span>
|
|
@@ -794,12 +1192,12 @@
|
|
|
794
1192
|
<pre class="lines">
|
|
795
1193
|
|
|
796
1194
|
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
1195
|
+
52
|
|
1196
|
+
53
|
|
1197
|
+
54</pre>
|
|
800
1198
|
</td>
|
|
801
1199
|
<td>
|
|
802
|
-
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line
|
|
1200
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/app_builder.rb', line 52</span>
|
|
803
1201
|
|
|
804
1202
|
<span class='kw'>def</span> <span class='id identifier rubyid_remove_public_index'>remove_public_index</span>
|
|
805
1203
|
<span class='id identifier rubyid_remove_file'>remove_file</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>public/index.html</span><span class='tstring_end'>'</span></span>
|
|
@@ -814,7 +1212,7 @@
|
|
|
814
1212
|
</div>
|
|
815
1213
|
|
|
816
1214
|
<div id="footer">
|
|
817
|
-
Generated on
|
|
1215
|
+
Generated on Thu Jun 6 20:09:25 2013 by
|
|
818
1216
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
819
1217
|
0.8.6.1 (ruby-2.0.0).
|
|
820
1218
|
</div>
|
|
@@ -163,6 +163,30 @@
|
|
|
163
163
|
<li class="public ">
|
|
164
164
|
<span class="summary_signature">
|
|
165
165
|
|
|
166
|
+
<a href="#create_application_structure-instance_method" title="#create_application_structure (instance method)">- (Object) <strong>create_application_structure</strong> </a>
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
</span>
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
<span class="summary_desc"><div class='inline'>
|
|
181
|
+
<p>Create the minimal application structure.</p>
|
|
182
|
+
</div></span>
|
|
183
|
+
|
|
184
|
+
</li>
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<li class="public ">
|
|
188
|
+
<span class="summary_signature">
|
|
189
|
+
|
|
166
190
|
<a href="#create_configuration_files-instance_method" title="#create_configuration_files (instance method)">- (Object) <strong>create_configuration_files</strong> </a>
|
|
167
191
|
|
|
168
192
|
|
|
@@ -178,7 +202,31 @@
|
|
|
178
202
|
|
|
179
203
|
|
|
180
204
|
<span class="summary_desc"><div class='inline'>
|
|
181
|
-
<p>
|
|
205
|
+
<p>Creates some configuration files for tools.</p>
|
|
206
|
+
</div></span>
|
|
207
|
+
|
|
208
|
+
</li>
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
<li class="public ">
|
|
212
|
+
<span class="summary_signature">
|
|
213
|
+
|
|
214
|
+
<a href="#create_staging_environment-instance_method" title="#create_staging_environment (instance method)">- (Object) <strong>create_staging_environment</strong> </a>
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
</span>
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<span class="summary_desc"><div class='inline'>
|
|
229
|
+
<p>Creates a staging environment.</p>
|
|
182
230
|
</div></span>
|
|
183
231
|
|
|
184
232
|
</li>
|
|
@@ -253,6 +301,30 @@
|
|
|
253
301
|
<p>Do some clean up.</p>
|
|
254
302
|
</div></span>
|
|
255
303
|
|
|
304
|
+
</li>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
<li class="public ">
|
|
308
|
+
<span class="summary_signature">
|
|
309
|
+
|
|
310
|
+
<a href="#run_bundle-instance_method" title="#run_bundle (instance method)">- (Object) <strong>run_bundle</strong> </a>
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
</span>
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
<span class="summary_desc"><div class='inline'>
|
|
325
|
+
<p>Override the original run_bundle to do nothing.</p>
|
|
326
|
+
</div></span>
|
|
327
|
+
|
|
256
328
|
</li>
|
|
257
329
|
|
|
258
330
|
|
|
@@ -314,7 +386,54 @@
|
|
|
314
386
|
|
|
315
387
|
|
|
316
388
|
<div class="method_details first">
|
|
317
|
-
<h3 class="signature first" id="
|
|
389
|
+
<h3 class="signature first" id="create_application_structure-instance_method">
|
|
390
|
+
|
|
391
|
+
- (<tt>Object</tt>) <strong>create_application_structure</strong>
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
</h3><div class="docstring">
|
|
398
|
+
<div class="discussion">
|
|
399
|
+
|
|
400
|
+
<p>Create the minimal application structure.</p>
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
</div>
|
|
404
|
+
</div>
|
|
405
|
+
<div class="tags">
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
</div><table class="source_code">
|
|
409
|
+
<tr>
|
|
410
|
+
<td>
|
|
411
|
+
<pre class="lines">
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
78
|
|
415
|
+
79
|
|
416
|
+
80
|
|
417
|
+
81
|
|
418
|
+
82
|
|
419
|
+
83</pre>
|
|
420
|
+
</td>
|
|
421
|
+
<td>
|
|
422
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/generators/app_generator.rb', line 78</span>
|
|
423
|
+
|
|
424
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create_application_structure'>create_application_structure</span>
|
|
425
|
+
<span class='id identifier rubyid_build'>build</span> <span class='symbol'>:create_helpers</span>
|
|
426
|
+
<span class='id identifier rubyid_build'>build</span> <span class='symbol'>:create_layout</span>
|
|
427
|
+
<span class='id identifier rubyid_build'>build</span> <span class='symbol'>:create_partial_views</span>
|
|
428
|
+
<span class='id identifier rubyid_build'>build</span> <span class='symbol'>:configure_grunt</span>
|
|
429
|
+
<span class='kw'>end</span></pre>
|
|
430
|
+
</td>
|
|
431
|
+
</tr>
|
|
432
|
+
</table>
|
|
433
|
+
</div>
|
|
434
|
+
|
|
435
|
+
<div class="method_details ">
|
|
436
|
+
<h3 class="signature " id="create_configuration_files-instance_method">
|
|
318
437
|
|
|
319
438
|
- (<tt>Object</tt>) <strong>create_configuration_files</strong>
|
|
320
439
|
|
|
@@ -325,7 +444,7 @@
|
|
|
325
444
|
</h3><div class="docstring">
|
|
326
445
|
<div class="discussion">
|
|
327
446
|
|
|
328
|
-
<p>
|
|
447
|
+
<p>Creates some configuration files for tools.</p>
|
|
329
448
|
|
|
330
449
|
|
|
331
450
|
</div>
|
|
@@ -339,14 +458,14 @@
|
|
|
339
458
|
<pre class="lines">
|
|
340
459
|
|
|
341
460
|
|
|
342
|
-
60
|
|
343
|
-
61
|
|
344
461
|
62
|
|
345
462
|
63
|
|
346
|
-
64
|
|
463
|
+
64
|
|
464
|
+
65
|
|
465
|
+
66</pre>
|
|
347
466
|
</td>
|
|
348
467
|
<td>
|
|
349
|
-
<pre class="code"><span class="info file"># File 'lib/mosh_generator/generators/app_generator.rb', line
|
|
468
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/generators/app_generator.rb', line 62</span>
|
|
350
469
|
|
|
351
470
|
<span class='kw'>def</span> <span class='id identifier rubyid_create_configuration_files'>create_configuration_files</span>
|
|
352
471
|
<span class='id identifier rubyid_build'>build</span> <span class='symbol'>:create_editorconfig_file</span>
|
|
@@ -356,6 +475,47 @@
|
|
|
356
475
|
</td>
|
|
357
476
|
</tr>
|
|
358
477
|
</table>
|
|
478
|
+
</div>
|
|
479
|
+
|
|
480
|
+
<div class="method_details ">
|
|
481
|
+
<h3 class="signature " id="create_staging_environment-instance_method">
|
|
482
|
+
|
|
483
|
+
- (<tt>Object</tt>) <strong>create_staging_environment</strong>
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
</h3><div class="docstring">
|
|
490
|
+
<div class="discussion">
|
|
491
|
+
|
|
492
|
+
<p>Creates a staging environment</p>
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
</div>
|
|
496
|
+
</div>
|
|
497
|
+
<div class="tags">
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
</div><table class="source_code">
|
|
501
|
+
<tr>
|
|
502
|
+
<td>
|
|
503
|
+
<pre class="lines">
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
71
|
|
507
|
+
72
|
|
508
|
+
73</pre>
|
|
509
|
+
</td>
|
|
510
|
+
<td>
|
|
511
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/generators/app_generator.rb', line 71</span>
|
|
512
|
+
|
|
513
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_create_staging_environment'>create_staging_environment</span>
|
|
514
|
+
<span class='id identifier rubyid_build'>build</span> <span class='symbol'>:create_staging_environment_file</span>
|
|
515
|
+
<span class='kw'>end</span></pre>
|
|
516
|
+
</td>
|
|
517
|
+
</tr>
|
|
518
|
+
</table>
|
|
359
519
|
</div>
|
|
360
520
|
|
|
361
521
|
<div class="method_details ">
|
|
@@ -430,7 +590,9 @@
|
|
|
430
590
|
43
|
|
431
591
|
44
|
|
432
592
|
45
|
|
433
|
-
46
|
|
593
|
+
46
|
|
594
|
+
47
|
|
595
|
+
48</pre>
|
|
434
596
|
</td>
|
|
435
597
|
<td>
|
|
436
598
|
<pre class="code"><span class="info file"># File 'lib/mosh_generator/generators/app_generator.rb', line 43</span>
|
|
@@ -438,6 +600,8 @@
|
|
|
438
600
|
<span class='kw'>def</span> <span class='id identifier rubyid_mosh_generator_customization'>mosh_generator_customization</span>
|
|
439
601
|
<span class='id identifier rubyid_invoke'>invoke</span> <span class='symbol'>:remove_files_we_dont_need</span>
|
|
440
602
|
<span class='id identifier rubyid_invoke'>invoke</span> <span class='symbol'>:create_configuration_files</span>
|
|
603
|
+
<span class='id identifier rubyid_invoke'>invoke</span> <span class='symbol'>:create_staging_environment</span>
|
|
604
|
+
<span class='id identifier rubyid_invoke'>invoke</span> <span class='symbol'>:create_application_structure</span>
|
|
441
605
|
<span class='kw'>end</span></pre>
|
|
442
606
|
</td>
|
|
443
607
|
</tr>
|
|
@@ -470,14 +634,14 @@
|
|
|
470
634
|
<pre class="lines">
|
|
471
635
|
|
|
472
636
|
|
|
473
|
-
51
|
|
474
|
-
52
|
|
475
637
|
53
|
|
476
638
|
54
|
|
477
|
-
55
|
|
639
|
+
55
|
|
640
|
+
56
|
|
641
|
+
57</pre>
|
|
478
642
|
</td>
|
|
479
643
|
<td>
|
|
480
|
-
<pre class="code"><span class="info file"># File 'lib/mosh_generator/generators/app_generator.rb', line
|
|
644
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/generators/app_generator.rb', line 53</span>
|
|
481
645
|
|
|
482
646
|
<span class='kw'>def</span> <span class='id identifier rubyid_remove_files_we_dont_need'>remove_files_we_dont_need</span>
|
|
483
647
|
<span class='id identifier rubyid_build'>build</span> <span class='symbol'>:remove_public_index</span>
|
|
@@ -487,6 +651,47 @@
|
|
|
487
651
|
</td>
|
|
488
652
|
</tr>
|
|
489
653
|
</table>
|
|
654
|
+
</div>
|
|
655
|
+
|
|
656
|
+
<div class="method_details ">
|
|
657
|
+
<h3 class="signature " id="run_bundle-instance_method">
|
|
658
|
+
|
|
659
|
+
- (<tt>Object</tt>) <strong>run_bundle</strong>
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
</h3><div class="docstring">
|
|
666
|
+
<div class="discussion">
|
|
667
|
+
|
|
668
|
+
<p>Override the original run_bundle to do nothing.</p>
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
</div>
|
|
672
|
+
</div>
|
|
673
|
+
<div class="tags">
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
</div><table class="source_code">
|
|
677
|
+
<tr>
|
|
678
|
+
<td>
|
|
679
|
+
<pre class="lines">
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
88
|
|
683
|
+
89
|
|
684
|
+
90</pre>
|
|
685
|
+
</td>
|
|
686
|
+
<td>
|
|
687
|
+
<pre class="code"><span class="info file"># File 'lib/mosh_generator/generators/app_generator.rb', line 88</span>
|
|
688
|
+
|
|
689
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_run_bundle'>run_bundle</span>
|
|
690
|
+
<span class='id identifier rubyid_bundle_command'>bundle_command</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>install --without production staging</span><span class='tstring_end'>'</span></span>
|
|
691
|
+
<span class='kw'>end</span></pre>
|
|
692
|
+
</td>
|
|
693
|
+
</tr>
|
|
694
|
+
</table>
|
|
490
695
|
</div>
|
|
491
696
|
|
|
492
697
|
</div>
|
|
@@ -494,7 +699,7 @@
|
|
|
494
699
|
</div>
|
|
495
700
|
|
|
496
701
|
<div id="footer">
|
|
497
|
-
Generated on
|
|
702
|
+
Generated on Thu Jun 6 20:09:25 2013 by
|
|
498
703
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
499
704
|
0.8.6.1 (ruby-2.0.0).
|
|
500
705
|
</div>
|
data/doc/_index.html
CHANGED
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
</div>
|
|
124
124
|
|
|
125
125
|
<div id="footer">
|
|
126
|
-
Generated on
|
|
126
|
+
Generated on Thu Jun 6 20:09:24 2013 by
|
|
127
127
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
128
128
|
0.8.6.1 (ruby-2.0.0).
|
|
129
129
|
</div>
|
data/doc/file.README.html
CHANGED
data/doc/index.html
CHANGED
data/doc/method_list.html
CHANGED
|
@@ -52,6 +52,18 @@
|
|
|
52
52
|
</li>
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
<li class="r2 ">
|
|
56
|
+
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#configure_grunt-instance_method" title="MoshGenerator::AppBuilder#configure_grunt (method)">#configure_grunt</a></span>
|
|
57
|
+
<small>MoshGenerator::AppBuilder</small>
|
|
58
|
+
</li>
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
<li class="r1 ">
|
|
62
|
+
<span class='object_link'><a href="MoshGenerator/AppGenerator.html#create_application_structure-instance_method" title="MoshGenerator::AppGenerator#create_application_structure (method)">#create_application_structure</a></span>
|
|
63
|
+
<small>MoshGenerator::AppGenerator</small>
|
|
64
|
+
</li>
|
|
65
|
+
|
|
66
|
+
|
|
55
67
|
<li class="r2 ">
|
|
56
68
|
<span class='object_link'><a href="MoshGenerator/AppGenerator.html#create_configuration_files-instance_method" title="MoshGenerator::AppGenerator#create_configuration_files (method)">#create_configuration_files</a></span>
|
|
57
69
|
<small>MoshGenerator::AppGenerator</small>
|
|
@@ -65,35 +77,71 @@
|
|
|
65
77
|
|
|
66
78
|
|
|
67
79
|
<li class="r2 ">
|
|
68
|
-
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#
|
|
80
|
+
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#create_helpers-instance_method" title="MoshGenerator::AppBuilder#create_helpers (method)">#create_helpers</a></span>
|
|
81
|
+
<small>MoshGenerator::AppBuilder</small>
|
|
82
|
+
</li>
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
<li class="r1 ">
|
|
86
|
+
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#create_layout-instance_method" title="MoshGenerator::AppBuilder#create_layout (method)">#create_layout</a></span>
|
|
87
|
+
<small>MoshGenerator::AppBuilder</small>
|
|
88
|
+
</li>
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
<li class="r2 ">
|
|
92
|
+
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#create_partial_views-instance_method" title="MoshGenerator::AppBuilder#create_partial_views (method)">#create_partial_views</a></span>
|
|
69
93
|
<small>MoshGenerator::AppBuilder</small>
|
|
70
94
|
</li>
|
|
71
95
|
|
|
72
96
|
|
|
73
97
|
<li class="r1 ">
|
|
98
|
+
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#create_ruby_gemset_file-instance_method" title="MoshGenerator::AppBuilder#create_ruby_gemset_file (method)">#create_ruby_gemset_file</a></span>
|
|
99
|
+
<small>MoshGenerator::AppBuilder</small>
|
|
100
|
+
</li>
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
<li class="r2 ">
|
|
74
104
|
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#create_ruby_version_file-instance_method" title="MoshGenerator::AppBuilder#create_ruby_version_file (method)">#create_ruby_version_file</a></span>
|
|
75
105
|
<small>MoshGenerator::AppBuilder</small>
|
|
76
106
|
</li>
|
|
77
107
|
|
|
78
108
|
|
|
109
|
+
<li class="r1 ">
|
|
110
|
+
<span class='object_link'><a href="MoshGenerator/AppGenerator.html#create_staging_environment-instance_method" title="MoshGenerator::AppGenerator#create_staging_environment (method)">#create_staging_environment</a></span>
|
|
111
|
+
<small>MoshGenerator::AppGenerator</small>
|
|
112
|
+
</li>
|
|
113
|
+
|
|
114
|
+
|
|
79
115
|
<li class="r2 ">
|
|
80
|
-
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#
|
|
116
|
+
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#create_staging_environment_file-instance_method" title="MoshGenerator::AppBuilder#create_staging_environment_file (method)">#create_staging_environment_file</a></span>
|
|
81
117
|
<small>MoshGenerator::AppBuilder</small>
|
|
82
118
|
</li>
|
|
83
119
|
|
|
84
120
|
|
|
85
121
|
<li class="r1 ">
|
|
122
|
+
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#database_yml-instance_method" title="MoshGenerator::AppBuilder#database_yml (method)">#database_yml</a></span>
|
|
123
|
+
<small>MoshGenerator::AppBuilder</small>
|
|
124
|
+
</li>
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
<li class="r2 ">
|
|
86
128
|
<span class='object_link'><a href="MoshGenerator/AppGenerator.html#finish_template-instance_method" title="MoshGenerator::AppGenerator#finish_template (method)">#finish_template</a></span>
|
|
87
129
|
<small>MoshGenerator::AppGenerator</small>
|
|
88
130
|
</li>
|
|
89
131
|
|
|
90
132
|
|
|
91
|
-
<li class="
|
|
133
|
+
<li class="r1 ">
|
|
92
134
|
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#gemfile-instance_method" title="MoshGenerator::AppBuilder#gemfile (method)">#gemfile</a></span>
|
|
93
135
|
<small>MoshGenerator::AppBuilder</small>
|
|
94
136
|
</li>
|
|
95
137
|
|
|
96
138
|
|
|
139
|
+
<li class="r2 ">
|
|
140
|
+
<span class='object_link'><a href="MoshGenerator/AppBuilder.html#gitignore-instance_method" title="MoshGenerator::AppBuilder#gitignore (method)">#gitignore</a></span>
|
|
141
|
+
<small>MoshGenerator::AppBuilder</small>
|
|
142
|
+
</li>
|
|
143
|
+
|
|
144
|
+
|
|
97
145
|
<li class="r1 ">
|
|
98
146
|
<span class='object_link'><a href="MoshGenerator/AppGenerator.html#mosh_generator_customization-instance_method" title="MoshGenerator::AppGenerator#mosh_generator_customization (method)">#mosh_generator_customization</a></span>
|
|
99
147
|
<small>MoshGenerator::AppGenerator</small>
|
|
@@ -136,6 +184,12 @@
|
|
|
136
184
|
</li>
|
|
137
185
|
|
|
138
186
|
|
|
187
|
+
<li class="r2 ">
|
|
188
|
+
<span class='object_link'><a href="MoshGenerator/AppGenerator.html#run_bundle-instance_method" title="MoshGenerator::AppGenerator#run_bundle (method)">#run_bundle</a></span>
|
|
189
|
+
<small>MoshGenerator::AppGenerator</small>
|
|
190
|
+
</li>
|
|
191
|
+
|
|
192
|
+
|
|
139
193
|
</ul>
|
|
140
194
|
</div>
|
|
141
195
|
</body>
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
<div id="footer">
|
|
106
|
-
Generated on
|
|
106
|
+
Generated on Thu Jun 6 20:09:25 2013 by
|
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
108
108
|
0.8.6.1 (ruby-2.0.0).
|
|
109
109
|
</div>
|
data/templates/Gemfile.tt
CHANGED
data/templates/Gruntfile.js
CHANGED
|
@@ -61,9 +61,13 @@ module.exports = function (grunt) {
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
watch: {
|
|
64
|
-
|
|
64
|
+
javascripts: {
|
|
65
65
|
files: '<%= jshint.all.src %>',
|
|
66
|
-
tasks: ['jshint
|
|
66
|
+
tasks: ['jshint', 'concat', 'uglify']
|
|
67
|
+
},
|
|
68
|
+
stylesheets: {
|
|
69
|
+
files: 'public/<%= compass.options.sassDir %>/**/*.scss',
|
|
70
|
+
tasks: 'compass'
|
|
67
71
|
}
|
|
68
72
|
}
|
|
69
73
|
});
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mosh_generator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mosh Creative
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-06-
|
|
11
|
+
date: 2013-06-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|