rbcli 0.1.10 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +31 -0
  3. data/CODE_OF_CONDUCT.md +1 -1
  4. data/Gemfile.lock +12 -12
  5. data/LICENSE.txt +674 -21
  6. data/README.md +80 -443
  7. data/bin/console +19 -0
  8. data/bin/setup +20 -0
  9. data/docs/404.html +639 -0
  10. data/docs/advanced/automatic_updates/index.html +791 -0
  11. data/docs/advanced/command_types/index.html +946 -0
  12. data/docs/advanced/distributed_state_locking/index.html +777 -0
  13. data/docs/advanced/hooks/index.html +836 -0
  14. data/docs/advanced/state_storage/index.html +957 -0
  15. data/docs/advanced/user_config_files/index.html +818 -0
  16. data/docs/assets/fonts/font-awesome.css +4 -0
  17. data/docs/assets/fonts/material-icons.css +13 -0
  18. data/docs/assets/fonts/specimen/FontAwesome.ttf +0 -0
  19. data/docs/assets/fonts/specimen/FontAwesome.woff +0 -0
  20. data/docs/assets/fonts/specimen/FontAwesome.woff2 +0 -0
  21. data/docs/assets/fonts/specimen/MaterialIcons-Regular.ttf +0 -0
  22. data/docs/assets/fonts/specimen/MaterialIcons-Regular.woff +0 -0
  23. data/docs/assets/fonts/specimen/MaterialIcons-Regular.woff2 +0 -0
  24. data/docs/assets/images/favicon.png +0 -0
  25. data/docs/assets/images/icons/bitbucket.1b09e088.svg +20 -0
  26. data/docs/assets/images/icons/github.f0b8504a.svg +18 -0
  27. data/docs/assets/images/icons/gitlab.6dd19c00.svg +38 -0
  28. data/docs/assets/javascripts/application.a59e2a89.js +1 -0
  29. data/docs/assets/javascripts/lunr/lunr.da.js +1 -0
  30. data/docs/assets/javascripts/lunr/lunr.de.js +1 -0
  31. data/docs/assets/javascripts/lunr/lunr.du.js +1 -0
  32. data/docs/assets/javascripts/lunr/lunr.es.js +1 -0
  33. data/docs/assets/javascripts/lunr/lunr.fi.js +1 -0
  34. data/docs/assets/javascripts/lunr/lunr.fr.js +1 -0
  35. data/docs/assets/javascripts/lunr/lunr.hu.js +1 -0
  36. data/docs/assets/javascripts/lunr/lunr.it.js +1 -0
  37. data/docs/assets/javascripts/lunr/lunr.jp.js +1 -0
  38. data/docs/assets/javascripts/lunr/lunr.multi.js +1 -0
  39. data/docs/assets/javascripts/lunr/lunr.no.js +1 -0
  40. data/docs/assets/javascripts/lunr/lunr.pt.js +1 -0
  41. data/docs/assets/javascripts/lunr/lunr.ro.js +1 -0
  42. data/docs/assets/javascripts/lunr/lunr.ru.js +1 -0
  43. data/docs/assets/javascripts/lunr/lunr.stemmer.support.js +1 -0
  44. data/docs/assets/javascripts/lunr/lunr.sv.js +1 -0
  45. data/docs/assets/javascripts/lunr/lunr.tr.js +1 -0
  46. data/docs/assets/javascripts/lunr/tinyseg.js +1 -0
  47. data/docs/assets/javascripts/modernizr.1aa3b519.js +1 -0
  48. data/docs/assets/stylesheets/application-palette.6079476c.css +2 -0
  49. data/docs/assets/stylesheets/application.ba0fd1a6.css +2 -0
  50. data/docs/development/code_of_conduct/index.html +883 -0
  51. data/docs/development/contributing/index.html +744 -0
  52. data/docs/development/license/index.html +715 -0
  53. data/docs/imported/changelog/index.html +853 -0
  54. data/docs/imported/quick_reference/index.html +1057 -0
  55. data/docs/index.html +732 -0
  56. data/docs/search/search_index.json +569 -0
  57. data/docs/sitemap.xml +93 -0
  58. data/docs/tutorial/10-getting_started/index.html +806 -0
  59. data/docs/tutorial/20-project_layout/index.html +972 -0
  60. data/docs/tutorial/30-your_first_command/index.html +906 -0
  61. data/docs/tutorial/40-options_parameters_and_arguments/index.html +1049 -0
  62. data/docs/tutorial/50-publishing/index.html +838 -0
  63. data/docs/whoami/index.html +709 -0
  64. data/docs-src/docs/advanced/automatic_updates.md +42 -0
  65. data/docs-src/docs/advanced/command_types.md +144 -0
  66. data/docs-src/docs/advanced/distributed_state_locking.md +33 -0
  67. data/docs-src/docs/advanced/hooks.md +65 -0
  68. data/docs-src/docs/advanced/logging.md +35 -0
  69. data/docs-src/docs/advanced/state_storage.md +117 -0
  70. data/docs-src/docs/advanced/user_config_files.md +47 -0
  71. data/docs-src/docs/development/code_of_conduct.md +74 -0
  72. data/docs-src/docs/development/contributing.md +49 -0
  73. data/docs-src/docs/development/license.md +10 -0
  74. data/docs-src/docs/imported/changelog.md +31 -0
  75. data/docs-src/docs/imported/quick_reference.md +150 -0
  76. data/docs-src/docs/index.md +38 -0
  77. data/docs-src/docs/tutorial/10-getting_started.md +41 -0
  78. data/docs-src/docs/tutorial/20-project_layout.md +115 -0
  79. data/docs-src/docs/tutorial/30-your_first_command.md +126 -0
  80. data/docs-src/docs/tutorial/40-options_parameters_and_arguments.md +251 -0
  81. data/docs-src/docs/tutorial/50-publishing.md +47 -0
  82. data/docs-src/docs/whoami.md +28 -0
  83. data/docs-src/makesite.sh +14 -0
  84. data/docs-src/mkdocs.yml +76 -0
  85. data/docs-src/runsite.sh +3 -0
  86. data/exe/rbcli +76 -5
  87. data/lib/rbcli/autoupdate/autoupdate.rb +24 -4
  88. data/lib/rbcli/autoupdate/gem_updater.rb +23 -2
  89. data/lib/rbcli/autoupdate/github_updater.rb +22 -1
  90. data/lib/rbcli/configuration/config.rb +22 -1
  91. data/lib/rbcli/configuration/configurate.rb +24 -2
  92. data/lib/rbcli/engine/command.rb +26 -6
  93. data/lib/rbcli/engine/load_project.rb +29 -3
  94. data/lib/rbcli/engine/parser.rb +25 -4
  95. data/lib/rbcli/logging/logging.rb +21 -0
  96. data/lib/rbcli/scriptwrapping/scriptwrapper.rb +30 -11
  97. data/lib/rbcli/stateful_systems/configuratestorage.rb +20 -0
  98. data/lib/rbcli/stateful_systems/state_storage.rb +20 -0
  99. data/lib/rbcli/stateful_systems/storagetypes/localstate.rb +20 -0
  100. data/lib/rbcli/stateful_systems/storagetypes/remote_state_connectors/dynamodb.rb +20 -0
  101. data/lib/rbcli/stateful_systems/storagetypes/remotestate_dynamodb.rb +20 -0
  102. data/lib/rbcli/util/hash_deep_symbolize.rb +43 -22
  103. data/lib/rbcli/util/string_colorize.rb +20 -0
  104. data/lib/rbcli/version.rb +21 -1
  105. data/lib/rbcli-tool/generators.rb +20 -0
  106. data/lib/rbcli-tool/mdless_fix.rb +20 -0
  107. data/lib/rbcli-tool/project.rb +27 -2
  108. data/lib/rbcli-tool/util.rb +20 -0
  109. data/lib/rbcli-tool.rb +20 -0
  110. data/lib/rbcli.rb +20 -0
  111. data/lib-sh/lib-rbcli.sh +19 -0
  112. data/rbcli.gemspec +22 -3
  113. data/skeletons/project/CODE_OF_CONDUCT.md +1 -1
  114. data/skeletons/project/README.md +17 -2
  115. data/skeletons/project/application/commands/command.erb +10 -8
  116. data/skeletons/project/application/commands/script.erb +3 -1
  117. data/skeletons/project/application/commands/scripts/script.sh +2 -2
  118. data/skeletons/project/application/options.rb +12 -3
  119. data/skeletons/project/config/autoupdate.rb +5 -2
  120. data/skeletons/project/config/storage.rb +7 -6
  121. data/skeletons/project/config/userspace.rb +6 -1
  122. data/skeletons/project/exe/executable +1 -1
  123. data/skeletons/project/lib/.keep +0 -0
  124. data/skeletons/project/untitled.gemspec +4 -4
  125. data/skeletons/project/{default_user_configs → userconf}/user_defaults.yml +0 -0
  126. metadata +85 -9
  127. data/examples/defaults.yml +0 -4
  128. data/examples/myscript.sh +0 -23
  129. data/examples/mytool +0 -95
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f1de334efcc5489a103f4001a64d40a347d8aac715566682001e50600e596af
4
- data.tar.gz: ecd300a10c89299f987d1031fff974cf7e45bc31ff56af20871462c98a2e833d
3
+ metadata.gz: f1fc25d55aabbbf099edc8c9a07cf8ee58986f20d5d72bfed19f708b640d9ed2
4
+ data.tar.gz: 4fc7dd0a975f5f727b1c954909c4fe073bae66be53550b3f242dabccd0f71aca
5
5
  SHA512:
