rbcli 0.2.12 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -0
  3. data/Gemfile.lock +39 -38
  4. data/docs-src/content/development/changelog.md +16 -1
  5. data/docs-src/themes/hugo-theme-learn/CHANGELOG.md +74 -2
  6. data/docs-src/themes/hugo-theme-learn/README.md +42 -5
  7. data/docs-src/themes/hugo-theme-learn/exampleSite/config.toml +27 -0
  8. data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/_index.zh.md +12 -0
  9. data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/configuration/_index.en.md +6 -4
  10. data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/configuration/_index.fr.md +7 -5
  11. data/docs-src/themes/hugo-theme-learn/exampleSite/content/basics/installation/_index.en.md +1 -1
  12. data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/markdown.en.md +88 -61
  13. data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/pages/_index.fr.md +3 -3
  14. data/docs-src/themes/hugo-theme-learn/exampleSite/content/cont/syntaxhighlight.en.md +89 -0
  15. data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/children/_index.en.md +2 -2
  16. data/docs-src/themes/hugo-theme-learn/exampleSite/content/shortcodes/notice.en.md +2 -2
  17. data/docs-src/themes/hugo-theme-learn/exampleSite/content/showcase.en.md +4 -1
  18. data/docs-src/themes/hugo-theme-learn/exampleSite/content/showcase.fr.md +4 -1
  19. data/docs-src/themes/hugo-theme-learn/exampleSite/static/fonts/monogramos-webfont.svg +1 -237
  20. data/docs-src/themes/hugo-theme-learn/exampleSite/static/images/showcase/inteliver_docs.png +0 -0
  21. data/docs-src/themes/hugo-theme-learn/exampleSite/static/images/showcase/tshark_dev.png +0 -0
  22. data/docs-src/themes/hugo-theme-learn/i18n/ar.toml +26 -0
  23. data/docs-src/themes/hugo-theme-learn/i18n/de.toml +26 -0
  24. data/docs-src/themes/hugo-theme-learn/i18n/hi.toml +26 -0
  25. data/docs-src/themes/hugo-theme-learn/i18n/ja.toml +26 -0
  26. data/docs-src/themes/hugo-theme-learn/i18n/ru.toml +26 -0
  27. data/docs-src/themes/hugo-theme-learn/i18n/zh-cn.toml +26 -0
  28. data/docs-src/themes/hugo-theme-learn/layouts/_default/list.html +1 -1
  29. data/docs-src/themes/hugo-theme-learn/layouts/_default/single.html +1 -2
  30. data/docs-src/themes/hugo-theme-learn/layouts/partials/footer.html +3 -4
  31. data/docs-src/themes/hugo-theme-learn/layouts/partials/header.html +8 -6
  32. data/docs-src/themes/hugo-theme-learn/layouts/partials/menu.html +6 -5
  33. data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/children.html +2 -2
  34. data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/ref.html +1 -1
  35. data/docs-src/themes/hugo-theme-learn/layouts/shortcodes/relref.html +1 -1
  36. data/docs-src/themes/hugo-theme-learn/netlify.toml +1 -2
  37. data/docs-src/themes/hugo-theme-learn/static/css/theme.css +4 -0
  38. data/docs-src/themes/hugo-theme-learn/static/fonts/Inconsolata.svg +1 -359
  39. data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-Normal-webfont.svg +1 -1019
  40. data/docs-src/themes/hugo-theme-learn/static/fonts/Novecentosanswide-UltraLight-webfont.svg +1 -918
  41. data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_200.svg +1 -332
  42. data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_300.svg +1 -331
  43. data/docs-src/themes/hugo-theme-learn/static/fonts/Work_Sans_500.svg +1 -333
  44. data/docs-src/themes/hugo-theme-learn/static/images/clippy.svg +1 -1
  45. data/docs-src/themes/hugo-theme-learn/static/js/auto-complete.js +3 -223
  46. data/docs-src/themes/hugo-theme-learn/static/js/highlight.pack.js +6 -3
  47. data/docs-src/themes/hugo-theme-learn/static/js/hugo-learn.js +8 -5
  48. data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-brands-400.svg +1 -1260
  49. data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-regular-400.svg +1 -471
  50. data/docs-src/themes/hugo-theme-learn/static/webfonts/fa-solid-900.svg +1 -2763
  51. data/docs/404.html +8 -8
  52. data/docs/advanced/automatic_updates/index.html +85 -65
  53. data/docs/advanced/command_types/index.html +139 -144
  54. data/docs/advanced/distributed_state_locking/index.html +83 -55
  55. data/docs/advanced/hooks/index.html +94 -81
  56. data/docs/advanced/index.html +75 -34
  57. data/docs/advanced/index.xml +8 -8
  58. data/docs/advanced/interactive_commands/index.html +90 -66
  59. data/docs/advanced/logging/index.html +94 -67
  60. data/docs/advanced/remote_execution/index.html +94 -75
  61. data/docs/advanced/state_storage/index.html +122 -119
  62. data/docs/advanced/user_config_files/index.html +94 -71
  63. data/docs/categories/index.html +82 -30
  64. data/docs/categories/index.xml +1 -1
  65. data/docs/css/theme.css +4 -0
  66. data/docs/development/changelog/index.html +185 -177
  67. data/docs/development/code_of_conduct/index.html +85 -64
  68. data/docs/development/contributing/index.html +96 -96
  69. data/docs/development/index.html +75 -34
  70. data/docs/development/index.xml +2 -2
  71. data/docs/development/license/index.html +80 -46
  72. data/docs/fonts/Inconsolata.svg +1 -359
  73. data/docs/fonts/Novecentosanswide-Normal-webfont.svg +1 -1019
  74. data/docs/fonts/Novecentosanswide-UltraLight-webfont.svg +1 -918
  75. data/docs/fonts/Work_Sans_200.svg +1 -332
  76. data/docs/fonts/Work_Sans_300.svg +1 -331
  77. data/docs/fonts/Work_Sans_500.svg +1 -333
  78. data/docs/images/clippy.svg +1 -1
  79. data/docs/index.html +112 -61
  80. data/docs/index.json +24 -24
  81. data/docs/index.xml +13 -13
  82. data/docs/js/auto-complete.js +3 -223
  83. data/docs/js/highlight.pack.js +6 -3
  84. data/docs/js/hugo-learn.js +8 -5
  85. data/docs/quick_reference/index.html +126 -159
  86. data/docs/quick_reference/index.xml +1 -1
  87. data/docs/sitemap.xml +2 -4
  88. data/docs/tags/index.html +82 -30
  89. data/docs/tags/index.xml +1 -1
  90. data/docs/tutorial/10-getting_started/index.html +87 -66
  91. data/docs/tutorial/20-project_layout/index.html +126 -116
  92. data/docs/tutorial/30-your_first_command/index.html +151 -141
  93. data/docs/tutorial/40-options_parameters_and_arguments/index.html +233 -258
  94. data/docs/tutorial/50-publishing/index.html +86 -66
  95. data/docs/tutorial/index.html +75 -34
  96. data/docs/tutorial/index.xml +4 -4
  97. data/docs/webfonts/fa-brands-400.svg +1 -1260
  98. data/docs/webfonts/fa-regular-400.svg +1 -471
  99. data/docs/webfonts/fa-solid-900.svg +1 -2763
  100. data/docs/whoami/index.html +76 -46
  101. data/docs/whoami/index.xml +1 -1
  102. data/lib/rbcli/configuration/configurate_blocks/me.rb +5 -5
  103. data/lib/rbcli/util/deprecation_warning.rb +21 -4
  104. data/lib/rbcli/version.rb +1 -1
  105. data/rbcli.gemspec +8 -8
  106. data/skeletons/project/Gemfile +1 -1
  107. data/skeletons/project/config/general.rb +1 -1
  108. data/skeletons/project/lib/lib.erb +2 -0
  109. data/skeletons/project/spec/spec_helper.rb +7 -7
  110. data/skeletons/project/spec/untitled_spec.rb +6 -6
  111. data/skeletons/project/untitled.gemspec +28 -26
  112. metadata +29 -20
  113. data/docs-src/themes/hugo-theme-learn/static/js/html5shiv-printshiv.min.js +0 -4
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <meta name="generator" content="Hugo 0.55.6" />
6
+ <meta name="generator" content="Hugo 0.74.3" />
7
7
  <meta name="description" content="">
