aro 0.2.3 → 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.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +101 -42
  3. data/LICENSE +1 -1
  4. data/README.md +1 -1
  5. data/aro.gemspec +10 -10
  6. data/bin/aro +8 -12
  7. data/bin/ino +22 -0
  8. data/checksums/aro-0.2.4.gem.sha512 +1 -0
  9. data/ino_rules_todo.txt +28 -0
  10. data/locale/en.abot.yml +15 -15
  11. data/locale/en.amg.yml +7 -7
  12. data/locale/en.aos.yml +7 -7
  13. data/locale/en.cards.yml +360 -313
  14. data/locale/en.data.yml +1 -1
  15. data/locale/en.dom.yml +3 -2
  16. data/locale/en.flie.yml +1 -1
  17. data/locale/en.ino.yml +9 -0
  18. data/locale/en.usage.yml +152 -69
  19. data/locale/en.yml +5 -3
  20. data/sys/aos/abot.rb +18 -20
  21. data/sys/aos/aos.rb +60 -48
  22. data/sys/aos/cor.rb +11 -14
  23. data/sys/aos/db.rb +1 -3
  24. data/sys/aos/models/agodo.rb +9 -2
  25. data/sys/aos/models/fpxy.rb +0 -2
  26. data/sys/aos/models/ilib.rb +0 -2
  27. data/sys/aos/models/ilog.rb +0 -2
  28. data/sys/aos/models/you.rb +46 -6
  29. data/sys/aos/vws/base.rb +13 -14
  30. data/sys/aos/vws/games/ino.rb +21 -0
  31. data/sys/aos/vws/games/teck.rb +19 -17
  32. data/sys/aos/vws/welcome.rb +1 -1
  33. data/sys/aro/db/migrate/1768856981_create_scrolls.rb +20 -0
  34. data/sys/aro/db/migrate/1768858841_create_legends.rb +16 -0
  35. data/sys/aro/db/migrate/1768858967_create_stories.rb +17 -0
  36. data/sys/aro/db/migrate/1768859060_create_chapters.rb +15 -0
  37. data/sys/aro/db/migrate/1768859126_create_statements.rb +22 -0
  38. data/sys/aro/db/migrate/1768859144_create_players.rb +18 -0
  39. data/sys/aro/db.rb +3 -5
  40. data/sys/aro/ino.rb +64 -0
  41. data/sys/aro/models/chapter.rb +18 -0
  42. data/sys/aro/models/legend.rb +28 -0
  43. data/sys/aro/models/player.rb +17 -0
  44. data/sys/aro/models/scroll.rb +46 -0
  45. data/sys/aro/models/statement.rb +14 -0
  46. data/sys/aro/models/story.rb +28 -0
  47. data/sys/aro/models/teck.rb +44 -13
  48. data/sys/cli/create.rb +1 -1
  49. data/sys/cli/dom.rb +2 -2
  50. data/sys/cli/nterface.rb +15 -9
  51. data/sys/cli/teck.rb +4 -6
  52. data/sys/cli/usage.rb +15 -1
  53. data/sys/dom/dom.rb +6 -2
  54. data/sys/fpx.rb +25 -37
  55. data/sys/shr/ilib/crs/crs.o +0 -0
  56. data/sys/shr/ilib/crs/libcrs.so +0 -0
  57. data/sys/shr/t.rb +2 -2
  58. data/sys/shr/version.rb +1 -1
  59. metadata +38 -22
  60. data/.ruby-version +0 -1
  61. data/sys/aos/models/base_model.rb +0 -13
  62. data/sys/aro/models/base_model.rb +0 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fbe5d3c80bb0ee155fda4ff9c3b3f977098304642b3633196dadad7883d281e
4
- data.tar.gz: effa7d459255498ba45e38a0096a055e1a5fa5b8718bacb63db1651ef5584703
3
+ metadata.gz: 262fe9c35538d88f1b48125f8ddf7d53ff906d1d70b13225b0ffcd3155a4dcd4
4
+ data.tar.gz: 6996b6bc041fc2fa07291f843175edb10561241a4660b12eea73910b1f6d4fdc
5
5
  SHA512:
