markdown_exec 2.8.4 → 3.0.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/CHANGELOG.md +33 -1
- data/Gemfile.lock +1 -1
- data/Rakefile +0 -33
- data/bats/bats.bats +2 -0
- data/bats/block-type-link.bats +1 -1
- data/bats/block-type-ux-allowed.bats +2 -2
- data/bats/block-type-ux-default.bats +8 -0
- data/bats/block-type-ux-invalid.bats +1 -1
- data/bats/{block-type-ux-preconditions.bats → block-type-ux-required-variables.bats} +1 -1
- data/bats/block-type-ux-row-format.bats +1 -1
- data/bats/block-type-ux-sources.bats +36 -0
- data/bats/border.bats +1 -1
- data/bats/cli.bats +2 -2
- data/bats/command-substitution-options.bats +14 -0
- data/bats/command-substitution.bats +1 -1
- data/bats/fail.bats +5 -2
- data/bats/indented-block-type-vars.bats +1 -1
- data/bats/markup.bats +1 -1
- data/bats/option-expansion.bats +8 -0
- data/bats/table-column-truncate.bats +1 -1
- data/bats/test_helper.bash +50 -5
- data/docs/dev/bats-document-configuration.md +1 -1
- data/docs/dev/block-type-ux-allowed.md +5 -5
- data/docs/dev/block-type-ux-auto.md +9 -5
- data/docs/dev/block-type-ux-chained.md +4 -2
- data/docs/dev/block-type-ux-default.md +42 -0
- data/docs/dev/block-type-ux-echo-hash.md +6 -1
- data/docs/dev/block-type-ux-echo.md +3 -1
- data/docs/dev/block-type-ux-exec.md +3 -4
- data/docs/dev/block-type-ux-hidden.md +3 -0
- data/docs/dev/block-type-ux-require.md +9 -18
- data/docs/dev/{block-type-ux-preconditions.md → block-type-ux-required-variables.md} +1 -2
- data/docs/dev/block-type-ux-row-format.md +3 -4
- data/docs/dev/block-type-ux-sources.md +57 -0
- data/docs/dev/block-type-ux-transform.md +0 -4
- data/docs/dev/command-substitution-options.md +61 -0
- data/docs/dev/indented-block-type-vars.md +1 -0
- data/docs/dev/menu-pagination-indent.md +123 -0
- data/docs/dev/menu-pagination.md +111 -0
- data/docs/dev/option-expansion.md +10 -0
- data/lib/ansi_formatter.rb +2 -0
- data/lib/block_cache.rb +197 -0
- data/lib/command_result.rb +57 -0
- data/lib/constants.rb +18 -0
- data/lib/error_reporting.rb +38 -0
- data/lib/evaluate_shell_expressions.rb +43 -18
- data/lib/fcb.rb +114 -11
- data/lib/hash_delegator.rb +595 -359
- data/lib/markdown_exec/version.rb +1 -1
- data/lib/markdown_exec.rb +136 -45
- data/lib/mdoc.rb +74 -23
- data/lib/menu.src.yml +27 -9
- data/lib/menu.yml +23 -8
- data/lib/namer.rb +1 -3
- data/lib/value_or_exception.rb +76 -0
- metadata +18 -4
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markdown_exec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fareed Stevenson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clipboard
|
@@ -115,19 +115,22 @@ files:
|
|
115
115
|
- bats/block-type-ux-allowed.bats
|
116
116
|
- bats/block-type-ux-auto.bats
|
117
117
|
- bats/block-type-ux-chained.bats
|
118
|
+
- bats/block-type-ux-default.bats
|
118
119
|
- bats/block-type-ux-echo-hash.bats
|
119
120
|
- bats/block-type-ux-echo.bats
|
120
121
|
- bats/block-type-ux-exec.bats
|
121
122
|
- bats/block-type-ux-hidden.bats
|
122
123
|
- bats/block-type-ux-invalid.bats
|
123
|
-
- bats/block-type-ux-preconditions.bats
|
124
124
|
- bats/block-type-ux-readonly.bats
|
125
125
|
- bats/block-type-ux-require.bats
|
126
|
+
- bats/block-type-ux-required-variables.bats
|
126
127
|
- bats/block-type-ux-row-format.bats
|
128
|
+
- bats/block-type-ux-sources.bats
|
127
129
|
- bats/block-type-ux-transform.bats
|
128
130
|
- bats/block-type-vars.bats
|
129
131
|
- bats/border.bats
|
130
132
|
- bats/cli.bats
|
133
|
+
- bats/command-substitution-options.bats
|
131
134
|
- bats/command-substitution.bats
|
132
135
|
- bats/document-shell.bats
|
133
136
|
- bats/fail.bats
|
@@ -139,6 +142,7 @@ files:
|
|
139
142
|
- bats/line-wrapping.bats
|
140
143
|
- bats/markup.bats
|
141
144
|
- bats/mde.bats
|
145
|
+
- bats/option-expansion.bats
|
142
146
|
- bats/options-collapse.bats
|
143
147
|
- bats/options.bats
|
144
148
|
- bats/plain.bats
|
@@ -163,18 +167,21 @@ files:
|
|
163
167
|
- docs/dev/block-type-ux-allowed.md
|
164
168
|
- docs/dev/block-type-ux-auto.md
|
165
169
|
- docs/dev/block-type-ux-chained.md
|
170
|
+
- docs/dev/block-type-ux-default.md
|
166
171
|
- docs/dev/block-type-ux-echo-hash.md
|
167
172
|
- docs/dev/block-type-ux-echo.md
|
168
173
|
- docs/dev/block-type-ux-exec.md
|
169
174
|
- docs/dev/block-type-ux-hidden.md
|
170
175
|
- docs/dev/block-type-ux-invalid.md
|
171
|
-
- docs/dev/block-type-ux-preconditions.md
|
172
176
|
- docs/dev/block-type-ux-readonly.md
|
173
177
|
- docs/dev/block-type-ux-require.md
|
178
|
+
- docs/dev/block-type-ux-required-variables.md
|
174
179
|
- docs/dev/block-type-ux-row-format.md
|
180
|
+
- docs/dev/block-type-ux-sources.md
|
175
181
|
- docs/dev/block-type-ux-transform.md
|
176
182
|
- docs/dev/block-type-vars.md
|
177
183
|
- docs/dev/border.md
|
184
|
+
- docs/dev/command-substitution-options.md
|
178
185
|
- docs/dev/command-substitution.md
|
179
186
|
- docs/dev/data-blocks.md
|
180
187
|
- docs/dev/disable.md
|
@@ -190,7 +197,10 @@ files:
|
|
190
197
|
- docs/dev/load_code.md
|
191
198
|
- docs/dev/manage-saved-documents.md
|
192
199
|
- docs/dev/menu-cli.md
|
200
|
+
- docs/dev/menu-pagination-indent.md
|
201
|
+
- docs/dev/menu-pagination.md
|
193
202
|
- docs/dev/no-active-elements.md
|
203
|
+
- docs/dev/option-expansion.md
|
194
204
|
- docs/dev/options-collapse.md
|
195
205
|
- docs/dev/pass-through-arguments.md
|
196
206
|
- docs/dev/requiring-blocks.md
|
@@ -251,6 +261,7 @@ files:
|
|
251
261
|
- lib/argument_processor.rb
|
252
262
|
- lib/array.rb
|
253
263
|
- lib/array_util.rb
|
264
|
+
- lib/block_cache.rb
|
254
265
|
- lib/block_label.rb
|
255
266
|
- lib/block_types.rb
|
256
267
|
- lib/cached_nested_file_reader.rb
|
@@ -258,9 +269,11 @@ files:
|
|
258
269
|
- lib/collapser.rb
|
259
270
|
- lib/color_scheme.rb
|
260
271
|
- lib/colorize.rb
|
272
|
+
- lib/command_result.rb
|
261
273
|
- lib/constants.rb
|
262
274
|
- lib/directory_searcher.rb
|
263
275
|
- lib/env.rb
|
276
|
+
- lib/error_reporting.rb
|
264
277
|
- lib/evaluate_shell_expressions.rb
|
265
278
|
- lib/exceptions.rb
|
266
279
|
- lib/fcb.rb
|
@@ -297,6 +310,7 @@ files:
|
|
297
310
|
- lib/table_extractor.rb
|
298
311
|
- lib/tap.rb
|
299
312
|
- lib/text_analyzer.rb
|
313
|
+
- lib/value_or_exception.rb
|
300
314
|
- lib/ww.rb
|
301
315
|
homepage: https://rubygems.org/gems/markdown_exec
|
302
316
|
licenses:
|