8
8
 
9
9
 
@@ -12,20 +12,21 @@
12
12
  <title>My Letter To You :: RBCli Documentation</title>
13
13
 
14
14
 
15
- <link href="/rbcli/css/nucleus.css?1561087612" rel="stylesheet">
16
- <link href="/rbcli/css/fontawesome-all.min.css?1561087612" rel="stylesheet">
17
- <link href="/rbcli/css/hybrid.css?1561087612" rel="stylesheet">
18
- <link href="/rbcli/css/featherlight.min.css?1561087612" rel="stylesheet">
19
- <link href="/rbcli/css/perfect-scrollbar.min.css?1561087612" rel="stylesheet">
20
- <link href="/rbcli/css/auto-complete.css?1561087612" rel="stylesheet">
21
- <link href="/rbcli/css/atom-one-dark-reasonable.css?1561087612" rel="stylesheet">
22
- <link href="/rbcli/css/theme.css?1561087612" rel="stylesheet">
23
- <link href="/rbcli/css/hugo-theme.css?1561087612" rel="stylesheet">
15
+ <link href="/rbcli/css/nucleus.css?1596148729" rel="stylesheet">
16
+ <link href="/rbcli/css/fontawesome-all.min.css?1596148729" rel="stylesheet">
17
+ <link href="/rbcli/css/hybrid.css?1596148729" rel="stylesheet">
18
+ <link href="/rbcli/css/featherlight.min.css?1596148729" rel="stylesheet">
19
+ <link href="/rbcli/css/perfect-scrollbar.min.css?1596148729" rel="stylesheet">
20
+ <link href="/rbcli/css/auto-complete.css?1596148729" rel="stylesheet">
21
+ <link href="/rbcli/css/atom-one-dark-reasonable.css?1596148729" rel="stylesheet">
22
+ <link href="/rbcli/css/theme.css?1596148729" rel="stylesheet">
23
+ <link href="/rbcli/css/hugo-theme.css?1596148729" rel="stylesheet">
24
+
25
+ <link href="/rbcli/css/theme-blue.css?1596148729" rel="stylesheet">
24
26
 