6
- metadata.gz: 1c954de05e3383d692e16cc6eb238add53b4e24758f81440ea5601ec10be780e12df6ed3358dd539494dc731ffca0fe4457021a566003af7ddbb4b21f4ef05b7
7
- data.tar.gz: 879bb9c5627c7118ae7bf8c319ade644aa48191eca455ccfeaf7f910e1f56c33b1f2ee38b1ed727a429b4e272e780af0756b940c1782f7ec6f8737751e6e1950
6
+ metadata.gz: 56dedf772c97a79898f3db0402e5344568b28dfe0fbb0d1d96907483b13541e8e7b66c219f81f02d948b789929fd9b24bcd8498eef8d603fd80ecd6914c06904
7
+ data.tar.gz: 45cb4f7fbbbed5abb5dc2062087b9000710c301c06b9d8c465793c0431c798c9b103e7d4d39f129c8ca7b4e79bbe828989304dd7d78dad37a7e38f3c43db9382
data/CHANGELOG.md ADDED
@@ -0,0 +1,31 @@
1
+ # Changelog
2
+
3
+ ## 0.2.0 (Aug 5, 2018)
4
+
5
+ ### Features
6
+
7
+ * Official documentation created and hosted with Github Pages
8
+ * RBCli released under GPLv3
9
+ * Copyright/License notice displayed via RBCli tool with `rbcli license` in accordance with GPLv3 guidelines
10
+
11
+ ### Bugfixes
12
+
13
+ * Fixed version number loading for projects
14
+ * Cleaned up command usage help output
15
+ * Fixed script and external command generation
16
+
17
+ ### Improvements
18
+
19
+ * A quick reference guide can now be found in README.md
20
+ * CLI tool Autoupdate Enabled; when an upgrade to RBCli is detected, the RBCli CLI tool will notify the developer.
21
+ * Autoupdate feature now allows supplying a custom message
22
+ * Direct Path Mode for External Commands now
23
+ * Added support for a `lib` folder in projects, as a place for custom code, which is automatically added to `$LOAD_PATH` for developers
24
+ * Improved language regarding external commands: Documentation now differentiates between Standard, Scripted, and External Commands
25
+ * Improved language regarding user config files: Now called Userspace Config
26
+ * Options and Parameters now allow specifying the letter to be used for the short version, or to disable it altogether
27
+ * Userspace config can now be disabled by setting the path to nil or removing the declaration
28
+
29
+ ### Deprecations/Changes
30
+
31
+ * Removed deprecated and broken examples from the examples folder
data/CODE_OF_CONDUCT.md CHANGED
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
55
55
  ## Enforcement
