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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 619b072db7931d7e8b436cc092e2cf3d51763ba987a82daef5d46c3696b298ab
4
- data.tar.gz: 7069d0c01b7b01117eea7c751fd21b67d0cb131ec4a7b43568936d5622d2b581
3
+ metadata.gz: 9383de6fcdd1227b77dd3caf2bddd342eea49b72e3f0514c64a8e90d19b2e1c5
4
+ data.tar.gz: 4d0eb1fc098c563edfc2a22b513b1ec78b98f6688926d64aeb4e836b3a83600e
5
5
  SHA512:
6
- metadata.gz: 2fd596fd7ad1ab4c02a72ce0d8de9f9070233db57ca6b56508dfbfa981b216f86690ab2ff69964137542d8f904a8886aba8772ebc2bf221706c1dcb3a670cb14
7
- data.tar.gz: 3060d83ff09051f9d1a6972c27058772f33d85a079590a0a5d5acfa294322d278a11fa8af04d3b2b9a0732d0fb5128b2bb621654f39f4dd86daf6daf6899002c
6
+ metadata.gz: 61977fc5f978b3f1c3fe518efc286a0f5d16f03aa920e941ca86dd142232ff8af1e866caba5f6abdc026f9c841b0920e123e4fa1731959c71101dcb5c288af49
7
+ data.tar.gz: 966dffec9b5154da803f9b1207fcb4a42bd25132121d1304129753dd2192f866f3e76a39a10c3a187861097a8986f3bf6940740e18a633fe4065e31ccc0dd405
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- markdown_exec (1.3.3.2)
4
+ markdown_exec (1.3.3.4)
5
5
  clipboard (~> 1.3.6)
6
6
  open3 (~> 0.1.1)
7
7
  optparse (~> 0.1.1)
@@ -13,7 +13,7 @@ __filedirs_all()
13
13
  }
14
14
 
15
15
  _mde_echo_version() {
16
- echo "1.3.3.2"
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 01:32:38 UTC"
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,
@@ -7,5 +7,5 @@ module MarkdownExec
7
7
  BIN_NAME = 'mde'
8
8
  GEM_NAME = 'markdown_exec'
9
9
  TAP_DEBUG = 'MDE_DEBUG'
10
- VERSION = '1.3.3.2'
10
+ VERSION = '1.3.3.4'
11
11
  end
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
- Dir.mkdir_p dirname
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
- Dir.mkdir_p dirname
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
@@ -1,4 +1,4 @@
1
- # MDE - Markdown Executor (1.3.3.2)
1
+ # MDE - Markdown Executor (1.3.3.4)
2
2
  ---
3
3
  - :arg_name: NAME
4
4
  :compreply: false
@@ -5,9 +5,6 @@
5
5
 
6
6
  # version 2023-10-02
7
7
 
8
- require 'bundler/setup'
9
- Bundler.require(:default)
10
-
11
8
  class FalseClass
12
9
  unless defined?(blank?)
13
10
  def present?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markdown_exec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3.2
4
+ version: 1.3.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fareed Stevenson