25
- <link href="/rbcli/css/theme-blue.css?1561087612" rel="stylesheet">
26
27
 
27
28
 
28
- <script src="/rbcli/js/jquery-3.3.1.min.js?1561087612"></script>
29
+ <script src="/rbcli/js/jquery-3.3.1.min.js?1596148729"></script>
29
30
 
30
31
  <style>
31
32
  :root #header + #content > #left > #rlblock_left{
@@ -54,14 +55,14 @@
54
55
  <span data-search-clear=""><i class="fas fa-times"></i></span>
55
56
  </div>
56
57
 
57
- <script type="text/javascript" src="/rbcli/js/lunr.min.js?1561087612"></script>
58
- <script type="text/javascript" src="/rbcli/js/auto-complete.js?1561087612"></script>
58
+ <script type="text/javascript" src="/rbcli/js/lunr.min.js?1596148729"></script>
59
+ <script type="text/javascript" src="/rbcli/js/auto-complete.js?1596148729"></script>
59
60
  <script type="text/javascript">
60
61
 
61
62
  var baseurl = "https:\/\/akhoury6.github.io\/rbcli\/";
62
63
 
63
64
  </script>
64
- <script type="text/javascript" src="/rbcli/js/search.js?1561087612"></script>
65
+ <script type="text/javascript" src="/rbcli/js/search.js?1596148729"></script>
65
66
 
66
67
 
67
68
  </div>
@@ -74,6 +75,8 @@
74
75
 
75
76
 
76
77
 
78
+
79
+
77
80
 
78
81
 
79
82
 
@@ -96,6 +99,8 @@
96
99
 
97
100
 
98
101
 
102
+
103
+
99
104
 
100
105
 
101
106
 
@@ -121,6 +126,8 @@
121
126
 
122
127
 
123
128
 
129
+
130
+
124
131
 
125
132
 
126
133
 
@@ -140,6 +147,8 @@
140
147
 
