markdown_exec 1.3.3.4 → 1.3.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9383de6fcdd1227b77dd3caf2bddd342eea49b72e3f0514c64a8e90d19b2e1c5
4
- data.tar.gz: 4d0eb1fc098c563edfc2a22b513b1ec78b98f6688926d64aeb4e836b3a83600e
3
+ metadata.gz: 12e843c3c261888f9afc6a1b0506b88284a9b6456e869d14c4c00e7127c2f794
4
+ data.tar.gz: 79e156848e1fabd2a2969600529d11a120f336215960490b171eef3e753ad70e
5
5
  SHA512:
6
- metadata.gz: 61977fc5f978b3f1c3fe518efc286a0f5d16f03aa920e941ca86dd142232ff8af1e866caba5f6abdc026f9c841b0920e123e4fa1731959c71101dcb5c288af49
7
- data.tar.gz: 966dffec9b5154da803f9b1207fcb4a42bd25132121d1304129753dd2192f866f3e76a39a10c3a187861097a8986f3bf6940740e18a633fe4065e31ccc0dd405
6
+ metadata.gz: 7efa23f775589262161d3f44785aeda4f39afbba8c433ea9834c12037c1bf6e22095a9811cb4ed9de04271ed6bf7454120015b80c3ab58404410530f3069021a
7
+ data.tar.gz: a4643bac46a7224b27402d84ef63d93899a1b5ea1b2d35c2b20095659b58c2832b7e9811f72680e9236fd820f52f7ed32d93e5b3015fe0d3dc49712e236b7954
data/.rubocop.yml CHANGED
@@ -77,6 +77,9 @@ Style/MultilineBlockChain:
77
77
  Style/SlicingWithRange:
78
78
  Enabled: false
79
79
 
80
+ Style/SpecialGlobalVars:
81
+ Enabled: false
82
+
80
83
  Style/StringLiterals:
81
84
  Enabled: true
82
85
  EnforcedStyle: single_quotes
data/CHANGELOG.md CHANGED
@@ -1,120 +1,27 @@
1
1
  # Changelog
2
2
 
3
- ## [ToDo]
4
- `reek lib/markdown_exec.rb --config .reek`
3
+ ## [1.3.6] - 2023-10-15
5
4
 
6
- - user settings
7
- - hidden w , w/o () in names
8
- - fix regexp in pathnames
9
-
10
- - tree display
11
-
12
- - [ ] mde options, user prompt, in md file or included file
13
-
14
- - [ ] include blocks from local md file
15
-
16
- - execute? yes/no/save/clipboard + record/edit/history
17
-
18
- - [ ] list, view saved output
19
-
20
- - completion
21
- - [ ] include blocks in md file
22
-
23
- - [ ] ruby gem data model
24
-
25
- - [ ] extract yaml block into stdout
26
- - [ ] extract json block into stdout
27
-
28
- - [ ] import yaml, json data into environment
29
-
30
- - [ ] yq filter with imported or named yaml, json data
31
-
32
- - [ ] yaml dump of options w/ detail
33
-
34
- - [ ] re-exec last script v re-run named block in last script
35
- - [ ] repeat to reload last doc and block
36
- - [ ] option to log blended, timeline; stdin, stdout, stderr; labels: prefix and blocks
37
- - [ ] ren logged_stdout_filename_prefix to saved_stdout_filename_prefix
38
- - [ ] ignore '#' in fenced code blocks
39
-
40
- - [ ] write named block, can be included
41
- - [ ] file type per block type
42
- - [ ] file name per block name or specified in quotes ("")
43
- - [ ] overwrite-rules for writing blocks
44
- - [ ] erase-rules for written blocks
45
- - [ ] files to create named at top of script to execute; written prior to start of script
46
-
47
- - [ ] tab completion example ascii demo
48
-
49
- - [ ] parameters or (env vars) in menu
50
- - [ ] config menu or read env vars
51
- - [ ] enable/disable script, output saving per file
52
- - [ ] keep values between runs so same env vars are not prompted
53
-
54
- - [ ] option to list full menu
55
-
56
- - [ ] task confirmation block option or bash template, env names
57
-
58
- - [ ] configuration block `mde_config` anywhere in file
59
- - [ ] configuration block `mde_config` anywhere in folder config file
60
- ```yaml :(mde_config)```
61
- - [x] fix execution stdin, stdout to allow for ask function
62
- - [ ] fix execution stdin, stdout to allow for tty-prompt
63
- - [ ] accept stdin as filename `-`
64
- - [ ] fix
65
- $ bin/mde
66
- Choose a file: * Exit
67
- No blocks found.
68
- Choose a block: * Exit
69
-
70
- - [ ] accept `!` shell execute command at prompt
71
- - [ ] menu response: re-exec last saved script (like mde --select-recent-script)
72
-
73
- - [ ] process shebang in markdown
74
- - [ ] ignore shebang in markdown in rest of processing
75
- - [! ] search for document in path
76
- - [! ] search for document in custom path
77
- - [ ] doc use of `#!/usr/bin/env mde`
78
- - [ ] command to export each command to file, menu for list
79
-
80
- - [ ] option blocks to exclude by shell
81
-
82
- - #+BEGIN_SRC sh :results silent
83
- #+END_SRC
84
-
85
- - [ ] requires extra CRs after ctrl-C of earlier script?
86
-
87
- - [! ] silent for `mde file block -q 0`
88
- - [! ] define for block: env var name, prompt if missing, default value
89
- - [! ] display env vars in menu
90
- - [! ] mde md -- --arg1 --arg2
5
+ ### Added
91
6
 
