markdown_exec 1.3.3.2 → 1.3.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/tab_completion.sh +2 -2
- data/lib/cached_nested_file_reader.rb +0 -3
- data/lib/markdown_exec/version.rb +1 -1
- data/lib/markdown_exec.rb +3 -2
- data/lib/menu.yml +1 -1
- data/lib/object_present.rb +0 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9383de6fcdd1227b77dd3caf2bddd342eea49b72e3f0514c64a8e90d19b2e1c5
|
4
|
+
data.tar.gz: 4d0eb1fc098c563edfc2a22b513b1ec78b98f6688926d64aeb4e836b3a83600e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61977fc5f978b3f1c3fe518efc286a0f5d16f03aa920e941ca86dd142232ff8af1e866caba5f6abdc026f9c841b0920e123e4fa1731959c71101dcb5c288af49
|
7
|
+
data.tar.gz: 966dffec9b5154da803f9b1207fcb4a42bd25132121d1304129753dd2192f866f3e76a39a10c3a187861097a8986f3bf6940740e18a633fe4065e31ccc0dd405
|
data/Gemfile.lock
CHANGED
data/bin/tab_completion.sh
CHANGED
@@ -13,7 +13,7 @@ __filedirs_all()
|
|
13
13
|
}
|
14
14
|
|
15
15
|
_mde_echo_version() {
|
16
|
-
echo "1.3.3.
|
16
|
+
echo "1.3.3.4"
|
17
17
|
}
|
18
18
|
|
19
19
|
_mde() {
|
@@ -138,4 +138,4 @@ _mde() {
|
|
138
138
|
|
139
139
|
complete -o filenames -o nospace -F _mde mde
|
140
140
|
# _mde_echo_version
|
141
|
-
# echo "Updated: 2023-10-04
|
141
|
+
# echo "Updated: 2023-10-04 03:33:56 UTC"
|
@@ -5,9 +5,6 @@
|
|
5
5
|
|
6
6
|
# version 2023-10-03
|
7
7
|
|
8
|
-
require 'bundler/setup'
|
9
|
-
Bundler.require(:default)
|
10
|
-
|
11
8
|
##
|
12
9
|
# The CachedNestedFileReader class provides functionality to read file lines with the ability
|
13
10
|
# to process '#import filename' directives. When such a directive is encountered in a file,
|
data/lib/markdown_exec.rb
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
|
6
6
|
require 'English'
|
7
7
|
require 'clipboard'
|
8
|
+
require 'fileutils'
|
8
9
|
require 'open3'
|
9
10
|
require 'optparse'
|
10
11
|
require 'shellwords'
|
@@ -1375,7 +1376,7 @@ module MarkdownExec
|
|
1375
1376
|
@options[:logged_stdout_filename]
|
1376
1377
|
@logged_stdout_filespec = @options[:logged_stdout_filespec]
|
1377
1378
|
(dirname = File.dirname(@options[:logged_stdout_filespec]))
|
1378
|
-
|
1379
|
+
FileUtils.mkdir_p dirname
|
1379
1380
|
|
1380
1381
|
ol = ["-STDOUT-\n"]
|
1381
1382
|
ol += @execute_files&.fetch(EF_STDOUT, [])
|
@@ -1530,7 +1531,7 @@ module MarkdownExec
|
|
1530
1531
|
File.join opts[:saved_script_folder], opts[:saved_script_filename]
|
1531
1532
|
|
1532
1533
|
dirname = File.dirname(@options[:saved_filespec])
|
1533
|
-
|
1534
|
+
FileUtils.mkdir_p dirname
|
1534
1535
|
(shebang = if @options[:shebang]&.present?
|
1535
1536
|
"#{@options[:shebang]} #{@options[:shell]}\n"
|
1536
1537
|
else
|
data/lib/menu.yml
CHANGED
data/lib/object_present.rb
CHANGED