pandocomatic 0.2.5.3 → 0.2.5.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2f6a7f6a8eee5d33ad05f1e41251a25719ca5bc7f025d51304825c80c1ddb84
|
4
|
+
data.tar.gz: e7a9771bc2521c6c7565d745290a57bb6167ab13760c7dbb3d8d5b1f40bfab44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bf99bb6171e37d1a9a4753892a96a36446f9b22d9ecb07c7cefa3c91f8b0d297a2f1402bcd5d38278c6d449bb3c172bf7963b32d913abc781421030f7b6509f
|
7
|
+
data.tar.gz: '00769002b86dce30908ea8bd3418b2700f25a1ffba669c1ce7f3ba614f11c479f65527ab69cc1f151a4f5fbbea0a592b0728b4573a55da76ca9a13fae6fc4d65'
|
@@ -264,7 +264,11 @@ module Pandocomatic
|
|
264
264
|
processors = config[type]
|
265
265
|
output = input
|
266
266
|
processors.each do |processor|
|
267
|
-
script = @config.
|
267
|
+
script = if @config.is_local_path processor
|
268
|
+
processor
|
269
|
+
else
|
270
|
+
@config.update_path(processor, File.dirname(@src), true)
|
271
|
+
end
|
268
272
|
|
269
273
|
command, *parameters = script.shellsplit # split on spaces unless it is preceded by a backslash
|
270
274
|
|
@@ -643,6 +643,14 @@ module Pandocomatic
|
|
643
643
|
end
|
644
644
|
end
|
645
645
|
|
646
|
+
def is_local_path(path)
|
647
|
+
if Gem.win_platform? then
|
648
|
+
path.match("^\\.\\\\\.*$")
|
649
|
+
else
|
650
|
+
path.start_with? "./"
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
646
654
|
private
|
647
655
|
|
648
656
|
# Reset the settings for pandocomatic based on a new settings Hash
|
@@ -809,13 +817,6 @@ module Pandocomatic
|
|
809
817
|
@data_dir, @settings, @templates, @convert_patterns = array
|
810
818
|
end
|
811
819
|
|
812
|
-
def is_local_path(path)
|
813
|
-
if Gem.win_platform? then
|
814
|
-
path.match("^\\.\\\\\.*$")
|
815
|
-
else
|
816
|
-
path.start_with? "./"
|
817
|
-
end
|
818
|
-
end
|
819
820
|
|
820
821
|
def is_absolute_path(path)
|
821
822
|
if Gem.win_platform? then
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pandocomatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.5.
|
4
|
+
version: 0.2.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Huub de Beer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paru
|