141
148
 
142
149
 
150
+
151
+
143
152
 
144
153
 
145
154
 
@@ -159,6 +168,8 @@
159
168
 
160
169
 
161
170
 
171
+
172
+
162
173
 
163
174
 
164
175
 
@@ -178,6 +189,8 @@
178
189
 
179
190
 
180
191
 
192
+
193
+
181
194
 
182
195
 
183
196
 
@@ -197,6 +210,8 @@
197
210
 
198
211
 
199
212
 
213
+
214
+
200
215
 
201
216
 
202
217
 
@@ -223,6 +238,8 @@
223
238
 
224
239
 
225
240
 
241
+
242
+
226
243
 
227
244
 
228
245
 
@@ -248,6 +265,8 @@
248
265
 
249
266
 
250
267
 
268
+
269
+
251
270
 
252
271
 
253
272
 
@@ -267,6 +286,8 @@
267
286
 
268
287
 
269
288
 
289
+
290
+
270
291
 
271
292
 
272
293
 
@@ -286,6 +307,8 @@
286
307
 
287
308
 
288
309
 
310
+
311
+
289
312
 
290
313
 
291
314
 
@@ -305,6 +328,8 @@
305
328
 
306
329
 
307
330
 
331
+
332
+
308
333
 
309
334
 
310
335
 
@@ -324,6 +349,8 @@
324
349
 
325
350
 
326
351
 
352
+
353
+
327
354
 
328
355
 
329
356
 
@@ -343,6 +370,8 @@
343
370
 
344
371
 
345
372
 
373
+
374
+
346
375
 
347
376
 
348
377
 
@@ -362,6 +391,8 @@
362
391
 
363
392
 
364
393
 
394
+
395
+
365
396
 
366
397
 
367
398
 
@@ -381,6 +412,8 @@
381
412
 
382
413
 
383
414
 
415
+
416
+
384
417
 
385
418
 
386
419
 
@@ -400,6 +433,8 @@
400
433
 
401
434
 
402
435
 
436
+
437
+
403
438
 
404
439
 
405
440
 
@@ -426,6 +461,8 @@
426
461
 
427
462
 
428
463
 
464
+
465
+
429
466
 
430
467
 
431
468
 
@@ -451,6 +488,8 @@
451
488
 
452
489
 
453
490
 
491
+
492
+
454
493
 
455
494
 
456
495
 
@@ -470,6 +509,8 @@
470
509
 
471
510
 
472
511
 
512
+
513
+
473
514
 
474
515
 
475
516
 
@@ -489,6 +530,8 @@
489
530
 
490
531
 
491
532
 
533
+
534
+
492
535
 
493
536
 
494
537
 
@@ -508,6 +551,8 @@
508
551
 
509
552
 
510
553
 
554
+
555
+
511
556
 
512
557
 
513
558
 
@@ -534,6 +579,8 @@
534
579
 
535
580
 
536
581
 
582
+
583
+
537
584
 
538
585
 
539
586
 
@@ -585,7 +632,6 @@
585
632
 
586
633
 
587
634
 
588
-
589
635
  <section id="body">
590
636
  <div id="overlay"></div>
591
637
  <div class="padding highlightable">
@@ -615,7 +661,7 @@
615
661
 
616
662
  <a href='/rbcli/'></a> > My Letter To You
617
663
 
618
-
664
+
619
665
 
620
666
 
621
667
 
@@ -624,7 +670,7 @@
624
670
 
625
671
  <div class="progress">
626
672
  <div class="wrapper">
627
-
673
+ <nav id="TableOfContents"></nav>
628
674
  </div>
629
675
  </div>
630
676
 
@@ -648,31 +694,16 @@
648
694
 
649
695
 
650
696
 
651
-
652
697
  <p>My Fellow Coder,</p>
