aro 0.2.4 → 0.2.5
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/Gemfile.lock +101 -42
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/aro.gemspec +7 -7
- data/bin/aro +1 -11
- data/bin/ino +22 -0
- data/checksums/aro-0.2.4.gem.sha512 +1 -0
- data/ino_rules_todo.txt +28 -0
- data/locale/en.cards.yml +19 -21
- data/locale/en.dom.yml +1 -0
- data/locale/en.ino.yml +9 -0
- data/locale/en.usage.yml +63 -7
- data/locale/en.yml +1 -0
- data/sys/aos/abot.rb +6 -7
- data/sys/aos/aos.rb +36 -29
- data/sys/aos/models/agodo.rb +8 -0
- data/sys/aos/models/you.rb +39 -3
- data/sys/aos/vws/games/ino.rb +21 -0
- data/sys/aos/vws/games/teck.rb +1 -3
- data/sys/aro/db/migrate/1768856981_create_scrolls.rb +20 -0
- data/sys/aro/db/migrate/1768858841_create_legends.rb +16 -0
- data/sys/aro/db/migrate/1768858967_create_stories.rb +17 -0
- data/sys/aro/db/migrate/1768859060_create_chapters.rb +15 -0
- data/sys/aro/db/migrate/1768859126_create_statements.rb +22 -0
- data/sys/aro/db/migrate/1768859144_create_players.rb +18 -0
- data/sys/aro/ino.rb +64 -0
- data/sys/aro/models/chapter.rb +18 -0
- data/sys/aro/models/legend.rb +28 -0
- data/sys/aro/models/player.rb +17 -0
- data/sys/aro/models/scroll.rb +46 -0
- data/sys/aro/models/statement.rb +14 -0
- data/sys/aro/models/story.rb +28 -0
- data/sys/aro/models/teck.rb +24 -6
- data/sys/cli/constants.rb +0 -1
- data/sys/cli/usage.rb +4 -0
- data/sys/dom/dom.rb +6 -1
- data/sys/shr/ilib/crs/crs.o +0 -0
- data/sys/shr/ilib/crs/libcrs.so +0 -0
- data/sys/shr/version.rb +1 -1
- metadata +38 -21
- data/.ruby-version +0 -1
- data/sys/aro/models/base_model.rb +0 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 262fe9c35538d88f1b48125f8ddf7d53ff906d1d70b13225b0ffcd3155a4dcd4
|
|
4
|
+
data.tar.gz: 6996b6bc041fc2fa07291f843175edb10561241a4660b12eea73910b1f6d4fdc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 31bf1e930c5e87863390e50e087d422b4a3f71f960b36dc8c142511bbf6f9c0b398d9e566c111604b4d16623ca1daa5678b32e7213dfe4a67923e8b0c1be2149
|
|
7
|
+
data.tar.gz: 16b7c66807df578d053c3462ce382871a225d10e1ab105facfc423866a537fd6d36c81cac3dc4e875cd4770f6134446202897b15fc05b1bae3e98f68ccd304d9
|
data/Gemfile.lock
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
aro (0.2.
|
|
5
|
-
activerecord (~> 8.1, >= 8.1.
|
|
6
|
-
ffi (~> 1.17, >= 1.17.
|
|
7
|
-
i18n (~> 1.14, >= 1.14.
|
|
8
|
-
sqlite3 (~> 2.
|
|
4
|
+
aro (0.2.5)
|
|
5
|
+
activerecord (~> 8.1, >= 8.1.2)
|
|
6
|
+
ffi (~> 1.17, >= 1.17.3)
|
|
7
|
+
i18n (~> 1.14, >= 1.14.8)
|
|
8
|
+
sqlite3 (~> 2.9, >= 2.9.0)
|
|
9
9
|
tty-prompt (~> 0.23.1, >= 0.23.1)
|
|
10
10
|
|
|
11
11
|
GEM
|
|
12
12
|
remote: https://rubygems.org/
|
|
13
13
|
specs:
|
|
14
|
-
activemodel (8.1.
|
|
15
|
-
activesupport (= 8.1.
|
|
16
|
-
activerecord (8.1.
|
|
17
|
-
activemodel (= 8.1.
|
|
18
|
-
activesupport (= 8.1.
|
|
14
|
+
activemodel (8.1.2)
|
|
15
|
+
activesupport (= 8.1.2)
|
|
16
|
+
activerecord (8.1.2)
|
|
17
|
+
activemodel (= 8.1.2)
|
|
18
|
+
activesupport (= 8.1.2)
|
|
19
19
|
timeout (>= 0.4.0)
|
|
20
|
-
activesupport (8.1.
|
|
20
|
+
activesupport (8.1.2)
|
|
21
21
|
base64
|
|
22
22
|
bigdecimal
|
|
23
23
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -31,31 +31,34 @@ GEM
|
|
|
31
31
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
32
32
|
uri (>= 0.13.1)
|
|
33
33
|
base64 (0.3.0)
|
|
34
|
-
bigdecimal (
|
|
35
|
-
concurrent-ruby (1.3.
|
|
34
|
+
bigdecimal (4.0.1)
|
|
35
|
+
concurrent-ruby (1.3.6)
|
|
36
36
|
connection_pool (3.0.2)
|
|
37
37
|
diff-lcs (1.6.2)
|
|
38
38
|
drb (2.2.3)
|
|
39
|
-
ffi (1.17.
|
|
40
|
-
ffi (1.17.
|
|
41
|
-
ffi (1.17.
|
|
42
|
-
ffi (1.17.
|
|
43
|
-
ffi (1.17.
|
|
44
|
-
ffi (1.17.
|
|
45
|
-
ffi (1.17.
|
|
46
|
-
ffi (1.17.
|
|
47
|
-
ffi (1.17.
|
|
48
|
-
ffi (1.17.
|
|
49
|
-
i18n (1.14.
|
|
39
|
+
ffi (1.17.3-aarch64-linux-gnu)
|
|
40
|
+
ffi (1.17.3-aarch64-linux-musl)
|
|
41
|
+
ffi (1.17.3-arm-linux-gnu)
|
|
42
|
+
ffi (1.17.3-arm-linux-musl)
|
|
43
|
+
ffi (1.17.3-arm64-darwin)
|
|
44
|
+
ffi (1.17.3-x86-linux-gnu)
|
|
45
|
+
ffi (1.17.3-x86-linux-musl)
|
|
46
|
+
ffi (1.17.3-x86_64-darwin)
|
|
47
|
+
ffi (1.17.3-x86_64-linux-gnu)
|
|
48
|
+
ffi (1.17.3-x86_64-linux-musl)
|
|
49
|
+
i18n (1.14.8)
|
|
50
50
|
concurrent-ruby (~> 1.0)
|
|
51
|
-
json (2.
|
|
52
|
-
listen (3.
|
|
51
|
+
json (2.18.0)
|
|
52
|
+
listen (3.10.0)
|
|
53
|
+
logger
|
|
53
54
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
54
55
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
55
56
|
logger (1.7.0)
|
|
56
|
-
minitest (
|
|
57
|
+
minitest (6.0.1)
|
|
58
|
+
prism (~> 1.5)
|
|
57
59
|
pastel (0.8.0)
|
|
58
60
|
tty-color (~> 0.5)
|
|
61
|
+
prism (1.8.0)
|
|
59
62
|
rake (13.3.1)
|
|
60
63
|
rb-fsevent (0.11.2)
|
|
61
64
|
rb-inotify (0.11.1)
|
|
@@ -74,17 +77,17 @@ GEM
|
|
|
74
77
|
rspec-support (~> 3.13.0)
|
|
75
78
|
rspec-support (3.13.6)
|
|
76
79
|
securerandom (0.4.1)
|
|
77
|
-
sqlite3 (2.
|
|
78
|
-
sqlite3 (2.
|
|
79
|
-
sqlite3 (2.
|
|
80
|
-
sqlite3 (2.
|
|
81
|
-
sqlite3 (2.
|
|
82
|
-
sqlite3 (2.
|
|
83
|
-
sqlite3 (2.
|
|
84
|
-
sqlite3 (2.
|
|
85
|
-
sqlite3 (2.
|
|
86
|
-
sqlite3 (2.
|
|
87
|
-
timeout (0.
|
|
80
|
+
sqlite3 (2.9.0-aarch64-linux-gnu)
|
|
81
|
+
sqlite3 (2.9.0-aarch64-linux-musl)
|
|
82
|
+
sqlite3 (2.9.0-arm-linux-gnu)
|
|
83
|
+
sqlite3 (2.9.0-arm-linux-musl)
|
|
84
|
+
sqlite3 (2.9.0-arm64-darwin)
|
|
85
|
+
sqlite3 (2.9.0-x86-linux-gnu)
|
|
86
|
+
sqlite3 (2.9.0-x86-linux-musl)
|
|
87
|
+
sqlite3 (2.9.0-x86_64-darwin)
|
|
88
|
+
sqlite3 (2.9.0-x86_64-linux-gnu)
|
|
89
|
+
sqlite3 (2.9.0-x86_64-linux-musl)
|
|
90
|
+
timeout (0.6.0)
|
|
88
91
|
tty-color (0.6.0)
|
|
89
92
|
tty-cursor (0.7.1)
|
|
90
93
|
tty-prompt (0.23.1)
|
|
@@ -109,16 +112,72 @@ PLATFORMS
|
|
|
109
112
|
x86-linux-gnu
|
|
110
113
|
x86-linux-musl
|
|
111
114
|
x86_64-darwin
|
|
112
|
-
x86_64-linux
|
|
113
115
|
x86_64-linux-gnu
|
|
114
116
|
x86_64-linux-musl
|
|
115
117
|
|
|
116
118
|
DEPENDENCIES
|
|
117
119
|
aro!
|
|
118
|
-
bundler (~>
|
|
119
|
-
listen (~> 3.
|
|
120
|
+
bundler (~> 4.0, >= 4.0.3)
|
|
121
|
+
listen (~> 3.10, >= 3.10.0)
|
|
120
122
|
rake (~> 13.3, >= 13.3.1)
|
|
121
123
|
rspec (~> 3.13, >= 3.13.2)
|
|
122
124
|
|
|
125
|
+
CHECKSUMS
|
|
126
|
+
activemodel (8.1.2) sha256=e21358c11ce68aed3f9838b7e464977bc007b4446c6e4059781e1d5c03bcf33e
|
|
127
|
+
activerecord (8.1.2) sha256=acfbe0cadfcc50fa208011fe6f4eb01cae682ebae0ef57145ba45380c74bcc44
|
|
128
|
+
activesupport (8.1.2) sha256=88842578ccd0d40f658289b0e8c842acfe9af751afee2e0744a7873f50b6fdae
|
|
129
|
+
aro (0.2.5)
|
|
130
|
+
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
131
|
+
bigdecimal (4.0.1) sha256=8b07d3d065a9f921c80ceaea7c9d4ae596697295b584c296fe599dd0ad01c4a7
|
|
132
|
+
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
|
|
133
|
+
connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
|
|
134
|
+
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
135
|
+
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
136
|
+
ffi (1.17.3-aarch64-linux-gnu) sha256=28ad573df26560f0aedd8a90c3371279a0b2bd0b4e834b16a2baa10bd7a97068
|
|
137
|
+
ffi (1.17.3-aarch64-linux-musl) sha256=020b33b76775b1abacc3b7d86b287cef3251f66d747092deec592c7f5df764b2
|
|
138
|
+
ffi (1.17.3-arm-linux-gnu) sha256=5bd4cea83b68b5ec0037f99c57d5ce2dd5aa438f35decc5ef68a7d085c785668
|
|
139
|
+
ffi (1.17.3-arm-linux-musl) sha256=0d7626bb96265f9af78afa33e267d71cfef9d9a8eb8f5525344f8da6c7d76053
|
|
140
|
+
ffi (1.17.3-arm64-darwin) sha256=0c690555d4cee17a7f07c04d59df39b2fba74ec440b19da1f685c6579bb0717f
|
|
141
|
+
ffi (1.17.3-x86-linux-gnu) sha256=868a88fcaf5186c3a46b7c7c2b2c34550e1e61a405670ab23f5b6c9971529089
|
|
142
|
+
ffi (1.17.3-x86-linux-musl) sha256=f0286aa6ef40605cf586e61406c446de34397b85dbb08cc99fdaddaef8343945
|
|
143
|
+
ffi (1.17.3-x86_64-darwin) sha256=1f211811eb5cfaa25998322cdd92ab104bfbd26d1c4c08471599c511f2c00bb5
|
|
144
|
+
ffi (1.17.3-x86_64-linux-gnu) sha256=3746b01f677aae7b16dc1acb7cb3cc17b3e35bdae7676a3f568153fb0e2c887f
|
|
145
|
+
ffi (1.17.3-x86_64-linux-musl) sha256=086b221c3a68320b7564066f46fed23449a44f7a1935f1fe5a245bd89d9aea56
|
|
146
|
+
i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
|
|
147
|
+
json (2.18.0) sha256=b10506aee4183f5cf49e0efc48073d7b75843ce3782c68dbeb763351c08fd505
|
|
148
|
+
listen (3.10.0) sha256=c6e182db62143aeccc2e1960033bebe7445309c7272061979bb098d03760c9d2
|
|
149
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
150
|
+
minitest (6.0.1) sha256=7854c74f48e2e975969062833adc4013f249a4b212f5e7b9d5c040bf838d54bb
|
|
151
|
+
pastel (0.8.0) sha256=481da9fb7d2f6e6b1a08faf11fa10363172dc40fd47848f096ae21209f805a75
|
|
152
|
+
prism (1.8.0) sha256=84453a16ef5530ea62c5f03ec16b52a459575ad4e7b9c2b360fd8ce2c39c1254
|
|
153
|
+
rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
|
|
154
|
+
rb-fsevent (0.11.2) sha256=43900b972e7301d6570f64b850a5aa67833ee7d87b458ee92805d56b7318aefe
|
|
155
|
+
rb-inotify (0.11.1) sha256=a0a700441239b0ff18eb65e3866236cd78613d6b9f78fea1f9ac47a85e47be6e
|
|
156
|
+
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
|
|
157
|
+
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
|
|
158
|
+
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
|
159
|
+
rspec-mocks (3.13.7) sha256=0979034e64b1d7a838aaaddf12bf065ea4dc40ef3d4c39f01f93ae2c66c62b1c
|
|
160
|
+
rspec-support (3.13.6) sha256=2e8de3702427eab064c9352fe74488cc12a1bfae887ad8b91cba480ec9f8afb2
|
|
161
|
+
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
|
162
|
+
sqlite3 (2.9.0-aarch64-linux-gnu) sha256=cfe1e0216f46d7483839719bf827129151e6c680317b99d7b8fc1597a3e13473
|
|
163
|
+
sqlite3 (2.9.0-aarch64-linux-musl) sha256=56a35cb2d70779afc2ac191baf2c2148242285ecfed72f9b021218c5c4917913
|
|
164
|
+
sqlite3 (2.9.0-arm-linux-gnu) sha256=a19a21504b0d7c8c825fbbf37b358ae316b6bd0d0134c619874060b2eef05435
|
|
165
|
+
sqlite3 (2.9.0-arm-linux-musl) sha256=fca5b26197c70e3363115d3faaea34d7b2ad9c7f5fa8d8312e31b64e7556ee07
|
|
166
|
+
sqlite3 (2.9.0-arm64-darwin) sha256=a917bd9b84285766ff3300b7d79cd583f5a067594c8c1263e6441618c04a6ed3
|
|
167
|
+
sqlite3 (2.9.0-x86-linux-gnu) sha256=47317ba230f6c2c361981aa5fc1bf9de1b99727317171393ba90abab092c5b5f
|
|
168
|
+
sqlite3 (2.9.0-x86-linux-musl) sha256=b627f3a2ca59aaaa5e10b8666cdbd7122469b49afa4bd895133cecb7b5c1368d
|
|
169
|
+
sqlite3 (2.9.0-x86_64-darwin) sha256=59fe51baa3cb33c36d27ce78b4ed9360cd33ccca09498c2ae63850c97c0a6026
|
|
170
|
+
sqlite3 (2.9.0-x86_64-linux-gnu) sha256=72fff9bd750070ba3af695511ba5f0e0a2d8a9206f84869640b3e99dfaf3d5a5
|
|
171
|
+
sqlite3 (2.9.0-x86_64-linux-musl) sha256=ef716ba7a66d7deb1ccc402ac3a6d7343da17fac862793b7f0be3d2917253c90
|
|
172
|
+
timeout (0.6.0) sha256=6d722ad619f96ee383a0c557ec6eb8c4ecb08af3af62098a0be5057bf00de1af
|
|
173
|
+
tty-color (0.6.0) sha256=6f9c37ca3a4e2367fb2e6d09722762647d6f455c111f05b59f35730eeb24332a
|
|
174
|
+
tty-cursor (0.7.1) sha256=79534185e6a777888d88628b14b6a1fdf5154a603f285f80b1753e1908e0bf48
|
|
175
|
+
tty-prompt (0.23.1) sha256=fcdbce905238993f27eecfdf67597a636bc839d92192f6a0eef22b8166449ec8
|
|
176
|
+
tty-reader (0.9.0) sha256=c62972c985c0b1566f0e56743b6a7882f979d3dc32ff491ed490a076f899c2b1
|
|
177
|
+
tty-screen (0.8.2) sha256=c090652115beae764336c28802d633f204fb84da93c6a968aa5d8e319e819b50
|
|
178
|
+
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
|
|
179
|
+
uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
|
|
180
|
+
wisper (2.0.1) sha256=ce17bc5c3a166f241a2e6613848b025c8146fce2defba505920c1d1f3f88fae6
|
|
181
|
+
|
|
123
182
|
BUNDLED WITH
|
|
124
|
-
|
|
183
|
+
4.0.3
|
data/LICENSE
CHANGED
data/README.md
CHANGED
data/aro.gemspec
CHANGED
|
@@ -21,20 +21,20 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
spec.license = "MIT"
|
|
22
22
|
spec.files = `git ls-files`.split("\n").reject{|p| p.match?(/^(spec|.release|.*.gem$)/)}
|
|
23
23
|
spec.bindir = "bin"
|
|
24
|
-
spec.executables = ["aro", "aos"]
|
|
24
|
+
spec.executables = ["aro", "aos", "ino"]
|
|
25
25
|
spec.require_paths = ["sys"]
|
|
26
26
|
spec.required_ruby_version = ">= 3.4.7"
|
|
27
27
|
|
|
28
28
|
# development gems
|
|
29
|
-
spec.add_development_dependency "bundler", "~>
|
|
30
|
-
spec.add_development_dependency "listen", "~> 3.
|
|
29
|
+
spec.add_development_dependency "bundler", "~> 4.0", ">= 4.0.3"
|
|
30
|
+
spec.add_development_dependency "listen", "~> 3.10", ">= 3.10.0"
|
|
31
31
|
spec.add_development_dependency "rake", "~> 13.3", ">= 13.3.1"
|
|
32
32
|
spec.add_development_dependency "rspec", "~> 3.13", ">= 3.13.2"
|
|
33
33
|
|
|
34
34
|
# runtime gems
|
|
35
|
-
spec.add_runtime_dependency "activerecord", "~> 8.1", ">= 8.1.
|
|
36
|
-
spec.add_runtime_dependency "ffi", "~> 1.17", ">= 1.17.
|
|
37
|
-
spec.add_runtime_dependency "i18n", "~> 1.14", ">= 1.14.
|
|
38
|
-
spec.add_runtime_dependency "sqlite3", "~> 2.
|
|
35
|
+
spec.add_runtime_dependency "activerecord", "~> 8.1", ">= 8.1.2"
|
|
36
|
+
spec.add_runtime_dependency "ffi", "~> 1.17", ">= 1.17.3"
|
|
37
|
+
spec.add_runtime_dependency "i18n", "~> 1.14", ">= 1.14.8"
|
|
38
|
+
spec.add_runtime_dependency "sqlite3", "~> 2.9", ">= 2.9.0"
|
|
39
39
|
spec.add_runtime_dependency "tty-prompt", "~> 0.23.1", ">= 0.23.1"
|
|
40
40
|
end
|
data/bin/aro
CHANGED
|
@@ -12,16 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
require :aro.to_s
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
# https://stackoverflow.com/a/11627931
|
|
17
|
-
|
|
18
|
-
Aro::V.say(ARGV)
|
|
19
|
-
if ARGV.include?(Aos::Os::YOU_FLAG)
|
|
20
|
-
Aos::Db.load
|
|
21
|
-
yfi = ARGV.index(Aos::Os::YOU_FLAG)
|
|
22
|
-
Aos::Os.instance.you = Aos::You.find_by(name: ARGV[yfi + Aro::Mancy::S]&.strip)
|
|
23
|
-
Aos::Os.instance.you_flag = Aos::You.find_by(name: ARGV[yfi + Aro::Mancy::S]&.strip)
|
|
24
|
-
end
|
|
15
|
+
Aos::Os.configure_aro_cli
|
|
25
16
|
|
|
26
17
|
if CLI::FLAGS[:VERSION].include?(CLI::ARGV0)
|
|
27
18
|
Aro::P.say(Aro::VERSION)
|
|
@@ -34,7 +25,6 @@ if !CLI::ARGV0&.to_s&.upcase.nil? &&
|
|
|
34
25
|
exit(CLI::EXIT_CODES[:SUCCESS])
|
|
35
26
|
end
|
|
36
27
|
|
|
37
|
-
|
|
38
28
|
case CLI::ARGV0
|
|
39
29
|
when CLI::CMDS[:ARO][:COR]
|
|
40
30
|
Aos.cor
|
data/bin/ino
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#! /usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
=begin
|
|
4
|
+
|
|
5
|
+
ino
|
|
6
|
+
|
|
7
|
+
entry point for ino.
|
|
8
|
+
|
|
9
|
+
by i2097i
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require :aro.to_s
|
|
14
|
+
|
|
15
|
+
Aos::Os.configure_aro_cli
|
|
16
|
+
|
|
17
|
+
unless Aro::Dom.in_arodom?
|
|
18
|
+
Aos::S.say(I18n.t("cli.errors.not_in_aos" , cmd: Aos::Os.name))
|
|
19
|
+
exit(CLI::EXIT_CODES[:GENERAL_ERROR])
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
Aro.ino
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
543c5ba421194f80f81176cc2f79ccf77aedff230a7c0becab44af3af73aa770b6ada91a18ce735236b158d620d84f0158e735de5bcca8c586cdf77fb2755cf0
|
data/ino_rules_todo.txt
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
ino is played with traditional 78-card tarot deck. a game can be defined
|
|
2
|
+
as a single story (1 game to 11 points) or a legend (many stories up to an
|
|
3
|
+
agreed-upon point value).
|
|
4
|
+
|
|
5
|
+
note
|
|
6
|
+
the numbers of cards change depending on the number of total players.
|
|
7
|
+
when agreeing upon what numbers to use, symmetry should be enforced so
|
|
8
|
+
each player has the same chances throughout the game.
|
|
9
|
+
|
|
10
|
+
1 story constitutes 7 chapters of 11 cards. the total possible
|
|
11
|
+
points per story is 11. many stories may be combined into a legend within
|
|
12
|
+
which the players play up to an agreed upon number of total points.
|
|
13
|
+
whoever gets there first wins. if there is a tie another story may be played
|
|
14
|
+
to determine the win.
|
|
15
|
+
|
|
16
|
+
at the start of a game, the dealer shuffles the deck. a non-dealer cuts
|
|
17
|
+
the deck. 11 cards are then dealt to each player. this begins the first
|
|
18
|
+
chapter. all gameplay goes from left to right (ccw). the first non-dealer to
|
|
19
|
+
the right then begins their turn by placing a card on the scroll. this ends
|
|
20
|
+
the player's turn. the next player must then place a card. as this goes on,
|
|
21
|
+
players add card number values or pair a particular card that they have in
|
|
22
|
+
their hand with a card of the same value on the scroll. when such a match or
|
|
23
|
+
combination can be made, the player can take the card they have in their hand
|
|
24
|
+
and any matching combinations or cards of the same value as their winnings.
|
|
25
|
+
this continues until each chapter is played. in the last chapter of a story,
|
|
26
|
+
whichever player last picks up any winnings also recieves all residual cards
|
|
27
|
+
left on the scroll. the dealer alternates each story (left to right).
|
|
28
|
+
the dealer must announce the last chapter of a story before it begins.
|
data/locale/en.cards.yml
CHANGED
|
@@ -1,52 +1,51 @@
|
|
|
1
1
|
en:
|
|
2
2
|
elements:
|
|
3
|
+
index: ["earth", "water", "air", "fire", "ether"]
|
|
4
|
+
keys: ["name", "tags", "summary"]
|
|
3
5
|
earth:
|
|
4
6
|
color: "brown"
|
|
5
7
|
symbol: ""
|
|
8
|
+
summary: ""
|
|
6
9
|
water:
|
|
7
10
|
color: "blue"
|
|
8
11
|
symbol: ""
|
|
12
|
+
summary: ""
|
|
9
13
|
air:
|
|
10
14
|
color: "lightblue"
|
|
11
15
|
symbol: ""
|
|
16
|
+
summary: ""
|
|
12
17
|
fire:
|
|
13
18
|
color: "red"
|
|
14
19
|
symbol: ""
|
|
20
|
+
summary: ""
|
|
15
21
|
ether:
|
|
16
22
|
color: "white"
|
|
17
23
|
symbol: ""
|
|
24
|
+
summary: ""
|
|
18
25
|
suits:
|
|
26
|
+
name: "suit"
|
|
19
27
|
index: ["T", "C", "S", "P", "W"]
|
|
28
|
+
keys: ["name", "tags", "summary"]
|
|
20
29
|
T:
|
|
21
30
|
name: "trumps"
|
|
22
|
-
|
|
23
|
-
-tags: []
|
|
31
|
+
tags: ["journey", "ether", "experience", "collective", "evolution", "human"]
|
|
24
32
|
summary: "the suit of trumps is associated with the element of ether. it has 22 cards indexed from 0 to 21. Their ordering is associated with the fool's journey."
|
|
25
|
-
reversed_summary: ""
|
|
26
33
|
C:
|
|
27
34
|
name: "cups"
|
|
28
|
-
|
|
29
|
-
-tags: []
|
|
35
|
+
tags: ["hearts", "water", "cancer", "scorpio", "pisces", "depth", "flow", "nurture", "emotion", "feminine"]
|
|
30
36
|
summary: "the suit of cups is associated with the element of water. it has 14 cards 1-10 + page-knight-queen-king."
|
|
31
|
-
reversed_summary: ""
|
|
32
37
|
S:
|
|
33
38
|
name: "swords"
|
|
34
|
-
|
|
35
|
-
-tags: []
|
|
39
|
+
tags: ["diamonds", "air", "gemini", "libra", "aquarius", "information", "logic", "rational", "mind", "masculine"]
|
|
36
40
|
summary: "the suit of swords is associated with the element of air. it has 14 cards 1-10 + page-knight-queen-king."
|
|
37
|
-
reversed_summary: ""
|
|
38
41
|
P:
|
|
39
42
|
name: "pentacles"
|
|
40
|
-
|
|
41
|
-
-tags: []
|
|
43
|
+
tags: ["spades", "dirt", "earth", "taurus", "virgo", "root", "grounding", "harvest", "sustenance", "capricorn", "connection", "feminine"]
|
|
42
44
|
summary: "the suit of pentacles is associated with the element of earth. it has 14 cards 1-10 + page-knight-queen-king."
|
|
43
|
-
reversed_summary: ""
|
|
44
45
|
W:
|
|
45
46
|
name: "wands"
|
|
46
|
-
|
|
47
|
-
-tags: []
|
|
47
|
+
tags: ["clubs", "fire", "leo", "aries", "sagittarius", "will", "power", "solar plexus", "creativity", "masculine"]
|
|
48
48
|
summary: "the suit of wands is associated with the element of fire. it has 14 cards 1-10 + page-knight-queen-king."
|
|
49
|
-
reversed_summary: ""
|
|
50
49
|
cards:
|
|
51
50
|
index: ["TO", "TI", "TII", "TIII", "TIV", "TV", "TVI", "TVII", "TVIII", "TIX", "TX", "TXI", "TXII", "TXIII", "TXIV", "TXV", "TXVI", "TXVII", "TXVIII", "TXIX", "TXX", "TXXI", "CI", "CII", "CIII", "CIV", "CV", "CVI", "CVII", "CVIII", "CIX", "CX", "CXI", "CXII", "CXIII", "CXIV", "SI", "SII", "SIII", "SIV", "SV", "SVI", "SVII", "SVIII", "SIX", "SX", "SXI", "SXII", "SXIII", "SXIV", "PI", "PII", "PIII", "PIV", "PV", "PVI", "PVII", "PVIII", "PIX", "PX", "PXI", "PXII", "PXIII", "PXIV", "WI", "WII", "WIII", "WIV", "WV", "WVI", "WVII", "WVIII", "WIX", "WX", "WXI", "WXII", "WXIII", "WXIV"]
|
|
52
51
|
keys: ["name", "+tags", "-tags", "+summary", "-summary"]
|
|
@@ -56,7 +55,6 @@ en:
|
|
|
56
55
|
-tags: ["the spirit of the ether", "uranus", "boredom", "ill-founded", "impulsive", "joker", "restless", "stagnation", "trickster"]
|
|
57
56
|
+summary: "+"
|
|
58
57
|
-summary: "-"
|
|
59
|
-
|
|
60
58
|
TI:
|
|
61
59
|
name: "the magician"
|
|
62
60
|
+tags: ["the magnus of power", "mercury", "creative harmony", "creativity", "divine connection", "gifts", "inner guidance", "intuition", "manifestation"]
|
|
@@ -245,8 +243,8 @@ en:
|
|
|
245
243
|
-summary: "-"
|
|
246
244
|
CXI:
|
|
247
245
|
name: "page of cups"
|
|
248
|
-
+tags: ["princess of the palace of the floods", "cancer", "earth", "pisces", "potential", "scorpio", "socially naive", "
|
|
249
|
-
-tags: ["princess of the palace of the floods", "cancer", "closed off", "insecurity", "misplaced
|
|
246
|
+
+tags: ["princess of the palace of the floods", "cancer", "earth", "pisces", "potential", "scorpio", "socially naive", "trusting", "undeveloped gifts", "youthful"]
|
|
247
|
+
-tags: ["princess of the palace of the floods", "cancer", "closed off", "insecurity", "misplaced trust", "pisces", "earth", "scorpio", "unaccepted", "victimization"]
|
|
250
248
|
+summary: "+"
|
|
251
249
|
-summary: "-"
|
|
252
250
|
CXII:
|
|
@@ -318,7 +316,7 @@ en:
|
|
|
318
316
|
SIX:
|
|
319
317
|
name: "nine of swords"
|
|
320
318
|
+tags: ["lord of despair and cruelty", "gemini", "mars", "dark night of the soul", "despair", "grief", "isolation", "sadness", "shame"]
|
|
321
|
-
-tags: ["lord of despair and cruelty", "gemini", "mars", "
|
|
319
|
+
-tags: ["lord of despair and cruelty", "gemini", "mars", "distrust", "end of despair", "isolation", "owning up", "self knowledge", "solitude"]
|
|
322
320
|
+summary: "+"
|
|
323
321
|
-summary: "-"
|
|
324
322
|
SX:
|
|
@@ -504,7 +502,7 @@ en:
|
|
|
504
502
|
WXII:
|
|
505
503
|
name: "knight of wands"
|
|
506
504
|
+tags: ["lord of the flame and lightening", "activity", "adventure", "air", "enthusiasm", "generosity", "leo", "movement", "sagittarius"]
|
|
507
|
-
-tags: ["lord of the flame and lightening", "air", "delay", "lack of
|
|
505
|
+
-tags: ["lord of the flame and lightening", "air", "delay", "lack of trust", "leo", "postponed", "restless", "unreliable", "sagittarius"]
|
|
508
506
|
+summary: "+"
|
|
509
507
|
-summary: "-"
|
|
510
508
|
WXIII:
|
|
@@ -515,7 +513,7 @@ en:
|
|
|
515
513
|
-summary: "-"
|
|
516
514
|
WXIV:
|
|
517
515
|
name: "king of wands"
|
|
518
|
-
+tags: ["prince of the chariot of fire", "aries", "fire", "leo", "sagittarius", "
|
|
516
|
+
+tags: ["prince of the chariot of fire", "aries", "fire", "leo", "sagittarius", "trust", "loyalty", "positive authority", "honesty", "intelligence"]
|
|
519
517
|
-tags: ["prince of the chariot of fire", "aries", "self-serving", "not helpful", "distracted", "decreased interest", "bully", "fire", "leo", "sagittarius"]
|
|
520
518
|
+summary: "+"
|
|
521
519
|
-summary: "-"
|
data/locale/en.dom.yml
CHANGED
|
@@ -38,6 +38,7 @@ en:
|
|
|
38
38
|
messages:
|
|
39
39
|
arodome_created: "%{name} arodome created. enter the following commands to begin: $ cd %{name}"
|
|
40
40
|
creating_arodome: "creating arodome named %{name}"
|
|
41
|
+
generating_agodo_home: "generating agodo home for %{name}..."
|
|
41
42
|
generating_wings: "generating wings..."
|
|
42
43
|
generating_wing: "generating the %{wing} wing..."
|
|
43
44
|
generating_room: "generating the %{room} room."
|
data/locale/en.ino.yml
ADDED
data/locale/en.usage.yml
CHANGED
|
@@ -16,8 +16,8 @@ en:
|
|
|
16
16
|
run once from the dom base directory.
|
|
17
17
|
|
|
18
18
|
params:
|
|
19
|
-
var_root_username:
|
|
20
|
-
|
|
19
|
+
var_root_username: root aos username.
|
|
20
|
+
var_root_password: root aos password.
|
|
21
21
|
|
|
22
22
|
usage:
|
|
23
23
|
|
|
@@ -31,11 +31,67 @@ en:
|
|
|
31
31
|
$ aro dom new var_name
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
aro by i2097i is copyright (
|
|
34
|
+
aro by i2097i is copyright (2026)
|
|
35
|
+
ino: |
|
|
36
|
+
SUMMARY
|
|
37
|
+
|
|
38
|
+
ino is a card game for tarot.
|
|
39
|
+
|
|
40
|
+
quickstart or tldr;
|
|
41
|
+
|
|
42
|
+
$ ino create var_name && ino
|
|
43
|
+
|
|
44
|
+
COMMANDS
|
|
45
|
+
create
|
|
46
|
+
create a new game of ino.
|
|
47
|
+
|
|
48
|
+
example:
|
|
49
|
+
|
|
50
|
+
$ ino create var_name
|
|
51
|
+
|
|
52
|
+
RULES
|
|
53
|
+
|
|
54
|
+
scoring
|
|
55
|
+
points description
|
|
56
|
+
|
|
57
|
+
1 total cards
|
|
58
|
+
1 total trumps
|
|
59
|
+
1 total swords
|
|
60
|
+
1 total wands
|
|
61
|
+
1 total face cards
|
|
62
|
+
1 10 of cups
|
|
63
|
+
1 10 of pentacles
|
|
64
|
+
4 aces
|
|
65
|
+
+___________________________
|
|
66
|
+
11 total points
|
|
67
|
+
|
|
68
|
+
terms
|
|
69
|
+
chapter
|
|
70
|
+
a component round of a story (2 player is 11 cards each).
|
|
71
|
+
statement
|
|
72
|
+
1 or more thought cards and a final word card.
|
|
73
|
+
word
|
|
74
|
+
a card that must be produced by a player to close a statement.
|
|
75
|
+
legend
|
|
76
|
+
a series of stories played in succession to an agreed upon score.
|
|
77
|
+
scroll
|
|
78
|
+
the open play arena where cards can be used to construct inos.
|
|
79
|
+
story
|
|
80
|
+
one full ino playthrough of the entire deck.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
gameplay
|
|
84
|
+
todo:
|
|
85
|
+
|
|
86
|
+
aro by i2097i is copyright (2026)
|
|
35
87
|
main: |
|
|
36
|
-
|
|
88
|
+
SUMMARY
|
|
89
|
+
|
|
90
|
+
aro is a cli for tarot. it includes three command-line executables.
|
|
37
91
|
|
|
38
|
-
aro
|
|
92
|
+
1) aro
|
|
93
|
+
2) aos
|
|
94
|
+
3) ino
|
|
39
95
|
|
|
40
96
|
SYNOPSIS
|
|
41
97
|
|
|
@@ -91,7 +147,7 @@ en:
|
|
|
91
147
|
$ aro dom [-h | --help]
|
|
92
148
|
|
|
93
149
|
|
|
94
|
-
aro by i2097i is copyright (
|
|
150
|
+
aro by i2097i is copyright (2026)
|
|
95
151
|
teck: |
|
|
96
152
|
aro teck
|
|
97
153
|
manage tecks in the aro space.
|
|
@@ -160,4 +216,4 @@ en:
|
|
|
160
216
|
shuffles the current teck and generates a log record.
|
|
161
217
|
|
|
162
218
|
|
|
163
|
-
aro by i2097i is copyright (
|
|
219
|
+
aro by i2097i is copyright (2026)
|
data/locale/en.yml
CHANGED
|
@@ -48,6 +48,7 @@ en:
|
|
|
48
48
|
$ aro teck new var_name
|
|
49
49
|
|
|
50
50
|
see aro --help for usage.
|
|
51
|
+
printing_card: "printing %{card}..."
|
|
51
52
|
showing: "showing %{name} [count:%{count}, order:%{order}]..."
|
|
52
53
|
shuffling: "shuffling %{name}'s cards..."
|
|
53
54
|
replacing_drawn: "replacing all drawn cards to %{name}..."
|
data/sys/aos/abot.rb
CHANGED
|
@@ -14,6 +14,8 @@ module Aos
|
|
|
14
14
|
|
|
15
15
|
attr_accessor :display_lines
|
|
16
16
|
|
|
17
|
+
AGODOS_DIR = :".agodos"
|
|
18
|
+
|
|
17
19
|
CMDS = {
|
|
18
20
|
AGODO: {
|
|
19
21
|
key: :agodo,
|
|
@@ -48,9 +50,8 @@ module Aos
|
|
|
48
50
|
end
|
|
49
51
|
|
|
50
52
|
def self.cron
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
return if not_currently_enabled || File.exist?(Aos::Abot.cron_pid_file)
|
|
53
|
+
Aos::Os.say("here")
|
|
54
|
+
return if File.exist?(Aos::Abot.cron_pid_file)
|
|
54
55
|
|
|
55
56
|
abot_pid = fork {
|
|
56
57
|
log = File.open(File.join(Aro::Dom.dom_root, Aro::Dom.room_path(:abot), "abot.log"), "w+")
|
|
@@ -79,12 +80,10 @@ module Aos
|
|
|
79
80
|
|
|
80
81
|
def self.process_cmd(args)
|
|
81
82
|
args = Aos::Os.sanitize_you(args)
|
|
82
|
-
if args[Aro::Mancy::S].nil?
|
|
83
|
+
if args[Aro::Mancy::S].nil? ||
|
|
84
|
+
CLI::FLAGS[:HELP].include?(args[Aro::Mancy::S].to_sym)
|
|
83
85
|
Aos::Abot.abot
|
|
84
86
|
return true
|
|
85
|
-
elsif CLI::FLAGS[:HELP].include?(args[Aro::Mancy::S].to_sym)
|
|
86
|
-
self.instance.display_lines = [I18n.t("abot.usage")]
|
|
87
|
-
return true
|
|
88
87
|
end
|
|
89
88
|
|
|
90
89
|
processed = false
|