6
- metadata.gz: 829b44b60ae9b5190025d58dae70b2559ae122576e8e9746a459e3ae597cf8a6c725b716aa3e1ded97d5dc8d66861c46c94847963ac44e1ff6f41f4ecd9a2c97
7
- data.tar.gz: d809fef60f8d2620a0e579e38ceafb0242d4a3621083a256248054a20b06f568b1bfc4e3f0768f4d8d651e8e0e63d0b7487c67f4864255ca0c908be23e34cf67
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.3)
5
- activerecord (~> 8.1, >= 8.1.1)
6
- ffi (~> 1.17, >= 1.17.2)
7
- i18n (~> 1.14, >= 1.14.7)
8
- sqlite3 (~> 2.8, >= 2.8.0)
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.1)
15
- activesupport (= 8.1.1)
16
- activerecord (8.1.1)
17
- activemodel (= 8.1.1)
18
- activesupport (= 8.1.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.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 (3.3.1)
35
- concurrent-ruby (1.3.5)
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.2-aarch64-linux-gnu)
40
- ffi (1.17.2-aarch64-linux-musl)
41
- ffi (1.17.2-arm-linux-gnu)
42
- ffi (1.17.2-arm-linux-musl)
43
- ffi (1.17.2-arm64-darwin)
44
- ffi (1.17.2-x86-linux-gnu)
45
- ffi (1.17.2-x86-linux-musl)
46
- ffi (1.17.2-x86_64-darwin)
47
- ffi (1.17.2-x86_64-linux-gnu)
48
- ffi (1.17.2-x86_64-linux-musl)
49
- i18n (1.14.7)
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.17.1)
52
- listen (3.9.0)
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 (5.26.2)
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.8.1-aarch64-linux-gnu)
78
- sqlite3 (2.8.1-aarch64-linux-musl)
79
- sqlite3 (2.8.1-arm-linux-gnu)
80
- sqlite3 (2.8.1-arm-linux-musl)
81
- sqlite3 (2.8.1-arm64-darwin)
82
- sqlite3 (2.8.1-x86-linux-gnu)
83
- sqlite3 (2.8.1-x86-linux-musl)
84
- sqlite3 (2.8.1-x86_64-darwin)
85
- sqlite3 (2.8.1-x86_64-linux-gnu)
86
- sqlite3 (2.8.1-x86_64-linux-musl)
87
- timeout (0.4.4)
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 (~> 2.7, >= 2.7.2)
119
- listen (~> 3.9, >= 3.9.0)
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
- 2.7.2
183
+ 4.0.3
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (C) 2025 Scot Reichman
3
+ Copyright (C) 2026 Scot Reichman
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this
6
6
  software and associated documentation files (the “Software”), to deal in the Software