653
-
654
698
  <p>I&rsquo;m glad to see you are interested in RBCli. I&rsquo;d like to introduce myself. My name is Andrew, and I&rsquo;ve been a technologist since 1992 when my father bought our first family computer &ndash; a 486DX2 which ran at 66Mhz (33Mhz if you turned off the &lsquo;turbo&rsquo; button) and came with MS DOS 5.0, <a href="https://en.wikipedia.org/wiki/QBasic">QBasic</a>, and a game already coded in it called <a href="https://classicreload.com/qbasic-nibbles.html">Nibbles</a> (if you care to see the code, die 5 times and don&rsquo;t play again). I didn&rsquo;t like that the game forced my name to be &ldquo;Sammy&rdquo;, and thought, &ldquo;hey, if I can see the code, can&rsquo;t I change it?&rdquo;. So I did what any annoyed child would do and learned to code so I could do just that. I&rsquo;d tell you what I changed it to, but I was so proud of myself for this simple feat that I changed it every 30 seconds and couldn&rsquo;t settle on just one name. Then I performed my first ever hack, and figured out how to go through walls without dying. All of a sudden the world seemed limitless.</p>
655
-
656
699
  <p>I was only a child at the time, but on that day I learned that every &ldquo;rule&rdquo; in computing was an artifical construct and could be changed to suit your needs. Thus began my career in tech and my obsession to change the world with it. This is why RBCli was born.</p>
657
-
658
700
  <p>RBCli started as a collection of code that I would copy-paste between projects, until one day when I wondered if I could just find a framework that suited me. I couldn&rsquo;t - in case you hadn&rsquo;t guessed - so I decided to build my own and give it to the world. I would not have accomplished even half of what I have without the open source community, and this is to be the first of hopefully many contributions back.</p>
659
-
660
701
  <p>The features in RBCli have been chosen from over 25 years of experience writing applications, building features that 3rd parties left out, managing large scale infrastructure, designing embedded systems, integrating enterprise systems, automating CI/CD, scripting my own computers, and so much more. I hope that you can find as much use out of it as I have.</p>
661
-
662
702
  <p>If you&rsquo;d like to get in touch with me at any time, feel free to email me at <a href="mailto:akhoury@live.com">akhoury@live.com</a>.</p>
663
-
664
703
  <p>All the best,</p>
665
-
666
704
  <p><em>Andrew</em></p>
667
-
668
705
  <p>P.S.: If you really liked RBCli and want to support it, any amount you can help out with goes a long way.</p>
669
-
670
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
671
- <input type="hidden" name="cmd" value="_s-xclick">
672
- <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHJwYJKoZIhvcNAQcEoIIHGDCCBxQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1N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IALf2psgQUh+V5XMA0GCSqGSIb3DQEBAQUABIGASoRrOMBmTWBQoGPyZziMaHwWNYQ4JiCbwyoiSXAdf8bx0s2kejwJJoadp1o2KwpqbwCJsEXmAIHrXnDOIz3KTUPKJ1gPy128vzllcJAcqL8t2mo/3eh9utcv03MO+GokUFxQYLsRnsmWPrLGo0Bc3fFPWHpVBsmL3NK2VWqkPeo=-----END PKCS7-----">
673
- <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
674
- <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
675
- </form>
706
+ <!-- raw HTML omitted -->
676
707
 
677
708
 
678
709
 
@@ -1102,20 +1133,19 @@
1102
1133
  <div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
1103
1134
  <div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
1104
1135
  </div>
1105
- <script src="/rbcli/js/clipboard.min.js?1561087612"></script>
1106
- <script src="/rbcli/js/perfect-scrollbar.min.js?1561087612"></script>
1107
- <script src="/rbcli/js/perfect-scrollbar.jquery.min.js?1561087612"></script>
1108
- <script src="/rbcli/js/jquery.sticky.js?1561087612"></script>
1109
- <script src="/rbcli/js/featherlight.min.js?1561087612"></script>
1110
- <script src="/rbcli/js/html5shiv-printshiv.min.js?1561087612"></script>
1111
- <script src="/rbcli/js/highlight.pack.js?1561087612"></script>
1136
+ <script src="/rbcli/js/clipboard.min.js?1596148729"></script>
1137
+ <script src="/rbcli/js/perfect-scrollbar.min.js?1596148729"></script>
1138
+ <script src="/rbcli/js/perfect-scrollbar.jquery.min.js?1596148729"></script>
1139
+ <script src="/rbcli/js/jquery.sticky.js?1596148729"></script>
1140
+ <script src="/rbcli/js/featherlight.min.js?1596148729"></script>
1141
+ <script src="/rbcli/js/highlight.pack.js?1596148729"></script>
1112
1142
  <script>hljs.initHighlightingOnLoad();</script>
