gloo-lang 1.0.2 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.ruby-gemset +1 -0
  4. data/.ruby-version +1 -0
  5. data/lib/VERSION +1 -1
  6. data/lib/gloo_lang/app/engine.rb +1 -12
  7. data/lib/gloo_lang/app/platform.rb +8 -0
  8. data/lib/gloo_lang/core/dictionary.rb +45 -11
  9. data/lib/gloo_lang/persist/disc_mech.rb +87 -0
  10. data/lib/gloo_lang/persist/file_loader.rb +3 -2
  11. data/lib/gloo_lang/persist/file_saver.rb +2 -1
  12. data/lib/gloo_lang/persist/persist_man.rb +6 -19
  13. metadata +5 -81
  14. data/Gemfile.lock +0 -68
  15. data/lib/gloo_lang/app/help.rb +0 -118
  16. data/lib/gloo_lang/help/app/application.txt +0 -22
  17. data/lib/gloo_lang/help/app/configuration.txt +0 -7
  18. data/lib/gloo_lang/help/app/default_help.txt +0 -14
  19. data/lib/gloo_lang/help/app/logging.txt +0 -16
  20. data/lib/gloo_lang/help/core/color.txt +0 -31
  21. data/lib/gloo_lang/help/core/error.txt +0 -33
  22. data/lib/gloo_lang/help/core/events.txt +0 -21
  23. data/lib/gloo_lang/help/core/gloo_system.txt +0 -57
  24. data/lib/gloo_lang/help/core/here.txt +0 -30
  25. data/lib/gloo_lang/help/core/it.txt +0 -23
  26. data/lib/gloo_lang/help/core/ops.txt +0 -16
  27. data/lib/gloo_lang/help/core/pathname.txt +0 -29
  28. data/lib/gloo_lang/help/objs/basic/alias.txt +0 -36
  29. data/lib/gloo_lang/help/objs/basic/boolean.txt +0 -28
  30. data/lib/gloo_lang/help/objs/basic/container.txt +0 -33
  31. data/lib/gloo_lang/help/objs/basic/decimal.txt +0 -28
  32. data/lib/gloo_lang/help/objs/basic/integer.txt +0 -27
  33. data/lib/gloo_lang/help/objs/basic/script.txt +0 -29
  34. data/lib/gloo_lang/help/objs/basic/string.txt +0 -28
  35. data/lib/gloo_lang/help/objs/basic/text.txt +0 -27
  36. data/lib/gloo_lang/help/objs/basic/untyped.txt +0 -22
  37. data/lib/gloo_lang/help/objs/cli/banner.txt +0 -49
  38. data/lib/gloo_lang/help/objs/cli/bar.txt +0 -37
  39. data/lib/gloo_lang/help/objs/cli/colorize.txt +0 -33
  40. data/lib/gloo_lang/help/objs/cli/confirm.txt +0 -26
  41. data/lib/gloo_lang/help/objs/cli/menu.txt +0 -44
  42. data/lib/gloo_lang/help/objs/cli/menu_item.txt +0 -26
  43. data/lib/gloo_lang/help/objs/cli/pastel.txt +0 -43
  44. data/lib/gloo_lang/help/objs/cli/prompt.txt +0 -27
  45. data/lib/gloo_lang/help/objs/cli/select.txt +0 -34
  46. data/lib/gloo_lang/help/objs/ctrl/each.txt +0 -48
  47. data/lib/gloo_lang/help/objs/ctrl/repeat.txt +0 -38
  48. data/lib/gloo_lang/help/objs/data/markdown.txt +0 -25
  49. data/lib/gloo_lang/help/objs/data/mysql.txt +0 -40
  50. data/lib/gloo_lang/help/objs/data/query.txt +0 -37
  51. data/lib/gloo_lang/help/objs/data/sqlite.txt +0 -26
  52. data/lib/gloo_lang/help/objs/data/table.txt +0 -46
  53. data/lib/gloo_lang/help/objs/dev/git_repo.txt +0 -36
  54. data/lib/gloo_lang/help/objs/dev/stats.txt +0 -36
  55. data/lib/gloo_lang/help/objs/dt/date.txt +0 -23
  56. data/lib/gloo_lang/help/objs/dt/datetime.txt +0 -24
  57. data/lib/gloo_lang/help/objs/dt/time.txt +0 -23
  58. data/lib/gloo_lang/help/objs/ror/erb.txt +0 -37
  59. data/lib/gloo_lang/help/objs/ror/eval.txt +0 -24
  60. data/lib/gloo_lang/help/objs/snd/play.txt +0 -23
  61. data/lib/gloo_lang/help/objs/snd/say.txt +0 -28
  62. data/lib/gloo_lang/help/objs/system/file.txt +0 -48
  63. data/lib/gloo_lang/help/objs/system/ssh_exec.txt +0 -30
  64. data/lib/gloo_lang/help/objs/system/system.txt +0 -32
  65. data/lib/gloo_lang/help/objs/web/http_get.txt +0 -35
  66. data/lib/gloo_lang/help/objs/web/http_post.txt +0 -34
  67. data/lib/gloo_lang/help/objs/web/json.txt +0 -34
  68. data/lib/gloo_lang/help/objs/web/slack.txt +0 -33
  69. data/lib/gloo_lang/help/objs/web/teams.txt +0 -30
  70. data/lib/gloo_lang/help/objs/web/uri.txt +0 -38
  71. data/lib/gloo_lang/help/verbs/alert.txt +0 -33
  72. data/lib/gloo_lang/help/verbs/beep.txt +0 -25
  73. data/lib/gloo_lang/help/verbs/cls.txt +0 -24
  74. data/lib/gloo_lang/help/verbs/context.txt +0 -43
  75. data/lib/gloo_lang/help/verbs/create.txt +0 -33
  76. data/lib/gloo_lang/help/verbs/execute.txt +0 -27
  77. data/lib/gloo_lang/help/verbs/help.txt +0 -34
  78. data/lib/gloo_lang/help/verbs/if.txt +0 -37
  79. data/lib/gloo_lang/help/verbs/list.txt +0 -34
  80. data/lib/gloo_lang/help/verbs/load.txt +0 -38
  81. data/lib/gloo_lang/help/verbs/move.txt +0 -42
  82. data/lib/gloo_lang/help/verbs/put.txt +0 -38
  83. data/lib/gloo_lang/help/verbs/quit.txt +0 -25
  84. data/lib/gloo_lang/help/verbs/run.txt +0 -41
  85. data/lib/gloo_lang/help/verbs/save.txt +0 -26
  86. data/lib/gloo_lang/help/verbs/show.txt +0 -30
  87. data/lib/gloo_lang/help/verbs/tell.txt +0 -34
  88. data/lib/gloo_lang/help/verbs/unless.txt +0 -38
  89. data/lib/gloo_lang/help/verbs/version.txt +0 -32
  90. data/lib/gloo_lang/help/verbs/wait.txt +0 -29
  91. data/lib/gloo_lang/verbs/help.rb +0 -264
  92. data/lib/gloo_lang/verbs/version.rb +0 -37
@@ -1,37 +0,0 @@
1
- # Author:: Eric Crane (mailto:eric.crane@mac.com)
2
- # Copyright:: Copyright (c) 2019 Eric Crane. All rights reserved.
3
- #
4
- # Show the current application version.
5
- #
6
-
7
- module GlooLang
8
- module Verbs
9
- class Version < GlooLang::Core::Verb
10
-
11
- KEYWORD = 'version'.freeze
12
- KEYWORD_SHORT = 'v'.freeze
13
-
14
- #
15
- # Run the verb.
16
- #
17
- def run
18
- @engine.log.show GlooLang::App::Info.full_version
19
- end
20
-
21
- #
22
- # Get the Verb's keyword.
23
- #
24
- def self.keyword
25
- return KEYWORD
26
- end
27
-
28
- #
29
- # Get the Verb's keyword shortcut.
30
- #
31
- def self.keyword_shortcut
32
- return KEYWORD_SHORT
33
- end
34
-
35
- end
36
- end
37
- end