markdown_exec 2.8.5 → 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 +18 -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-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 -7
- data/docs/dev/block-type-ux-auto.md +8 -5
- data/docs/dev/block-type-ux-chained.md +4 -2
- data/docs/dev/block-type-ux-echo-hash.md +6 -7
- data/docs/dev/block-type-ux-echo.md +2 -2
- data/docs/dev/block-type-ux-exec.md +3 -5
- data/docs/dev/block-type-ux-hidden.md +3 -0
- 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 +98 -7
- data/lib/hash_delegator.rb +526 -322
- data/lib/markdown_exec/version.rb +1 -1
- data/lib/markdown_exec.rb +136 -45
- data/lib/mdoc.rb +59 -10
- data/lib/menu.src.yml +23 -11
- data/lib/menu.yml +22 -12
- data/lib/value_or_exception.rb +76 -0
- metadata +16 -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
|
@@ -121,14 +121,16 @@ files:
|
|
121
121
|
- bats/block-type-ux-exec.bats
|
122
122
|
- bats/block-type-ux-hidden.bats
|
123
123
|
- bats/block-type-ux-invalid.bats
|
124
|
-
- bats/block-type-ux-preconditions.bats
|
125
124
|
- bats/block-type-ux-readonly.bats
|
126
125
|
- bats/block-type-ux-require.bats
|
126
|
+
- bats/block-type-ux-required-variables.bats
|
127
127
|
- bats/block-type-ux-row-format.bats
|
128
|
+
- bats/block-type-ux-sources.bats
|
128
129
|
- bats/block-type-ux-transform.bats
|
129
130
|
- bats/block-type-vars.bats
|
130
131
|
- bats/border.bats
|
131
132
|
- bats/cli.bats
|
133
|
+
- bats/command-substitution-options.bats
|
132
134
|
- bats/command-substitution.bats
|
133
135
|
- bats/document-shell.bats
|
134
136
|
- bats/fail.bats
|
@@ -140,6 +142,7 @@ files:
|
|
140
142
|
- bats/line-wrapping.bats
|
141
143
|
- bats/markup.bats
|
142
144
|
- bats/mde.bats
|
145
|
+
- bats/option-expansion.bats
|
143
146
|
- bats/options-collapse.bats
|
144
147
|
- bats/options.bats
|
145
148
|
- bats/plain.bats
|
@@ -170,13 +173,15 @@ files:
|
|
170
173
|
- docs/dev/block-type-ux-exec.md
|
171
174
|
- docs/dev/block-type-ux-hidden.md
|
172
175
|
- docs/dev/block-type-ux-invalid.md
|
173
|
-
- docs/dev/block-type-ux-preconditions.md
|
174
176
|
- docs/dev/block-type-ux-readonly.md
|
175
177
|
- docs/dev/block-type-ux-require.md
|
178
|
+
- docs/dev/block-type-ux-required-variables.md
|
176
179
|
- docs/dev/block-type-ux-row-format.md
|
180
|
+
- docs/dev/block-type-ux-sources.md
|
177
181
|
- docs/dev/block-type-ux-transform.md
|
178
182
|
- docs/dev/block-type-vars.md
|
179
183
|
- docs/dev/border.md
|
184
|
+
- docs/dev/command-substitution-options.md
|
180
185
|
- docs/dev/command-substitution.md
|
181
186
|
- docs/dev/data-blocks.md
|
182
187
|
- docs/dev/disable.md
|
@@ -192,7 +197,10 @@ files:
|
|
192
197
|
- docs/dev/load_code.md
|
193
198
|
- docs/dev/manage-saved-documents.md
|
194
199
|
- docs/dev/menu-cli.md
|
200
|
+
- docs/dev/menu-pagination-indent.md
|
201
|
+
- docs/dev/menu-pagination.md
|
195
202
|
- docs/dev/no-active-elements.md
|
203
|
+
- docs/dev/option-expansion.md
|
196
204
|
- docs/dev/options-collapse.md
|
197
205
|
- docs/dev/pass-through-arguments.md
|
198
206
|
- docs/dev/requiring-blocks.md
|
@@ -253,6 +261,7 @@ files:
|
|
253
261
|
- lib/argument_processor.rb
|
254
262
|
- lib/array.rb
|
255
263
|
- lib/array_util.rb
|
264
|
+
- lib/block_cache.rb
|
256
265
|
- lib/block_label.rb
|
257
266
|
- lib/block_types.rb
|
258
267
|
- lib/cached_nested_file_reader.rb
|
@@ -260,9 +269,11 @@ files:
|
|
260
269
|
- lib/collapser.rb
|
261
270
|
- lib/color_scheme.rb
|
262
271
|
- lib/colorize.rb
|
272
|
+
- lib/command_result.rb
|
263
273
|
- lib/constants.rb
|
264
274
|
- lib/directory_searcher.rb
|
265
275
|
- lib/env.rb
|
276
|
+
- lib/error_reporting.rb
|
266
277
|
- lib/evaluate_shell_expressions.rb
|
267
278
|
- lib/exceptions.rb
|
268
279
|
- lib/fcb.rb
|
@@ -299,6 +310,7 @@ files:
|
|
299
310
|
- lib/table_extractor.rb
|
300
311
|
- lib/tap.rb
|
301
312
|
- lib/text_analyzer.rb
|
313
|
+
- lib/value_or_exception.rb
|
302
314
|
- lib/ww.rb
|
303
315
|
homepage: https://rubygems.org/gems/markdown_exec
|
304
316
|
licenses:
|