1113
- <script src="/rbcli/js/modernizr.custom-3.6.0.js?1561087612"></script>
1114
- <script src="/rbcli/js/learn.js?1561087612"></script>
1115
- <script src="/rbcli/js/hugo-learn.js?1561087612"></script>
1143
+ <script src="/rbcli/js/modernizr.custom-3.6.0.js?1596148729"></script>
1144
+ <script src="/rbcli/js/learn.js?1596148729"></script>
1145
+ <script src="/rbcli/js/hugo-learn.js?1596148729"></script>
1116
1146
 
1117
- <link href="/rbcli/mermaid/mermaid.css?1561087612" rel="stylesheet" />
1118
- <script src="/rbcli/mermaid/mermaid.js?1561087612"></script>
1147
+ <link href="/rbcli/mermaid/mermaid.css?1596148729" rel="stylesheet" />
1148
+ <script src="/rbcli/mermaid/mermaid.js?1596148729"></script>
1119
1149
  <script>
1120
1150
  mermaid.initialize({ startOnLoad: true });
1121
1151
  </script>
@@ -1,4 +1,4 @@
1
- <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
1
+ <?xml version="1.0" encoding="utf-8" standalone="yes"?>
2
2
  <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3
3
  <channel>
4
4
  <title>My Letter To You on RBCli Documentation</title>
@@ -63,7 +63,7 @@ module Rbcli::Configurate::Me
63
63
  end
64
64
 
65
65
  def self.config_default *params
66
- Rbcli::Config::add_default *params
66
+ Rbcli::Config::add_default params[0], **params[1]
67
67
  end
68
68
 
69
69
  def self.option name, description, short: nil, type: :boolean, default: nil, required: false, permitted: nil
@@ -79,22 +79,22 @@ module Rbcli::Configurate::Me
79
79
  end
80
80
 
81
81
  def self.default_action &block
82
- Rbcli::DeprecationWarning.new 'Rbcli::Configurate.me--default_action', 'Please use `RBCli::Configurate.hooks` as the parent block instead.', '0.3.0'
82
+ Rbcli::DeprecationWarning.new 'Rbcli::Configurate.me--default_action', 'Please use `RBCli::Configurate.hooks` as the parent block instead.', '0.3.0', self.caller
83
83
  @data[:default_action] = block
84
84
  end
85
85
 
86
86
  def self.pre_hook &block
87
- Rbcli::DeprecationWarning.new 'Rbcli::Configurate.me--pre_hook', 'Please use `RBCli::Configurate.hooks` as the parent block instead.', '0.3.0'
87
+ Rbcli::DeprecationWarning.new 'Rbcli::Configurate.me--pre_hook', 'Please use `RBCli::Configurate.hooks` as the parent block instead.', '0.3.0', self.caller
88
88
  @data[:pre_hook] = block
89
89
  end
90
90
 
91
91
  def self.post_hook &block
92
- Rbcli::DeprecationWarning.new 'Rbcli::Configurate.me--post_hook', 'Please use `RBCli::Configurate.hooks` as the parent block instead.', '0.3.0'
92
+ Rbcli::DeprecationWarning.new 'Rbcli::Configurate.me--post_hook', 'Please use `RBCli::Configurate.hooks` as the parent block instead.', '0.3.0', self.caller
93
93
  @data[:post_hook] = block
94
94
  end
95
95
 
96
96
  def self.first_run halt_after_running: false, &block
97
- Rbcli::DeprecationWarning.new 'Rbcli::Configurate.me--first_run', 'Please use `RBCli::Configurate.hooks` as the parent block instead.', '0.3.0'
97
+ Rbcli::DeprecationWarning.new 'Rbcli::Configurate.me--first_run', 'Please use `RBCli::Configurate.hooks` as the parent block instead.', '0.3.0', self.caller
98
98
  @data[:halt_after_first_run] = halt_after_running
99
99
  @data[:first_run] = block
