inquirex-tty 0.9.6 → 0.12.0
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/.circleci/config.yml +57 -0
- data/.envrc +5 -1
- data/.ruby-version +1 -0
- data/CHANGELOG.md +27 -12
- data/README.md +50 -12
- data/docs/badges/coverage_badge.svg +2 -2
- data/examples/08_tax_preparer.rb +2 -2
- data/examples/10_answers.json +1 -1
- data/lib/inquirex/tty/answers_file.rb +48 -0
- data/lib/inquirex/tty/back_key.rb +31 -0
- data/lib/inquirex/tty/commands/run.rb +103 -50
- data/lib/inquirex/tty/flow_loader.rb +1 -2
- data/lib/inquirex/tty/renderer.rb +146 -10
- data/lib/inquirex/tty/version.rb +1 -1
- data/lib/inquirex/tty.rb +2 -0
- metadata +213 -191
- /data/examples/{burning-man.rb → 12_burning_man.rb} +0 -0
- /data/examples/{makeabox.rb → 13_laser_cutting_tools.rb} +0 -0
metadata
CHANGED
|
@@ -1,217 +1,239 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inquirex-tty
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Konstantin Gredeskoul
|
|
7
|
+
- Konstantin Gredeskoul
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
|
-
- !ruby/object:Gem::Dependency
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- !ruby/object:Gem::
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
- !ruby/object:Gem::
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
- !ruby/object:Gem::Dependency
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: dry-cli
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
-
|
|
17
|
+
- ~>
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: "1.0"
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
-
|
|
25
|
+
- ~>
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: "1.0"
|
|
28
|
+
- !ruby/object:Gem::Dependency
|
|
29
|
+
name: inquirex
|
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
-
|
|
33
|
+
- ~>
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: "0.12"
|
|
36
|
+
type: :runtime
|
|
37
|
+
prerelease: false
|
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
-
|
|
41
|
+
- ~>
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: "0.12"
|
|
44
|
+
- !ruby/object:Gem::Dependency
|
|
45
|
+
name: inquirex-llm
|
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
-
|
|
49
|
+
- ~>
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: "0.12"
|
|
52
|
+
type: :runtime
|
|
53
|
+
prerelease: false
|
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
-
|
|
57
|
+
- ~>
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: "0.12"
|
|
60
|
+
- !ruby/object:Gem::Dependency
|
|
61
|
+
name: ostruct
|
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
|
63
|
+
requirements:
|
|
64
|
+
-
|
|
65
|
+
- ~>
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: "0.6"
|
|
68
|
+
type: :runtime
|
|
69
|
+
prerelease: false
|
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
-
|
|
73
|
+
- ~>
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: "0.6"
|
|
76
|
+
- !ruby/object:Gem::Dependency
|
|
77
|
+
name: pastel
|
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
-
|
|
81
|
+
- ~>
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: "0.8"
|
|
84
|
+
type: :runtime
|
|
85
|
+
prerelease: false
|
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
-
|
|
89
|
+
- ~>
|
|
90
|
+
- !ruby/object:Gem::Version
|
|
91
|
+
version: "0.8"
|
|
92
|
+
- !ruby/object:Gem::Dependency
|
|
93
|
+
name: tty-box
|
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
|
95
|
+
requirements:
|
|
96
|
+
-
|
|
97
|
+
- ~>
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: "0.7"
|
|
100
|
+
type: :runtime
|
|
101
|
+
prerelease: false
|
|
102
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
103
|
+
requirements:
|
|
104
|
+
-
|
|
105
|
+
- ~>
|
|
106
|
+
- !ruby/object:Gem::Version
|
|
107
|
+
version: "0.7"
|
|
108
|
+
- !ruby/object:Gem::Dependency
|
|
109
|
+
name: tty-font
|
|
110
|
+
requirement: !ruby/object:Gem::Requirement
|
|
111
|
+
requirements:
|
|
112
|
+
-
|
|
113
|
+
- ~>
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: "0.5"
|
|
116
|
+
type: :runtime
|
|
117
|
+
prerelease: false
|
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
120
|
+
-
|
|
121
|
+
- ~>
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: "0.5"
|
|
124
|
+
- !ruby/object:Gem::Dependency
|
|
125
|
+
name: tty-prompt
|
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
-
|
|
129
|
+
- ~>
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: "0.23"
|
|
132
|
+
type: :runtime
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
-
|
|
137
|
+
- ~>
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: "0.23"
|
|
140
|
+
- !ruby/object:Gem::Dependency
|
|
141
|
+
name: tty-screen
|
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
|
143
|
+
requirements:
|
|
144
|
+
-
|
|
145
|
+
- ~>
|
|
146
|
+
- !ruby/object:Gem::Version
|
|
147
|
+
version: "0.8"
|
|
148
|
+
type: :runtime
|
|
149
|
+
prerelease: false
|
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
151
|
+
requirements:
|
|
152
|
+
-
|
|
153
|
+
- ~>
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: "0.8"
|
|
156
|
+
description: "Renders Inquirex flow definitions as interactive ANSI terminal wizards using tty-prompt, tty-box, and tty-font. Provides a dry-cli command suite: run, validate, graph, version."
|
|
141
157
|
email:
|
|
142
|
-
- kigster@gmail.com
|
|
158
|
+
- kigster@gmail.com
|
|
143
159
|
executables:
|
|
144
|
-
- inqt
|
|
145
|
-
- inquirex-tty
|
|
160
|
+
- inqt
|
|
161
|
+
- inquirex-tty
|
|
146
162
|
extensions: []
|
|
147
163
|
extra_rdoc_files: []
|
|
148
164
|
files:
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
156
|
-
-
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
-
|
|
160
|
-
- examples/
|
|
161
|
-
- examples/
|
|
162
|
-
- examples/
|
|
163
|
-
- examples/
|
|
164
|
-
- examples/
|
|
165
|
-
- examples/
|
|
166
|
-
- examples/
|
|
167
|
-
- examples/
|
|
168
|
-
- examples/
|
|
169
|
-
- examples/
|
|
170
|
-
- examples/
|
|
171
|
-
- examples/
|
|
172
|
-
- examples/
|
|
173
|
-
- examples/
|
|
174
|
-
-
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
178
|
-
-
|
|
179
|
-
-
|
|
180
|
-
- lib/inquirex/tty
|
|
181
|
-
- lib/inquirex/tty/
|
|
182
|
-
- lib/inquirex/tty/
|
|
183
|
-
- lib/inquirex/tty/commands
|
|
184
|
-
- lib/inquirex/tty/commands/
|
|
185
|
-
- lib/inquirex/tty/
|
|
186
|
-
- lib/inquirex/tty/
|
|
187
|
-
- lib/inquirex/tty/
|
|
188
|
-
- lib/inquirex/tty/
|
|
189
|
-
- lib/inquirex/tty/
|
|
190
|
-
-
|
|
191
|
-
|
|
165
|
+
- .circleci/config.yml
|
|
166
|
+
- .envrc
|
|
167
|
+
- .github_changelog_generator
|
|
168
|
+
- .relaxed_rubocop.yml
|
|
169
|
+
- .ruby-version
|
|
170
|
+
- .secrets.baseline
|
|
171
|
+
- CHANGELOG.md
|
|
172
|
+
- LICENSE.txt
|
|
173
|
+
- README.md
|
|
174
|
+
- Rakefile
|
|
175
|
+
- docs/badges/coverage_badge.svg
|
|
176
|
+
- examples/01_hello_world.rb
|
|
177
|
+
- examples/02_yes_or_no.rb
|
|
178
|
+
- examples/03_food_preferences.png
|
|
179
|
+
- examples/03_food_preferences.rb
|
|
180
|
+
- examples/04_event_registration.rb
|
|
181
|
+
- examples/05_job_application.rb
|
|
182
|
+
- examples/06_health_assessment.rb
|
|
183
|
+
- examples/07_loan_application.rb
|
|
184
|
+
- examples/08_tax_preparer.rb
|
|
185
|
+
- examples/09_tax_preparer_llm.rb
|
|
186
|
+
- examples/10_answers.json
|
|
187
|
+
- examples/10_real_tax_preparer.rb
|
|
188
|
+
- examples/11_llm_keywords.rb
|
|
189
|
+
- examples/12_burning_man.rb
|
|
190
|
+
- examples/13_laser_cutting_tools.rb
|
|
191
|
+
- examples/README.md
|
|
192
|
+
- exe/inqt
|
|
193
|
+
- exe/inquirex-tty
|
|
194
|
+
- justfile
|
|
195
|
+
- lefthook.yml
|
|
196
|
+
- lib/inquirex/tty.rb
|
|
197
|
+
- lib/inquirex/tty/answers_file.rb
|
|
198
|
+
- lib/inquirex/tty/back_key.rb
|
|
199
|
+
- lib/inquirex/tty/commands.rb
|
|
200
|
+
- lib/inquirex/tty/commands/export.rb
|
|
201
|
+
- lib/inquirex/tty/commands/graph.rb
|
|
202
|
+
- lib/inquirex/tty/commands/run.rb
|
|
203
|
+
- lib/inquirex/tty/commands/validate.rb
|
|
204
|
+
- lib/inquirex/tty/commands/version.rb
|
|
205
|
+
- lib/inquirex/tty/flow_loader.rb
|
|
206
|
+
- lib/inquirex/tty/output_path.rb
|
|
207
|
+
- lib/inquirex/tty/renderer.rb
|
|
208
|
+
- lib/inquirex/tty/ui_helper.rb
|
|
209
|
+
- lib/inquirex/tty/version.rb
|
|
210
|
+
- sig/inquirex/tty.rbs
|
|
211
|
+
homepage: "https://github.com/flowengine-rb/inquirex-tty"
|
|
192
212
|
licenses:
|
|
193
|
-
- MIT
|
|
213
|
+
- MIT
|
|
194
214
|
metadata:
|
|
195
|
-
allowed_push_host: https://rubygems.org
|
|
196
|
-
homepage_uri: https://github.com/flowengine-rb/inquirex-tty
|
|
197
|
-
source_code_uri: https://github.com/inquirex/inquirex-tty
|
|
198
|
-
changelog_uri: https://github.com/inquirex/inquirex-tty/blob/main/CHANGELOG.md
|
|
199
|
-
rubygems_mfa_required:
|
|
215
|
+
allowed_push_host: "https://rubygems.org"
|
|
216
|
+
homepage_uri: "https://github.com/flowengine-rb/inquirex-tty"
|
|
217
|
+
source_code_uri: "https://github.com/inquirex/inquirex-tty"
|
|
218
|
+
changelog_uri: "https://github.com/inquirex/inquirex-tty/blob/main/CHANGELOG.md"
|
|
219
|
+
rubygems_mfa_required: "true"
|
|
200
220
|
rdoc_options: []
|
|
201
221
|
require_paths:
|
|
202
|
-
- lib
|
|
222
|
+
- lib
|
|
203
223
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
204
224
|
requirements:
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
225
|
+
-
|
|
226
|
+
- ">="
|
|
227
|
+
- !ruby/object:Gem::Version
|
|
228
|
+
version: 4.0.0
|
|
208
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
230
|
requirements:
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
231
|
+
-
|
|
232
|
+
- ">="
|
|
233
|
+
- !ruby/object:Gem::Version
|
|
234
|
+
version: "0"
|
|
213
235
|
requirements: []
|
|
214
|
-
rubygems_version: 4.0.
|
|
236
|
+
rubygems_version: 4.1.0.beta2
|
|
215
237
|
specification_version: 4
|
|
216
238
|
summary: Terminal adapter for Inquirex flows — interactive TTY wizard via tty-prompt
|
|
217
239
|
test_files: []
|
|
File without changes
|
|
File without changes
|