data/README.md CHANGED
@@ -67,4 +67,4 @@ exec rspec -f d -o ./spec/spec.log
67
67
  [license](http://opensource.org/licenses/MIT)
68
68
  [issues](https://github.com/i2097i/aro/issues)
69
69
 
70
- >aro by i2097i is copyright (2025)
70
+ >aro by i2097i is copyright (2026)
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", "~> 2.7", ">= 2.7.2"
30
- spec.add_development_dependency "listen", "~> 3.9", ">= 3.9.0"
31
- spec.add_development_dependency "rake", "~> 13.3", ">= 13.3.1"
32
- spec.add_development_dependency "rspec", "~> 3.13", ">= 3.13.2"
29
+ spec.add_development_dependency "bundler", "~> 4.0", ">= 4.0.3"
30
+ spec.add_development_dependency "listen", "~> 3.10", ">= 3.10.0"
31
+ spec.add_development_dependency "rake", "~> 13.3", ">= 13.3.1"
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.1"
36
- spec.add_runtime_dependency "ffi", "~> 1.17", ">= 1.17.2"
37
- spec.add_runtime_dependency "i18n", "~> 1.14", ">= 1.14.7"
38
- spec.add_runtime_dependency "sqlite3", "~> 2.8", ">= 2.8.0"
39
- spec.add_runtime_dependency "tty-prompt", "~> 0.23.1", ">= 0.23.1"
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
+ spec.add_runtime_dependency "tty-prompt", "~> 0.23.1", ">= 0.23.1"
40
40
  end
data/bin/aro CHANGED
@@ -12,23 +12,19 @@
12
12
 
13
13
  require :aro.to_s
14
14
 
15
- # todo: add tab completion using abbrev gem
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)
28
19
  exit(CLI::EXIT_CODES[:SUCCESS])
29
20
  end
30
21
 
31
- # cli parser
22
+ if !CLI::ARGV0&.to_s&.upcase.nil? &&
23
+ I18n.t("cards.index").include?(Aro::Teck.card_strip(CLI::ARGV0.to_s.upcase))
24
+ Aro::Teck.print_card(CLI::ARGV0.to_s.upcase)
25
+ exit(CLI::EXIT_CODES[:SUCCESS])
26
+ end
27
+
32
28
  case CLI::ARGV0
33
29
  when CLI::CMDS[:ARO][:COR]
34
30
  Aos.cor
@@ -49,6 +45,6 @@ else
49
45
  exit(CLI::EXIT_CODES[:SUCCESS])
50
46
  end
51
47
 
52
- CLI.usage
48
+ CLI.usage_main
53
49
  exit(CLI::EXIT_CODES[:SUCCESS])
54
50
  end
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
@@ -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.abot.yml CHANGED
@@ -8,11 +8,11 @@ en:
8
8
  stop: "power off an agodo."
9
9
  start: "power on an agodo."
10
10
  usage:
11
- agodo: "$ abot agodo <go> <do> <rate>"
12
- derez: "$ abot derez <name>"
13
- rate: "$ abot rate <name> <rate>"
14
- stop: "abot stop <name>"
15
- start: "abot start <name>"
11
+ agodo: "$ abot agodo var_go var_do var_rate"
12
+ derez: "$ abot derez var_name"
13
+ rate: "$ abot rate var_name var_rate"
14
+ stop: "abot stop var_name"
15
+ start: "abot start var_name"
16
16
  agodo:
17
17
  display: "power: %{power}, go: %{go}, do: %{do}, rate: %{rate}, home: %{home}"
18
18
  messages:
@@ -25,14 +25,14 @@ en:
25
25
 
26
26
  usage: |
27
27
 
28
- abot [-h | --help] <command>
28
+ abot [-h | --help] var_command
29
29
  fun with cron and agodos.
30
30
 
31
31
  go to the directory where you want to spawn an agodo
32
32
  and use the 'abot agodo' command to create one there.
33
33
  note: passing no arguments to abot agodo will bring
34
34
  you back to the abot room unless you pass args for
35
- <go> <do> and <rate>.
35
+ var_go var_do and var_rate.
36
36
 
37
37
  COMMANDS
38
38
 
@@ -52,30 +52,30 @@ en:
52
52
 
53
53
  to create an agodo:
54
54
 
55
- $ abot agodo <go> <do> <rate>
55
+ $ abot agodo var_go var_do var_rate
56
56
 
57
57
  parameters:
58
- <go>: valid arodome room name.
59
- <do>: valid aos cmd.
60
- <rate>: agodo cycles-per-minute.
58
+ var_go: valid arodome room name.
59
+ var_do: valid aos cmd.
60
+ var_rate: agodo cycles-per-minute.
61
61
 
62
62
  derez
63
63
  destroy an agodo:
64
64
 
65
- $ abot derez <name>
65
+ $ abot derez var_name
66
66
 
67
67
  rate
68
68
  update an agodo's rate:
69
69
 
70
- $ abot rate <name> <rate>
70
+ $ abot rate var_name var_rate
71
71
 
72
72
  stop
73
73
  power off an agodo:
74
74
 
75
- $ abot stop <name>
75
+ $ abot stop var_name
76
76
 
77
77
  start
78
78
  power on an agodo:
79
79
 
80
- $ abot start <name>
80
+ $ abot start var_name
81
81
 
data/locale/en.amg.yml CHANGED
@@ -5,8 +5,8 @@ en:
5
5
  inst: "show installed ilibs or install a lib."
6
6
  instun: "show uninstalled ilibs or uninstall a lib."
7
7
  usage:
8
- inst: "$ amg inst <lib>"
9
- instun: "$ amg instun <lib>"
8
+ inst: "$ amg inst var_lib"
9
+ instun: "$ amg instun var_lib"
10
10
  messages:
11
11
  already_installed: "%{name} lib is already installed."
12
12
  cannot_locate: "could not find %{name} lib."
@@ -24,7 +24,7 @@ en:
24
24
  uninstall_failure: "failed to uninstall %{name}."
25
25
  usage: |
26
26
 
27
- amg [-h | --help] <command>
27
+ amg [-h | --help] var_command
28
28
  aos system management.
29
29
 
30
30
  COMMANDS
@@ -32,13 +32,13 @@ en:
32
32
  inst
33
33
  show installed ilibs.
34
34
 
35
- install a lib named <lib>.
35
+ install a lib named var_lib.
36
36
 
37
- $ amg inst <lib>
37
+ $ amg inst var_lib
38
38
 
39
39
  instun
40
40
  show uninstalled ilibs.
41
41
 
42
- uninstall a lib named <lib>.
42
+ uninstall a lib named var_lib.
43
43
 
44
- $ amg instun <lib>
44
+ $ amg instun var_lib
data/locale/en.aos.yml CHANGED
@@ -14,11 +14,11 @@ en:
14
14
  ls: "list files and folders in the pwd."
15
15
  pwd: "show pwd."
16
16
  usage:
17
- abot: "$ abot [-h | --help] <command>"
18
- amg: "$ amg [-h | --help] <command>"
19
- cd: "$ cd <name>"
20
- cor: "$ cor <var_name> <var_value>"
21
- data: "$ data [-h | --help] <command>"
17
+ abot: "$ abot [-h | --help] var_command"
18
+ amg: "$ amg [-h | --help] var_command"
19
+ cd: "$ cd var_name"
20
+ cor: "$ cor var_name var_value"
21
+ data: "$ data [-h | --help] var_command"
22
22
  exit: "$ exit"
23
23
  flie: "$ flie"
24
24
  help: "$ help"
@@ -30,9 +30,9 @@ en:
30
30
  subcommands: "SUBCOMMANDS"
31
31
  views:
32
32
  dom:
33
- title: "ready to go..."
33
+ title: "you are in the dom root. navigate here quickly by entering 'cd'"
34
34
  description: "awaiting input..."
35
- quick_navigation: "the following room names are reserved for quick navigation. enter any of them to navigate to that room."
35
+ quick_navigation: "the following words are reserved for quick navigation. enter any of them to navigate to that room."
36
36
  game:
37
37
  title: "you are playing aro..."
38
38
  description: "enter commands to play."