100
100
  end
@@ -22,22 +22,39 @@
22
22
  class Rbcli::DeprecationWarning
23
23
 
24
24
  @@warnings = []
25
+ @@errors_exist = false
25
26
 
26
- def initialize original_feature_name, message_text, change_by_version
27
+ def initialize original_feature_name, message_text, change_by_version, caller
27
28
  #@caller = caller_locations(2,1)[0].label
28
29
  @original_feature_name = original_feature_name
29
30
  @message_text = message_text
30
31
  @change_by_version = change_by_version
32
+ @caller = caller
31
33
  @@warnings.append self
32
34
  end
33
35
 
34
36
  def display
35
- message = "DEPRECATION WRNING: The feature `#{@original_feature_name}` has been deprecated. #{@message_text} This feature will be removed in version #{@change_by_version}."
36
- Rbcli::log.warn { message }
37
- puts message.red
37
+ deprecated_version_parts = @change_by_version.split('.').map { |i| i.to_i }
38
+ current_version_parts = Rbcli::VERSION.split('.').map { |i| i.to_i }
39
+
40
+ if deprecated_version_parts[0] > current_version_parts[0] or
41
+ deprecated_version_parts[1] > current_version_parts[1] or
42
+ deprecated_version_parts[2] >= current_version_parts[2]
43
+
44
+ message = "DEPRECATION ERROR: The feature `#{@original_feature_name}` has been deprecated as of Rbcli version #{@change_by_version}. #{@message_text} Please update the relevant code to continue using Rbcli."
45
+ Rbcli::log.error { message }
46
+ puts message.red
47
+ @@errors_exist = true
48
+ else
49
+ message = "DEPRECATION WARNING: The feature `#{@original_feature_name}` has been deprecated. #{@message_text} This feature will be removed in version #{@change_by_version}."
50
+ Rbcli::log.warn { message }
51
+ puts message.yellow
52
+ end
53
+ puts @caller[0], ""
38
54
  end
39
55
 
40
56
  def self.display_warnings
41
57
  @@warnings.each { |w| w.display }
58
+ exit(1) if @@errors_exist
42
59
  end
43
60
  end
@@ -19,5 +19,5 @@
19
19
  ##################################################################################
20
20
 
21
21
  module Rbcli
22
- VERSION = '0.2.12'
22
+ VERSION = '0.3.0'
23
23
  end
@@ -53,19 +53,19 @@ Gem::Specification.new do |spec|
53
53
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
54
54
  spec.require_paths = ['lib']
55
55
 
56
- spec.add_development_dependency 'bundler', '~> 2.0'
57
- spec.add_development_dependency 'rake', '~> 12.3'
56
+ spec.add_development_dependency 'bundler', '~> 2.1'
57
+ spec.add_development_dependency 'rake', '~> 13.0'
58
58
  # spec.add_development_dependency 'rspec', '~> 3.8'
59
59
  # spec.add_development_dependency 'minitest', '~> 5.0'
60
60
 
61
61
  spec.add_dependency 'colorize', '~> 0.8'
62
62
  spec.add_dependency 'deep_merge', '~> 1.2'
63
- spec.add_dependency 'aws-sdk-dynamodb', '~> 1.21'
63
+ spec.add_dependency 'aws-sdk-dynamodb', '~> 1.51'
64
64
  spec.add_dependency 'macaddr', '~> 1.7'
65
- spec.add_dependency 'rufus-scheduler', '~> 3.5'
66
- spec.add_dependency 'octokit', '~> 4.13'
67
- spec.add_dependency 'mdless', '~> 0.0'
68
- spec.add_dependency 'net-ssh', '~> 5.1'
69
- spec.add_dependency 'net-scp', '~> 1.2'
65
+ spec.add_dependency 'rufus-scheduler', '~> 3.6'
66
+ spec.add_dependency 'octokit', '~> 4.18'
67
+ spec.add_dependency 'mdless', '~> 1.0'
68
+ spec.add_dependency 'net-ssh', '~> 6.1'
69
+ spec.add_dependency 'net-scp', '~> 3.0'
70
70
  # spec.add_dependency 'trollop', '~> 2.1'
71
71
  end