56
56
 
57
57
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at akhoury@live.com. All
58
+ reported by contacting the project team at andrew@blacknex.us. All
59
59
  complaints will be reviewed and investigated and will result in a response that
60
60
  is deemed necessary and appropriate to the circumstances. The project team is
61
61
  obligated to maintain confidentiality with regard to the reporter of an incident.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbcli (0.1.10)
4
+ rbcli (0.2.0)
5
5
  aws-sdk-dynamodb (~> 1.6)
6
6
  colorize (~> 0.8)
7
7
  deep_merge (~> 1.2)
@@ -15,25 +15,25 @@ GEM
15
15
  specs:
16
16
  addressable (2.5.2)
17
17
  public_suffix (>= 2.0.2, < 4.0)
18
- aws-eventstream (1.0.0)
19
- aws-partitions (1.91.0)
20
- aws-sdk-core (3.21.2)
18
+ aws-eventstream (1.0.1)
19
+ aws-partitions (1.97.0)
20
+ aws-sdk-core (3.24.0)
21
21
  aws-eventstream (~> 1.0)
22
22
  aws-partitions (~> 1.0)
23
23
  aws-sigv4 (~> 1.0)
24
24
  jmespath (~> 1.0)
25
- aws-sdk-dynamodb (1.6.0)
25
+ aws-sdk-dynamodb (1.9.0)
26
26
  aws-sdk-core (~> 3)
27
27
  aws-sigv4 (~> 1.0)
28
- aws-sigv4 (1.0.2)
28
+ aws-sigv4 (1.0.3)
29
29
  colorize (0.8.1)
30
30
  deep_merge (1.2.1)
31
- et-orbi (1.1.2)
31
+ et-orbi (1.1.4)
32
32
  tzinfo
33
33
  faraday (0.15.2)
34
34
  multipart-post (>= 1.2, < 3)
35
- fugit (1.1.1)
36
- et-orbi (~> 1.1, >= 1.1.1)
35
+ fugit (1.1.5)
36
+ et-orbi (~> 1.1, >= 1.1.3)
37
37
  raabro (~> 1.1)
38
38
  jmespath (1.4.0)
39
39
  macaddr (1.7.1)
@@ -44,10 +44,10 @@ GEM
44
44
  octokit (4.9.0)
45
45
  sawyer (~> 0.8.0, >= 0.5.3)
46
46
  public_suffix (3.0.2)
47
- raabro (1.1.5)
47
+ raabro (1.1.6)
48
48
  rake (10.5.0)
49
- rufus-scheduler (3.5.0)
50
- fugit (~> 1.1, >= 1.1.1)
49
+ rufus-scheduler (3.5.2)
50
+ fugit (~> 1.1, >= 1.1.5)
51
51
  sawyer (0.8.1)
52
52
  addressable (>= 2.3.5, < 2.6)
53
53
  faraday (~> 0.8, < 1.0)