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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/lib/VERSION +1 -1
- data/lib/gloo_lang/app/engine.rb +1 -12
- data/lib/gloo_lang/app/platform.rb +8 -0
- data/lib/gloo_lang/core/dictionary.rb +45 -11
- data/lib/gloo_lang/persist/disc_mech.rb +87 -0
- data/lib/gloo_lang/persist/file_loader.rb +3 -2
- data/lib/gloo_lang/persist/file_saver.rb +2 -1
- data/lib/gloo_lang/persist/persist_man.rb +6 -19
- metadata +5 -81
- data/Gemfile.lock +0 -68
- data/lib/gloo_lang/app/help.rb +0 -118
- data/lib/gloo_lang/help/app/application.txt +0 -22
- data/lib/gloo_lang/help/app/configuration.txt +0 -7
- data/lib/gloo_lang/help/app/default_help.txt +0 -14
- data/lib/gloo_lang/help/app/logging.txt +0 -16
- data/lib/gloo_lang/help/core/color.txt +0 -31
- data/lib/gloo_lang/help/core/error.txt +0 -33
- data/lib/gloo_lang/help/core/events.txt +0 -21
- data/lib/gloo_lang/help/core/gloo_system.txt +0 -57
- data/lib/gloo_lang/help/core/here.txt +0 -30
- data/lib/gloo_lang/help/core/it.txt +0 -23
- data/lib/gloo_lang/help/core/ops.txt +0 -16
- data/lib/gloo_lang/help/core/pathname.txt +0 -29
- data/lib/gloo_lang/help/objs/basic/alias.txt +0 -36
- data/lib/gloo_lang/help/objs/basic/boolean.txt +0 -28
- data/lib/gloo_lang/help/objs/basic/container.txt +0 -33
- data/lib/gloo_lang/help/objs/basic/decimal.txt +0 -28
- data/lib/gloo_lang/help/objs/basic/integer.txt +0 -27
- data/lib/gloo_lang/help/objs/basic/script.txt +0 -29
- data/lib/gloo_lang/help/objs/basic/string.txt +0 -28
- data/lib/gloo_lang/help/objs/basic/text.txt +0 -27
- data/lib/gloo_lang/help/objs/basic/untyped.txt +0 -22
- data/lib/gloo_lang/help/objs/cli/banner.txt +0 -49
- data/lib/gloo_lang/help/objs/cli/bar.txt +0 -37
- data/lib/gloo_lang/help/objs/cli/colorize.txt +0 -33
- data/lib/gloo_lang/help/objs/cli/confirm.txt +0 -26
- data/lib/gloo_lang/help/objs/cli/menu.txt +0 -44
- data/lib/gloo_lang/help/objs/cli/menu_item.txt +0 -26
- data/lib/gloo_lang/help/objs/cli/pastel.txt +0 -43
- data/lib/gloo_lang/help/objs/cli/prompt.txt +0 -27
- data/lib/gloo_lang/help/objs/cli/select.txt +0 -34
- data/lib/gloo_lang/help/objs/ctrl/each.txt +0 -48
- data/lib/gloo_lang/help/objs/ctrl/repeat.txt +0 -38
- data/lib/gloo_lang/help/objs/data/markdown.txt +0 -25
- data/lib/gloo_lang/help/objs/data/mysql.txt +0 -40
- data/lib/gloo_lang/help/objs/data/query.txt +0 -37
- data/lib/gloo_lang/help/objs/data/sqlite.txt +0 -26
- data/lib/gloo_lang/help/objs/data/table.txt +0 -46
- data/lib/gloo_lang/help/objs/dev/git_repo.txt +0 -36
- data/lib/gloo_lang/help/objs/dev/stats.txt +0 -36
- data/lib/gloo_lang/help/objs/dt/date.txt +0 -23
- data/lib/gloo_lang/help/objs/dt/datetime.txt +0 -24
- data/lib/gloo_lang/help/objs/dt/time.txt +0 -23
- data/lib/gloo_lang/help/objs/ror/erb.txt +0 -37
- data/lib/gloo_lang/help/objs/ror/eval.txt +0 -24
- data/lib/gloo_lang/help/objs/snd/play.txt +0 -23
- data/lib/gloo_lang/help/objs/snd/say.txt +0 -28
- data/lib/gloo_lang/help/objs/system/file.txt +0 -48
- data/lib/gloo_lang/help/objs/system/ssh_exec.txt +0 -30
- data/lib/gloo_lang/help/objs/system/system.txt +0 -32
- data/lib/gloo_lang/help/objs/web/http_get.txt +0 -35
- data/lib/gloo_lang/help/objs/web/http_post.txt +0 -34
- data/lib/gloo_lang/help/objs/web/json.txt +0 -34
- data/lib/gloo_lang/help/objs/web/slack.txt +0 -33
- data/lib/gloo_lang/help/objs/web/teams.txt +0 -30
- data/lib/gloo_lang/help/objs/web/uri.txt +0 -38
- data/lib/gloo_lang/help/verbs/alert.txt +0 -33
- data/lib/gloo_lang/help/verbs/beep.txt +0 -25
- data/lib/gloo_lang/help/verbs/cls.txt +0 -24
- data/lib/gloo_lang/help/verbs/context.txt +0 -43
- data/lib/gloo_lang/help/verbs/create.txt +0 -33
- data/lib/gloo_lang/help/verbs/execute.txt +0 -27
- data/lib/gloo_lang/help/verbs/help.txt +0 -34
- data/lib/gloo_lang/help/verbs/if.txt +0 -37
- data/lib/gloo_lang/help/verbs/list.txt +0 -34
- data/lib/gloo_lang/help/verbs/load.txt +0 -38
- data/lib/gloo_lang/help/verbs/move.txt +0 -42
- data/lib/gloo_lang/help/verbs/put.txt +0 -38
- data/lib/gloo_lang/help/verbs/quit.txt +0 -25
- data/lib/gloo_lang/help/verbs/run.txt +0 -41
- data/lib/gloo_lang/help/verbs/save.txt +0 -26
- data/lib/gloo_lang/help/verbs/show.txt +0 -30
- data/lib/gloo_lang/help/verbs/tell.txt +0 -34
- data/lib/gloo_lang/help/verbs/unless.txt +0 -38
- data/lib/gloo_lang/help/verbs/version.txt +0 -32
- data/lib/gloo_lang/help/verbs/wait.txt +0 -29
- data/lib/gloo_lang/verbs/help.rb +0 -264
- 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
|