markdown_exec 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -1
- data/lib/markdown_exec/version.rb +1 -1
- data/lib/markdown_exec.rb +2 -2
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57da333a75458ce1ba2d67c92ee1be458418df6a008f41a89c3545dc0afb94ed
|
4
|
+
data.tar.gz: 4d0c80082485dc50bdb1460adcf101b8ddba65da7d6406d93c1824fd21f9fe95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f425417848f457325a54d6b8b72f4ecc6f9a5a4ab5ce334b7e1ac93f8760657f9e52c6c2713dcb645d5c9b6a2b1a8cfa99e6a6ef9640cc87e3401a84fff15b2
|
7
|
+
data.tar.gz: 89ad4e3849de542cee33ad65f7bc6185a8f2cda880fec6d94d5f2c1657e957ad33a1c364cf89c56f5fa4999ffea5d5bba7287ebbf747c845307bc80540f0ff21
|
data/Gemfile.lock
CHANGED
@@ -1,14 +1,19 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
markdown_exec (0.
|
4
|
+
markdown_exec (0.1.1)
|
5
|
+
open3 (~> 0.1.1)
|
6
|
+
optparse (~> 0.1.1)
|
5
7
|
tty-prompt (~> 0.23.1)
|
8
|
+
yaml (~> 0.2.0)
|
6
9
|
|
7
10
|
GEM
|
8
11
|
remote: https://rubygems.org/
|
9
12
|
specs:
|
10
13
|
ast (2.4.2)
|
11
14
|
minitest (5.15.0)
|
15
|
+
open3 (0.1.1)
|
16
|
+
optparse (0.1.1)
|
12
17
|
parallel (1.21.0)
|
13
18
|
parser (3.1.1.0)
|
14
19
|
ast (~> 2.4.1)
|
@@ -42,6 +47,7 @@ GEM
|
|
42
47
|
tty-screen (0.8.1)
|
43
48
|
unicode-display_width (2.1.0)
|
44
49
|
wisper (2.0.1)
|
50
|
+
yaml (0.2.0)
|
45
51
|
|
46
52
|
PLATFORMS
|
47
53
|
arm64-darwin-21
|
data/lib/markdown_exec.rb
CHANGED
@@ -8,7 +8,7 @@ $pdebug = !(ENV['MARKDOWN_EXEC_DEBUG'] || '').empty?
|
|
8
8
|
|
9
9
|
require 'open3'
|
10
10
|
require 'optparse'
|
11
|
-
require 'pathname'
|
11
|
+
# require 'pathname'
|
12
12
|
require 'tty-prompt'
|
13
13
|
require 'yaml'
|
14
14
|
require_relative 'markdown_exec/version'
|
@@ -367,7 +367,7 @@ module MarkdownExec
|
|
367
367
|
## configuration file
|
368
368
|
#
|
369
369
|
def read_configuration!(options, configuration_path)
|
370
|
-
if
|
370
|
+
if File.exist?(configuration_path)
|
371
371
|
# rubocop:disable Security/YAMLLoad
|
372
372
|
options.merge!((YAML.load(File.open(configuration_path)) || {})
|
373
373
|
.transform_keys(&:to_sym))
|
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: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fareed Stevenson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: open3
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.1.1
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: pathname
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 0.1.0
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.0
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: tty-prompt
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|