meroku 2.0.9 → 2.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -0
- data/LICENSE.txt +1 -1
- data/README.md +6 -11
- data/circle.yml +2 -1
- data/frontend/public/Meroku.html +2 -2
- data/frontend/public/Meroku/Api.html +1 -1
- data/frontend/public/Meroku/Api/Request.html +1 -1
- data/frontend/public/Meroku/Aws/Ec2.html +2 -2
- data/frontend/public/Meroku/CLI.html +51 -39
- data/frontend/public/Meroku/CLI/Help.html +1 -1
- data/frontend/public/Meroku/CLI/Secrets.html +1 -1
- data/frontend/public/Meroku/CLI/Session.html +19 -23
- data/frontend/public/Meroku/Extensions.html +1 -1
- data/frontend/public/Meroku/Infrastructure.html +1 -1
- data/frontend/public/Meroku/Infrastructure/Server.html +1 -1
- data/frontend/public/Meroku/Node.html +2 -2
- data/frontend/public/Meroku/Tunnelable.html +6 -2
- data/frontend/public/_index.html +1 -1
- data/frontend/public/file.README.html +15 -17
- data/frontend/public/index.html +15 -17
- data/frontend/public/top-level-namespace.html +1 -1
- data/lib/meroku/aws.rb +1 -1
- data/lib/meroku/node.rb +1 -1
- data/lib/meroku/version.rb +1 -1
- metadata +1 -9
- data/.env.example +0 -2
- data/Guardfile +0 -47
- data/exe/meroku +0 -9
- data/frontend/public/Meroku/Aws.html +0 -212
- data/frontend/public/Meroku/CLI/AdminUser.html +0 -192
- data/frontend/public/Meroku/CLI/User.html +0 -182
- data/frontend/public/Meroku/Infrastructure/Node.html +0 -785
- data/frontend/public/Meroku/Tunnel.html +0 -701
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8169aa034ad9558e96fd4e6d7f4cf05550dda867
|
4
|
+
data.tar.gz: 97843066c895eaea258d5711231275384223d800
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3df9074648c7c056c49f4d51c317af6e3caa4b535c35cf1730184e448b3187e37e3ce54555fe78ac279b5837cfce56ce11c03cbfedd773c7f235e2c2d47ebc2
|
7
|
+
data.tar.gz: c1c9bf695e56175dfd347038be28a34cbbb83d54d6187a56c648e659bdf6c6cb35422b73b85d11a769f553b0ad8d326be66628c41f1e169bda31928e843611b7
|
data/.travis.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
+
env:
|
2
|
+
global:
|
3
|
+
- CC_TEST_REPORTER_ID=787a2f89b15c637323c7340d65ec17e898ac44480706b4b4122ea040c2a88f1d
|
1
4
|
sudo: false
|
2
5
|
language: ruby
|
3
6
|
rvm:
|
4
7
|
- 2.4.2
|
8
|
+
before_script:
|
9
|
+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
10
|
+
- chmod +x ./cc-test-reporter
|
11
|
+
- ./cc-test-reporter before-build
|
12
|
+
|
5
13
|
before_install: gem install bundler -v 1.15.4
|
14
|
+
after_script:
|
15
|
+
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/
|
4
|
-
[![Coverage
|
5
|
-
[![Maintainability](https://api.codeclimate.com/v1/badges/
|
6
|
-
[![Dependency Status](https://gemnasium.com/badges/github.com/
|
3
|
+
[![Build Status](https://travis-ci.org/meroku/meroku.svg?branch=master)](https://travis-ci.org/meroku/meroku)
|
4
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/cfec7757799809e85194/test_coverage)](https://codeclimate.com/github/meroku/meroku/test_coverage)
|
5
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/cfec7757799809e85194/maintainability)](https://codeclimate.com/github/meroku/meroku/maintainability)
|
6
|
+
[![Dependency Status](https://gemnasium.com/badges/github.com/meroku/meroku.svg)](https://gemnasium.com/github.com/meroku/meroku)
|
7
7
|
[![Gem Version](https://badge.fury.io/rb/meroku.svg)](https://badge.fury.io/rb/meroku)
|
8
|
+
[![Gratipay](https://img.shields.io/gratipay/user/meroku.svg)](https://gratipay.com/meroku/)
|
8
9
|
|
9
|
-
|
10
|
-
# Getting started
|
10
|
+
## My Heroku (Meroku), because hosting 100 apps costs $700 ($7x100) at heroku.com
|
11
11
|
|
12
12
|
Ruby on Rails is a popular web framework written in Ruby. This guide covers using Rails 5 on Meroku. To follow along, you need
|
13
13
|
|
@@ -95,11 +95,6 @@ You will need a copy of the file `.secret`. Place it at `~/.meroku/.secret`
|
|
95
95
|
- Only RAILS_ENV=procution is supported at the moment
|
96
96
|
- Only puma is supported at the moment
|
97
97
|
|
98
|
-
- Nightly spawn
|
99
|
-
- respons time sanity check and full-lifecycle topics
|
100
|
-
- piper visual check
|
101
|
-
- some commodity apps
|
102
|
-
|
103
98
|
### To Run tests
|
104
99
|
|
105
100
|
rake
|
data/circle.yml
CHANGED
data/frontend/public/Meroku.html
CHANGED
@@ -115,7 +115,7 @@
|
|
115
115
|
<dt id="VERSION-constant" class="">VERSION =
|
116
116
|
|
117
117
|
</dt>
|
118
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>2.0.
|
118
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>2.0.9</span><span class='tstring_end'>"</span></span></pre></dd>
|
119
119
|
|
120
120
|
</dl>
|
121
121
|
|
@@ -130,7 +130,7 @@
|
|
130
130
|
</div>
|
131
131
|
|
132
132
|
<div id="footer">
|
133
|
-
Generated on
|
133
|
+
Generated on Wed Nov 1 08:50:09 2017 by
|
134
134
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
135
135
|
0.9.9 (ruby-2.4.2).
|
136
136
|
</div>
|
@@ -119,7 +119,7 @@ logout, keys:add etc</p>
|
|
119
119
|
</div>
|
120
120
|
|
121
121
|
<div id="footer">
|
122
|
-
Generated on
|
122
|
+
Generated on Wed Nov 1 08:50:10 2017 by
|
123
123
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
124
124
|
0.9.9 (ruby-2.4.2).
|
125
125
|
</div>
|
@@ -211,7 +211,7 @@
|
|
211
211
|
</div>
|
212
212
|
|
213
213
|
<div id="footer">
|
214
|
-
Generated on
|
214
|
+
Generated on Wed Nov 1 08:50:10 2017 by
|
215
215
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
216
216
|
0.9.9 (ruby-2.4.2).
|
217
217
|
</div>
|
@@ -408,7 +408,7 @@
|
|
408
408
|
<span class='label'>max_count:</span> <span class='int'>1</span><span class='comma'>,</span>
|
409
409
|
<span class='label'>key_name:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>meroku.id_rsa</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
410
410
|
<span class='label'>instance_type:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>t2.micro</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
411
|
-
<span class='label'>tag_specifications:</span> <span class='lbracket'>[</span><span class='
|
411
|
+
<span class='label'>tag_specifications:</span> <span class='lbracket'>[</span><span class='id identifier rubyid_tag'>tag</span><span class='rbracket'>]</span>
|
412
412
|
<span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_instances'>instances</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
|
413
413
|
<span class='kw'>end</span></pre>
|
414
414
|
</td>
|
@@ -467,7 +467,7 @@
|
|
467
467
|
</div>
|
468
468
|
|
469
469
|
<div id="footer">
|
470
|
-
Generated on
|
470
|
+
Generated on Wed Nov 1 08:50:10 2017 by
|
471
471
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
472
472
|
0.9.9 (ruby-2.4.2).
|
473
473
|
</div>
|
@@ -388,15 +388,15 @@
|
|
388
388
|
<pre class="lines">
|
389
389
|
|
390
390
|
|
391
|
-
61
|
392
|
-
62
|
393
|
-
63
|
394
391
|
64
|
395
392
|
65
|
396
|
-
66
|
393
|
+
66
|
394
|
+
67
|
395
|
+
68
|
396
|
+
69</pre>
|
397
397
|
</td>
|
398
398
|
<td>
|
399
|
-
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line
|
399
|
+
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line 64</span>
|
400
400
|
|
401
401
|
<span class='kw'>def</span> <span class='id identifier rubyid_add_git_remote'>add_git_remote</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_uri'>uri</span><span class='rparen'>)</span>
|
402
402
|
<span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>git remote remove </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
@@ -424,12 +424,12 @@
|
|
424
424
|
<pre class="lines">
|
425
425
|
|
426
426
|
|
427
|
-
|
428
|
-
|
429
|
-
|
427
|
+
60
|
428
|
+
61
|
429
|
+
62</pre>
|
430
430
|
</td>
|
431
431
|
<td>
|
432
|
-
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line
|
432
|
+
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line 60</span>
|
433
433
|
|
434
434
|
<span class='kw'>def</span> <span class='id identifier rubyid_apiusername'>apiusername</span>
|
435
435
|
<span class='backtick'>`</span><span class='tstring_content'>cat ~/.meroku/.apiusername.chomp</span><span class='tstring_end'>`</span></span>
|
@@ -454,8 +454,6 @@
|
|
454
454
|
<pre class="lines">
|
455
455
|
|
456
456
|
|
457
|
-
44
|
458
|
-
45
|
459
457
|
46
|
460
458
|
47
|
461
459
|
48
|
@@ -465,10 +463,13 @@
|
|
465
463
|
52
|
466
464
|
53
|
467
465
|
54
|
468
|
-
55
|
466
|
+
55
|
467
|
+
56
|
468
|
+
57
|
469
|
+
58</pre>
|
469
470
|
</td>
|
470
471
|
<td>
|
471
|
-
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line
|
472
|
+
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line 46</span>
|
472
473
|
|
473
474
|
<span class='kw'>def</span> <span class='id identifier rubyid_create'>create</span>
|
474
475
|
<span class='const'><span class='object_link'><a href="../Meroku.html" title="Meroku (module)">Meroku</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Api.html" title="Meroku::Api (module)">Api</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Api/Request.html" title="Meroku::Api::Request (module)">Request</a></span></span><span class='period'>.</span><span class='id identifier rubyid_post'><span class='object_link'><a href="Api/Request.html#post-class_method" title="Meroku::Api::Request.post (method)">post</a></span></span><span class='lparen'>(</span>
|
@@ -481,6 +482,7 @@
|
|
481
482
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_apiusername'>apiusername</span><span class='embexpr_end'>}</span><span class='tstring_content'>@www.meroku.com:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_response'>response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>attributes</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>name</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>.git</span><span class='tstring_end'>"</span></span>
|
482
483
|
<span class='rparen'>)</span>
|
483
484
|
<span class='kw'>end</span>
|
485
|
+
<span class='kw'>true</span>
|
484
486
|
<span class='kw'>end</span></pre>
|
485
487
|
</td>
|
486
488
|
</tr>
|
@@ -502,17 +504,19 @@
|
|
502
504
|
<pre class="lines">
|
503
505
|
|
504
506
|
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
507
|
+
93
|
508
|
+
94
|
509
|
+
95
|
510
|
+
96
|
511
|
+
97</pre>
|
509
512
|
</td>
|
510
513
|
<td>
|
511
|
-
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line
|
514
|
+
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line 93</span>
|
512
515
|
|
513
516
|
<span class='kw'>def</span> <span class='id identifier rubyid_despawn'>despawn</span>
|
514
517
|
<span class='const'><span class='object_link'><a href="../Meroku.html" title="Meroku (module)">Meroku</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="Meroku::CLI (module)">CLI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CLI/Secrets.html" title="Meroku::CLI::Secrets (module)">Secrets</a></span></span><span class='period'>.</span><span class='id identifier rubyid_load'><span class='object_link'><a href="CLI/Secrets.html#load-class_method" title="Meroku::CLI::Secrets.load (method)">load</a></span></span><span class='lparen'>(</span><span class='label'>admin:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
515
518
|
<span class='const'><span class='object_link'><a href="../Meroku.html" title="Meroku (module)">Meroku</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Infrastructure.html" title="Meroku::Infrastructure (module)">Infrastructure</a></span></span><span class='period'>.</span><span class='id identifier rubyid_each_server'><span class='object_link'><a href="Infrastructure.html#each_server-class_method" title="Meroku::Infrastructure.each_server (method)">each_server</a></span></span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:shutdown</span><span class='rparen'>)</span>
|
519
|
+
<span class='kw'>true</span>
|
516
520
|
<span class='kw'>end</span></pre>
|
517
521
|
</td>
|
518
522
|
</tr>
|
@@ -534,9 +538,6 @@
|
|
534
538
|
<pre class="lines">
|
535
539
|
|
536
540
|
|
537
|
-
68
|
538
|
-
69
|
539
|
-
70
|
540
541
|
71
|
541
542
|
72
|
542
543
|
73
|
@@ -545,10 +546,14 @@
|
|
545
546
|
76
|
546
547
|
77
|
547
548
|
78
|
548
|
-
79
|
549
|
+
79
|
550
|
+
80
|
551
|
+
81
|
552
|
+
82
|
553
|
+
83</pre>
|
549
554
|
</td>
|
550
555
|
<td>
|
551
|
-
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line
|
556
|
+
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line 71</span>
|
552
557
|
|
553
558
|
<span class='kw'>def</span> <span class='id identifier rubyid_keys_add'>keys_add</span>
|
554
559
|
<span class='id identifier rubyid_file'>file</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_home'>home</span><span class='embexpr_end'>}</span><span class='tstring_content'>/.ssh/id_rsa.pub</span><span class='tstring_end'>"</span></span>
|
@@ -561,6 +566,7 @@
|
|
561
566
|
<span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_response'>response</span><span class='op'>|</span>
|
562
567
|
<span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Added </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_response'>response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>attributes</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>name</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
563
568
|
<span class='kw'>end</span>
|
569
|
+
<span class='kw'>true</span>
|
564
570
|
<span class='kw'>end</span></pre>
|
565
571
|
</td>
|
566
572
|
</tr>
|
@@ -592,7 +598,8 @@
|
|
592
598
|
30
|
593
599
|
31
|
594
600
|
32
|
595
|
-
33
|
601
|
+
33
|
602
|
+
34</pre>
|
596
603
|
</td>
|
597
604
|
<td>
|
598
605
|
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line 23</span>
|
@@ -607,6 +614,7 @@
|
|
607
614
|
<span class='id identifier rubyid_save_setting'>save_setting</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>apiusername</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_response'>response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>attributes</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>apiusername</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
608
615
|
<span class='id identifier rubyid_save_setting'>save_setting</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>apisecret</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_response'>response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>attributes</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>apisecret</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
609
616
|
<span class='kw'>end</span>
|
617
|
+
<span class='kw'>true</span>
|
610
618
|
<span class='kw'>end</span></pre>
|
611
619
|
</td>
|
612
620
|
</tr>
|
@@ -628,17 +636,18 @@
|
|
628
636
|
<pre class="lines">
|
629
637
|
|
630
638
|
|
631
|
-
35
|
632
639
|
36
|
633
640
|
37
|
634
641
|
38
|
635
642
|
39
|
636
643
|
40
|
637
644
|
41
|
638
|
-
42
|
645
|
+
42
|
646
|
+
43
|
647
|
+
44</pre>
|
639
648
|
</td>
|
640
649
|
<td>
|
641
|
-
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line
|
650
|
+
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line 36</span>
|
642
651
|
|
643
652
|
<span class='kw'>def</span> <span class='id identifier rubyid_logout'>logout</span>
|
644
653
|
<span class='lbracket'>[</span>
|
@@ -647,6 +656,7 @@
|
|
647
656
|
<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_f'>f</span><span class='op'>|</span>
|
648
657
|
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_exist?'>exist?</span><span class='lparen'>(</span><span class='id identifier rubyid_f'>f</span><span class='rparen'>)</span>
|
649
658
|
<span class='kw'>end</span>
|
659
|
+
<span class='kw'>true</span>
|
650
660
|
<span class='kw'>end</span></pre>
|
651
661
|
</td>
|
652
662
|
</tr>
|
@@ -668,13 +678,13 @@
|
|
668
678
|
<pre class="lines">
|
669
679
|
|
670
680
|
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
681
|
+
99
|
682
|
+
100
|
683
|
+
101
|
684
|
+
102</pre>
|
675
685
|
</td>
|
676
686
|
<td>
|
677
|
-
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line
|
687
|
+
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line 99</span>
|
678
688
|
|
679
689
|
<span class='kw'>def</span> <span class='id identifier rubyid_save_setting'>save_setting</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
680
690
|
<span class='const'>FileUtils</span><span class='period'>.</span><span class='id identifier rubyid_mkdir_p'>mkdir_p</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_home'>home</span><span class='embexpr_end'>}</span><span class='tstring_content'>/.meroku</span><span class='tstring_end'>"</span></span>
|
@@ -748,21 +758,23 @@
|
|
748
758
|
<pre class="lines">
|
749
759
|
|
750
760
|
|
751
|
-
81
|
752
|
-
82
|
753
|
-
83
|
754
|
-
84
|
755
761
|
85
|
756
|
-
86
|
762
|
+
86
|
763
|
+
87
|
764
|
+
88
|
765
|
+
89
|
766
|
+
90
|
767
|
+
91</pre>
|
757
768
|
</td>
|
758
769
|
<td>
|
759
|
-
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line
|
770
|
+
<pre class="code"><span class="info file"># File 'lib/meroku/cli.rb', line 85</span>
|
760
771
|
|
761
772
|
<span class='kw'>def</span> <span class='id identifier rubyid_spawn'>spawn</span>
|
762
773
|
<span class='const'><span class='object_link'><a href="../Meroku.html" title="Meroku (module)">Meroku</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="Meroku::CLI (module)">CLI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="CLI/Secrets.html" title="Meroku::CLI::Secrets (module)">Secrets</a></span></span><span class='period'>.</span><span class='id identifier rubyid_load'><span class='object_link'><a href="CLI/Secrets.html#load-class_method" title="Meroku::CLI::Secrets.load (method)">load</a></span></span><span class='lparen'>(</span><span class='label'>admin:</span> <span class='kw'>true</span><span class='rparen'>)</span>
|
763
774
|
<span class='id identifier rubyid_node'>node</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Meroku.html" title="Meroku (module)">Meroku</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Node.html" title="Meroku::Node (class)">Node</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Node.html#initialize-instance_method" title="Meroku::Node#initialize (method)">new</a></span></span>
|
764
775
|
<span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_associate_address'>associate_address</span><span class='period'>.</span><span class='id identifier rubyid_configure_keys'>configure_keys</span><span class='period'>.</span><span class='id identifier rubyid_add_sources'>add_sources</span><span class='period'>.</span><span class='id identifier rubyid_ubuntu_updates'>ubuntu_updates</span>
|
765
776
|
<span class='id identifier rubyid_node'>node</span><span class='period'>.</span><span class='id identifier rubyid_install_packages'>install_packages</span><span class='period'>.</span><span class='id identifier rubyid_database_inits'>database_inits</span><span class='period'>.</span><span class='id identifier rubyid_git_clone'>git_clone</span><span class='period'>.</span><span class='id identifier rubyid_nginx_configs'>nginx_configs</span><span class='period'>.</span><span class='id identifier rubyid_start_rails'>start_rails</span>
|
777
|
+
<span class='kw'>true</span>
|
766
778
|
<span class='kw'>end</span></pre>
|
767
779
|
</td>
|
768
780
|
</tr>
|
@@ -774,7 +786,7 @@
|
|
774
786
|
</div>
|
775
787
|
|
776
788
|
<div id="footer">
|
777
|
-
Generated on
|
789
|
+
Generated on Wed Nov 1 08:50:10 2017 by
|
778
790
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
779
791
|
0.9.9 (ruby-2.4.2).
|
780
792
|
</div>
|
@@ -214,7 +214,7 @@
|
|
214
214
|
</div>
|
215
215
|
|
216
216
|
<div id="footer">
|
217
|
-
Generated on
|
217
|
+
Generated on Wed Nov 1 08:50:10 2017 by
|
218
218
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
219
219
|
0.9.9 (ruby-2.4.2).
|
220
220
|
</div>
|
@@ -181,7 +181,7 @@
|
|
181
181
|
</div>
|
182
182
|
|
183
183
|
<div id="footer">
|
184
|
-
Generated on
|
184
|
+
Generated on Wed Nov 1 08:50:10 2017 by
|
185
185
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
186
186
|
0.9.9 (ruby-2.4.2).
|
187
187
|
</div>
|
@@ -332,27 +332,25 @@
|
|
332
332
|
<pre class="lines">
|
333
333
|
|
334
334
|
|
335
|
+
36
|
335
336
|
37
|
336
337
|
38
|
337
338
|
39
|
338
339
|
40
|
339
340
|
41
|
340
341
|
42
|
341
|
-
43
|
342
|
-
44
|
343
|
-
45</pre>
|
342
|
+
43</pre>
|
344
343
|
</td>
|
345
344
|
<td>
|
346
|
-
<pre class="code"><span class="info file"># File 'lib/meroku/cli/session.rb', line
|
345
|
+
<pre class="code"><span class="info file"># File 'lib/meroku/cli/session.rb', line 36</span>
|
347
346
|
|
348
347
|
<span class='kw'>def</span> <span class='id identifier rubyid_process_admin_command'>process_admin_command</span><span class='lparen'>(</span><span class='id identifier rubyid_arguments'>arguments</span><span class='rparen'>)</span>
|
349
|
-
<span class='
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
<span class='id identifier rubyid_processed'>processed</span>
|
348
|
+
<span class='kw'>case</span> <span class='id identifier rubyid_arguments'>arguments</span>
|
349
|
+
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>infrastructure spawn</span><span class='tstring_end'>'</span></span>
|
350
|
+
<span class='id identifier rubyid_spawn'>spawn</span>
|
351
|
+
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>infrastructure despawn</span><span class='tstring_end'>'</span></span>
|
352
|
+
<span class='id identifier rubyid_despawn'>despawn</span>
|
353
|
+
<span class='kw'>end</span>
|
356
354
|
<span class='kw'>end</span></pre>
|
357
355
|
</td>
|
358
356
|
</tr>
|
@@ -393,9 +391,9 @@
|
|
393
391
|
<span class='kw'>when</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\Asignup</span><span class='regexp_end'>/</span></span>
|
394
392
|
<span class='id identifier rubyid_signup'>signup</span>
|
395
393
|
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>logout</span><span class='tstring_end'>'</span></span>
|
396
|
-
<span class='id identifier rubyid_logout'>logout</span>
|
394
|
+
<span class='id identifier rubyid_logout'>logout</span>
|
397
395
|
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>login</span><span class='tstring_end'>'</span></span>
|
398
|
-
<span class='id identifier rubyid_login'>login</span>
|
396
|
+
<span class='id identifier rubyid_login'>login</span>
|
399
397
|
<span class='kw'>end</span>
|
400
398
|
<span class='kw'>end</span></pre>
|
401
399
|
</td>
|
@@ -425,20 +423,18 @@
|
|
425
423
|
31
|
426
424
|
32
|
427
425
|
33
|
428
|
-
34
|
429
|
-
35</pre>
|
426
|
+
34</pre>
|
430
427
|
</td>
|
431
428
|
<td>
|
432
429
|
<pre class="code"><span class="info file"># File 'lib/meroku/cli/session.rb', line 27</span>
|
433
430
|
|
434
431
|
<span class='kw'>def</span> <span class='id identifier rubyid_process_user_other_command'>process_user_other_command</span><span class='lparen'>(</span><span class='id identifier rubyid_arguments'>arguments</span><span class='rparen'>)</span>
|
435
|
-
<span class='
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
<span class='id identifier rubyid_processed'>processed</span>
|
432
|
+
<span class='kw'>case</span> <span class='id identifier rubyid_arguments'>arguments</span>
|
433
|
+
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>create</span><span class='tstring_end'>'</span></span>
|
434
|
+
<span class='id identifier rubyid_create'>create</span>
|
435
|
+
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>keys:add</span><span class='tstring_end'>'</span></span>
|
436
|
+
<span class='id identifier rubyid_keys_add'>keys_add</span>
|
437
|
+
<span class='kw'>end</span>
|
442
438
|
<span class='kw'>end</span></pre>
|
443
439
|
</td>
|
444
440
|
</tr>
|
@@ -450,7 +446,7 @@
|
|
450
446
|
</div>
|
451
447
|
|
452
448
|
<div id="footer">
|
453
|
-
Generated on
|
449
|
+
Generated on Wed Nov 1 08:50:10 2017 by
|
454
450
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
455
451
|
0.9.9 (ruby-2.4.2).
|
456
452
|
</div>
|