92
- - [! ] display tasks (regex) similar to current `:::`
93
- diff done, tbd, important, progress, note, timestamp
7
+ - Option to inhibit display of menu decorations/chrome
8
+ - Options for tasks
94
9
 
95
- - [! ] redo block selection logic in
96
- def self.fcb_select?(options, fcb)
97
- used for selecting for 1) menu, 2) script composition, 3) list?
98
- layers 1) block name in cli, 2) required blocks, 3) hidden, 4) selected, 5) excluded, 6) also per shell name
99
- - [ ] opt to add block name as comment in bash script
100
- - [ ] marker in file separating VARS from CODE in bash script
101
- [ ] VARS, CODE section separately sourceable/executable
102
- - [ ] config to hide unnamed bash blocks
103
- - [ ] default to No after Save of script
10
+ ## [1.3.5] - 2023-10-05
104
11
 
105
- - [ ] block into file; template
12
+ ### Changed
106
13
 
107
- - [! ] option to use most recent named block if dupiclate, currently appends same-name blocks but lists twice in menu
14
+ - Fix display of menu dividers
108
15
 
109
16
  ## [1.3.3] - 2023-10-03
110
17
 
111
18
  ### Added
112
19
 
113
- - Nest scripts by using an `import` directive.
20
+ - Nest scripts by using an `import` directive
114
21
 
115
22
  ### Changed
116
23
 
117
- - Convert constants for block selection into options.
24
+ - Convert constants for block selection into options
118
25
 
119
26
  ## [1.3.2] - 2022-11-12
120
27
 
@@ -148,8 +55,8 @@
148
55
  eg `export fruit_summary=$(yq e '[.fruit.name,.fruit.price]' fruit.yml)`
149
56
  for invocation `%(summarize_fruits <fruit.yml >fruit_summary)`
150
57
  and transformation `[.fruit.name,.fruit.price]`
151
- - Option to extract document text and display it as disabled items in-line with the blocks in the selection menu.
152
- Add options for constants used in parsing.
58
+ - Option to extract document text and display it as disabled items in-line with the blocks in the selection menu
59
+ Add options for constants used in parsing
153
60
  - [x] yaml processing
154
61
  - ```yaml :(make_fruit_file) >fruit.yml```
155
62
  write to: fruit.yml
@@ -164,7 +71,7 @@
164
71
  ### Changed
165
72
 
166
73
  - Refactoring
167
- - Run-time menu in YAML file.
74
+ - Run-time menu in YAML file
168
75
  - Tap module initialization
169
76
 
170
77
  ## [1.2.0] - 2022-06-11
@@ -174,8 +81,8 @@
174
81
  - Options
175
82
  - Display document name in block selection menu
176
83
  - Display headings (levels 1,2,3) in block selection menu
177
- - Trap Ctrl-C (SIGTERM) while script is executing.
178
- Completes MDE processes such as saving output and reporting results.
84
+ - Trap Ctrl-C (SIGTERM) while script is executing
85
+ Completes MDE processes such as saving output and reporting results
179
86
 
180
87
  ### Changed
181
88
 
@@ -185,11 +92,11 @@
185
92
 
186
93
  ### Added
187
94
 
188
- - Post-install instructions to add tab completions permanently to the shell.
95
+ - Post-install instructions to add tab completions permanently to the shell
189
96
 
190
97
  ### Changed
191
98
 
192
- - Improve handling of threads ending while executing scripts.
99
+ - Improve handling of threads ending while executing scripts
193
100
 
194
101
  ## [1.1.0] - 2022-05-21
195
102
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- markdown_exec (1.3.3.4)
4
+ markdown_exec (1.3.6)
5
5
  clipboard (~> 1.3.6)
6
6
  open3 (~> 0.1.1)
7
7
  optparse (~> 0.1.1)