aro 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -2
- data/Gemfile.lock +126 -50
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/aro.gemspec +10 -11
- data/bin/oss_om +15 -0
- data/checksums/aro-0.2.4.gem.sha512 +1 -0
- data/checksums/aro-0.2.5.gem.sha512 +1 -0
- data/checksums/aro-0.2.6.gem.sha512 +1 -0
- data/locale/en.cards.yml +19 -21
- data/locale/en.cmd.yml +34 -0
- data/locale/en.cor.yml +5 -8
- data/locale/en.menu_items.yml +2 -0
- data/locale/en.menus.yml +2 -0
- data/locale/en.usage.yml +24 -45
- data/locale/en.yml +61 -49
- data/sys/aro/cmd.rb +96 -0
- data/sys/{aos → aro}/cor.rb +224 -268
- data/sys/aro/d.rb +4 -3
- data/sys/aro/db/migrate/.DS_Store +0 -0
- data/sys/aro/db/migrate/1793913747_create_data_bases.rb +13 -0
- data/sys/aro/db/migrate/1793913777_create_data_base_directories.rb +14 -0
- data/sys/aro/db/migrate/1793913796_create_data_base_files.rb +12 -0
- data/sys/aro/db/migrate/1793913841_create_menus.rb +11 -0
- data/sys/aro/db/migrate/1793913861_create_menu_items.rb +14 -0
- data/sys/aro/db.rb +72 -33
- data/sys/aro/designer.rb +281 -0
- data/sys/aro/locale.rb +136 -0
- data/sys/aro/ma_ain.rb +54 -0
- data/sys/aro/mancy.rb +53 -28
- data/sys/aro/models/concerns/.keep +0 -0
- data/sys/aro/models/concerns/uuid.rb +29 -0
- data/sys/aro/models/data_base.rb +97 -0
- data/sys/aro/models/directory.rb +44 -0
- data/sys/aro/models/file.rb +27 -0
- data/sys/aro/models/menu.rb +27 -0
- data/sys/aro/models/menu_item.rb +47 -0
- data/sys/aro/models/teck.rb +40 -31
- data/sys/aro/p.rb +6 -3
- data/sys/aro/r.rb +1 -2
- data/sys/aro/store.rb +147 -0
- data/sys/aro/v.rb +2 -2
- data/sys/aro/views/base.rb +25 -0
- data/sys/aro/views/teck.rb +30 -0
- data/sys/aro.rb +1 -2
- data/sys/cli/constants.rb +1 -7
- data/sys/cli/create.rb +3 -3
- data/sys/cli/nterface.rb +8 -8
- data/sys/cli/teck.rb +17 -18
- data/sys/cli/usage.rb +4 -4
- data/sys/cli.rb +0 -1
- data/sys/reiquire.rb +146 -25
- data/sys/shr/.DS_Store +0 -0
- data/sys/shr/prompt.rb +8 -2
- data/sys/shr/t.rb +5 -5
- data/sys/shr/version.rb +9 -2
- data/tasks/make.rake +2 -1
- metadata +57 -103
- data/bin/aos +0 -31
- data/bin/aro +0 -60
- data/locale/en.abot.yml +0 -81
- data/locale/en.amg.yml +0 -44
- data/locale/en.aos.yml +0 -40
- data/locale/en.data.yml +0 -30
- data/locale/en.dom.yml +0 -46
- data/locale/en.flie.yml +0 -29
- data/sys/aos/abot.rb +0 -255
- data/sys/aos/amg.rb +0 -184
- data/sys/aos/aos.rb +0 -665
- data/sys/aos/data.rb +0 -117
- data/sys/aos/db/migrate/1765148774_create_yous.rb +0 -20
- data/sys/aos/db/migrate/1765762724_create_ilibs.rb +0 -22
- data/sys/aos/db/migrate/1765907766_create_ilogs.rb +0 -18
- data/sys/aos/db/migrate/1765933985_create_agodos.rb +0 -22
- data/sys/aos/db/migrate/1766203888_create_fpxies.rb +0 -18
- data/sys/aos/db.rb +0 -105
- data/sys/aos/flie.rb +0 -144
- data/sys/aos/models/agodo.rb +0 -95
- data/sys/aos/models/fpxy.rb +0 -26
- data/sys/aos/models/ilib.rb +0 -46
- data/sys/aos/models/ilog.rb +0 -27
- data/sys/aos/models/you.rb +0 -102
- data/sys/aos/s.rb +0 -26
- data/sys/aos/vws/base.rb +0 -159
- data/sys/aos/vws/dom.rb +0 -32
- data/sys/aos/vws/games/abot.rb +0 -21
- data/sys/aos/vws/games/teck.rb +0 -124
- data/sys/aos/vws/games.rb +0 -19
- data/sys/aos/vws/home.rb +0 -23
- data/sys/aos/vws/know/body.rb +0 -19
- data/sys/aos/vws/know/mind.rb +0 -19
- data/sys/aos/vws/know/spirit.rb +0 -19
- data/sys/aos/vws/know.rb +0 -19
- data/sys/aos/vws/root/amg.rb +0 -21
- data/sys/aos/vws/root/config.rb +0 -21
- data/sys/aos/vws/root/data.rb +0 -21
- data/sys/aos/vws/root/flie.rb +0 -21
- data/sys/aos/vws/root.rb +0 -19
- data/sys/aos/vws/welcome/waite.rb +0 -31
- data/sys/aos/vws/welcome/winner.rb +0 -19
- data/sys/aos/vws/welcome.rb +0 -66
- data/sys/aro/models/base_model.rb +0 -13
- data/sys/cli/dom.rb +0 -43
- data/sys/dom/d.rb +0 -138
- data/sys/dom/dom.rb +0 -210
- data/sys/dom/p.rb +0 -17
- data/sys/fpx.rb +0 -104
- data/sys/shr/ilib/crs/CMakeLists.txt +0 -12
- data/sys/shr/ilib/crs/compile.sh +0 -5
- data/sys/shr/ilib/crs/crs.c +0 -24
- data/sys/shr/ilib/crs/crs.o +0 -0
- data/sys/shr/ilib/crs/libcrs.so +0 -0
data/locale/en.usage.yml
CHANGED
|
@@ -1,41 +1,30 @@
|
|
|
1
1
|
en:
|
|
2
2
|
usage:
|
|
3
|
-
|
|
4
|
-
aro
|
|
5
|
-
aos arodome management.
|
|
3
|
+
cor: |
|
|
4
|
+
aro cor management.
|
|
6
5
|
|
|
7
|
-
$ aro
|
|
6
|
+
$ aro cor [-h | --help]
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
$ aro cor var_name var_value
|
|
10
9
|
|
|
11
|
-
|
|
10
|
+
basic usage:
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
init
|
|
15
|
-
initialize and generate the arodome.
|
|
16
|
-
run once from the dom base directory.
|
|
17
|
-
|
|
18
|
-
params:
|
|
19
|
-
var_root_username: root aos username.
|
|
20
|
-
var var_root_password: root aos password.
|
|
12
|
+
no params prints the cor (writable) ivars.
|
|
21
13
|
|
|
22
|
-
|
|
14
|
+
$ aro cor [ivars|ovars]
|
|
23
15
|
|
|
24
|
-
|
|
16
|
+
param var_name prints the var named var_name.
|
|
25
17
|
|
|
26
|
-
|
|
27
|
-
create a new arodome with the specified name.
|
|
18
|
+
$ aro cor var_name
|
|
28
19
|
|
|
29
|
-
|
|
20
|
+
param var_name & param var_value updates a var named var_name with var_value.
|
|
30
21
|
|
|
31
|
-
|
|
22
|
+
$ aro cor var_name var_value
|
|
32
23
|
|
|
33
|
-
|
|
34
|
-
aro by i2097i is copyright (2025)
|
|
35
24
|
main: |
|
|
36
|
-
|
|
25
|
+
SUMMARY
|
|
37
26
|
|
|
38
|
-
aro
|
|
27
|
+
aro.
|
|
39
28
|
|
|
40
29
|
SYNOPSIS
|
|
41
30
|
|
|
@@ -49,6 +38,10 @@ en:
|
|
|
49
38
|
|
|
50
39
|
$ aro +TXXI
|
|
51
40
|
|
|
41
|
+
or, equivalently:
|
|
42
|
+
|
|
43
|
+
$ aro +txxi
|
|
44
|
+
|
|
52
45
|
COMMANDS
|
|
53
46
|
create
|
|
54
47
|
create and init an aro space named var_name:
|
|
@@ -62,36 +55,22 @@ en:
|
|
|
62
55
|
this runs by default after create and has no effect if init is complete.
|
|
63
56
|
|
|
64
57
|
cor
|
|
65
|
-
aro cor
|
|
66
|
-
|
|
67
|
-
$ aro cor var_name var_value
|
|
68
|
-
|
|
69
|
-
basic usage:
|
|
70
|
-
|
|
71
|
-
no params prints the cor.
|
|
72
|
-
|
|
73
|
-
$ aro cor
|
|
74
|
-
|
|
75
|
-
param var_name prints the var named var_name.
|
|
76
|
-
|
|
77
|
-
$ aro cor var_name
|
|
78
|
-
|
|
79
|
-
param var_name & param var_value updates a var named var_name with var_value.
|
|
58
|
+
aro cor unix env bindings.
|
|
80
59
|
|
|
81
|
-
|
|
60
|
+
$ aro cor [-h | --help]
|
|
82
61
|
|
|
83
62
|
teck
|
|
84
63
|
aro teck commands.
|
|
85
64
|
|
|
86
65
|
$ aro teck [-h | --help]
|
|
87
66
|
|
|
88
|
-
|
|
89
|
-
|
|
67
|
+
data
|
|
68
|
+
aro data commands.
|
|
90
69
|
|
|
91
|
-
$ aro
|
|
70
|
+
$ aro data [-h | --help]
|
|
92
71
|
|
|
93
72
|
|
|
94
|
-
aro by i2097i is copyright (
|
|
73
|
+
aro by i2097i is copyright (2026)
|
|
95
74
|
teck: |
|
|
96
75
|
aro teck
|
|
97
76
|
manage tecks in the aro space.
|
|
@@ -160,4 +139,4 @@ en:
|
|
|
160
139
|
shuffles the current teck and generates a log record.
|
|
161
140
|
|
|
162
141
|
|
|
163
|
-
aro by i2097i is copyright (
|
|
142
|
+
aro by i2097i is copyright (2026)
|
data/locale/en.yml
CHANGED
|
@@ -1,56 +1,68 @@
|
|
|
1
1
|
en:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
open_menu:
|
|
3
|
+
welcome: "welcome to oss_om"
|
|
4
|
+
edit_menu_localized_name: "designing open menu '%{localized_name}'"
|
|
5
|
+
get_new_value_from_user: "input new value (press enter to cancel): "
|
|
6
|
+
designer:
|
|
7
|
+
create_menu: "enter display text for the new menu"
|
|
7
8
|
errors:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
9
|
+
invalid_i18n_path: "invalid_i18n_path"
|
|
10
|
+
constants:
|
|
11
|
+
commands: "COMMANDS"
|
|
12
|
+
subcommands: "SUBCOMMANDS"
|
|
13
|
+
# VERY IMPORTANT!
|
|
14
|
+
very_important: "VERY IMPORTANT! %{dev_tarot}"
|
|
15
|
+
# VERY IMPORTANT!
|
|
16
|
+
|
|
17
|
+
errors:
|
|
18
|
+
header: "%{cmd} says there was a problem."
|
|
19
|
+
invalid_usage: "%{cmd} says you're not supposed to be here."
|
|
20
|
+
missing_args: "%{cmd} says missing required argument(s)."
|
|
21
|
+
missing_teck: "%{cmd} says no teck selected. use 'aro teck' to select one or 'aro teck new var_name' to create one."
|
|
22
|
+
not_found: "%{cmd} not found."
|
|
23
|
+
not_in_aro: "%{cmd} says you are not in aro space. that command will not work here."
|
|
24
|
+
not_initialized: "%{cmd} says you need to initialize aro. run 'aro init' to do so"
|
|
25
|
+
missing_base_migrations: "missing_base_migrations"
|
|
26
|
+
locale_load_error: "locale_load_error: failed to load locale %{named} library"
|
|
27
|
+
warnings:
|
|
28
|
+
invalid_order: "the order specified for displaying tlogs in invalid. using default (desc)."
|
|
29
|
+
messages:
|
|
30
|
+
base_db_password_prompt: "enter main password for base sqlite3 database <%{sql_filepath}> (default %{aro_name}): "
|
|
31
|
+
choose_card: "choose a card."
|
|
32
|
+
choose_teck: "choose a teck."
|
|
33
|
+
confirmation_prompt: "input 'aroyes' to reset %{name}, or enter to cancel (cancel): "
|
|
34
|
+
creating: "creating %{name}..."
|
|
35
|
+
creation_attempt: "attempting to create aro table named %{name}..."
|
|
36
|
+
creation_failure: "%{name} creation failed!"
|
|
37
|
+
creation_success: |
|
|
38
|
+
%{name} created successfully!
|
|
39
|
+
|
|
40
|
+
to get started navigate to the %{name} directory:
|
|
28
41
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
$ cd %{name}
|
|
42
|
+
$ cd %{name}
|
|
32
43
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
see aro --help for usage.
|
|
45
|
+
teck_created_sucessfully: "%{name} teck created successfully"
|
|
46
|
+
teck_selected: "%{name} teck selected in the %{room} room."
|
|
47
|
+
drawing: "drawing a card from %{name}"
|
|
48
|
+
drawing_from_dimension: "in the the %{dimension} dimension..."
|
|
49
|
+
ruby_facot_random: |
|
|
50
|
+
unable to read from /dev/tarot - using facade randomness instead.
|
|
51
|
+
for more information visit:
|
|
52
|
+
https://github.com/arowmancy/dev_tarot
|
|
53
|
+
history_drawn: "drawn cards"
|
|
54
|
+
no_tecks: |
|
|
55
|
+
no tecks created yet.
|
|
45
56
|
|
|
46
|
-
|
|
57
|
+
use the following command to create one:
|
|
47
58
|
|
|
48
|
-
|
|
59
|
+
$ aro teck new var_name
|
|
49
60
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
61
|
+
see aro --help for usage.
|
|
62
|
+
printing_card: "printing %{card}..."
|
|
63
|
+
showing: "showing %{name} [count:%{count}, order:%{order}]..."
|
|
64
|
+
shuffling: "shuffling %{name}'s cards..."
|
|
65
|
+
replacing_drawn: "replacing all drawn cards to %{name}..."
|
|
66
|
+
resetting: "resetting %{name}'s cards..."
|
|
67
|
+
understood: "%{name} says: 'understood.'"
|
|
68
|
+
welcome: "summoned %{name}"
|
data/sys/aro/cmd.rb
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
|
|
3
|
+
cmd.rb
|
|
4
|
+
|
|
5
|
+
cmd interface.
|
|
6
|
+
|
|
7
|
+
by i2097i
|
|
8
|
+
|
|
9
|
+
=end
|
|
10
|
+
|
|
11
|
+
module Aro
|
|
12
|
+
class Cmd
|
|
13
|
+
include Singleton
|
|
14
|
+
|
|
15
|
+
CMDS = {
|
|
16
|
+
CONSOLE: {
|
|
17
|
+
key: :console,
|
|
18
|
+
description: I18n.t("cmd.commands.console_description"),
|
|
19
|
+
usage: I18n.t("cmd.commands.console_usage")
|
|
20
|
+
},
|
|
21
|
+
CREATE: {
|
|
22
|
+
key: :create,
|
|
23
|
+
description: I18n.t("cmd.commands.create_description"),
|
|
24
|
+
usage: I18n.t("cmd.commands.create_usage")
|
|
25
|
+
},
|
|
26
|
+
COR: {
|
|
27
|
+
key: :cor,
|
|
28
|
+
description: I18n.t("cmd.commands.cor_description"),
|
|
29
|
+
usage: I18n.t("cmd.commands.cor_usage"),
|
|
30
|
+
subcommands: {
|
|
31
|
+
IVARS: {
|
|
32
|
+
key: :ivars,
|
|
33
|
+
description: I18n.t("cmd.subcommands.ivars_description"),
|
|
34
|
+
usage: I18n.t("cmd.subcommands.ivars_usage")
|
|
35
|
+
},
|
|
36
|
+
OVARS: {
|
|
37
|
+
key: :ovars,
|
|
38
|
+
description: I18n.t("cmd.subcommands.ovars_description"),
|
|
39
|
+
usage: I18n.t("cmd.subcommands.ovars_usage")
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
TECK: {
|
|
44
|
+
key: :teck,
|
|
45
|
+
description: I18n.t("cmd.commands.teck_description"),
|
|
46
|
+
usage: I18n.t("cmd.commands.teck_usage"),
|
|
47
|
+
subcommands: {
|
|
48
|
+
DRAW: {
|
|
49
|
+
key: :draw,
|
|
50
|
+
description: I18n.t("cmd.subcommands.draw_description"),
|
|
51
|
+
usage: I18n.t("cmd.subcommands.draw_usage")
|
|
52
|
+
},
|
|
53
|
+
EXPLORE: {
|
|
54
|
+
key: :explore,
|
|
55
|
+
description: I18n.t("cmd.subcommands.explore_description"),
|
|
56
|
+
usage: I18n.t("cmd.subcommands.explore_usage")
|
|
57
|
+
},
|
|
58
|
+
NEW: {
|
|
59
|
+
key: :new,
|
|
60
|
+
description: I18n.t("cmd.subcommands.teck_new_description"),
|
|
61
|
+
usage: I18n.t("cmd.subcommands.teck_new_usage")
|
|
62
|
+
},
|
|
63
|
+
REPLACE: {
|
|
64
|
+
key: :replace,
|
|
65
|
+
description: I18n.t("cmd.subcommands.replace_description"),
|
|
66
|
+
usage: I18n.t("cmd.subcommands.replace_usage")
|
|
67
|
+
},
|
|
68
|
+
RESET: {
|
|
69
|
+
key: :reset,
|
|
70
|
+
description: I18n.t("cmd.subcommands.reset_description"),
|
|
71
|
+
usage: I18n.t("cmd.subcommands.reset_usage")
|
|
72
|
+
},
|
|
73
|
+
SHOW: {
|
|
74
|
+
key: :show,
|
|
75
|
+
description: I18n.t("cmd.subcommands.show_description"),
|
|
76
|
+
usage: I18n.t("cmd.subcommands.show_usage")
|
|
77
|
+
},
|
|
78
|
+
SHUFFLE: {
|
|
79
|
+
key: :shuffle,
|
|
80
|
+
description: I18n.t("cmd.subcommands.shuffle_description"),
|
|
81
|
+
usage: I18n.t("cmd.subcommands.shuffle_usage")
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
INIT: {
|
|
86
|
+
key: :init,
|
|
87
|
+
description: I18n.t("cmd.commands.init_description"),
|
|
88
|
+
usage: I18n.t("cmd.commands.init_usage")
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
def self.display_lines
|
|
93
|
+
JSON.pretty_generate(CMDS).split("\n")
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|