pandocomatic 0.2.7.5 → 0.2.8

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: 18dc7f810b75440eda7e6186e30062b2912d984c1b9e5688bbf201dfc0a3ba15
4
- data.tar.gz: 06c2f7dccc619bf274471675c3ad3cff5940edf29179a92ae10ea3b7e9a30dab
3
+ metadata.gz: d1284979156a2581d20af236ed7d72345f31b072070be957977636a5f8cccc75
4
+ data.tar.gz: 321ac5998d2041ec5a7860c5fe6dbe0854bd41855ba42def4ee2743a4be8c908
5
5
  SHA512:
6
- metadata.gz: 8630dd61fac6049714be13fccd69783e9d4559ea308f6ced12bac67521ea7243879ee396dfe045e22eb8cefa36a07bb5642919afc38ce588212c7bd95133c173
7
- data.tar.gz: 1e2a6fc78ea0c8a52f88add42a8267c1153f625d00969ffca0917e3d3cd8990bce79149421070f849d3b22c92b8c7db8d2af25aa5a8aeaa0d468a9d5a3015a1d
6
+ metadata.gz: 1484fa4d1cfae0b195e5d238c11e5f9e2d346cb9b4891ee83b17268fc867ab098da810032a6edf5551c89b58516dd3e6f84fc7005f58a0f2b452187d608cc001
7
+ data.tar.gz: 8dfeb39e74c7621f9d55e50a43a0dc3dfb0d6ac1d2ef680b0dee0c27cd47438c836af89958d18b7d7cf68b181f15260815d733f72e04421de3d4118c5f7d195e
@@ -184,6 +184,10 @@ module Pandocomatic
184
184
  Dir.chdir(src_dir) do
185
185
  converter = Paru::Pandoc.new
186
186
  options.each do |option, value|
187
+ # Options come from a YAML string. In YAML, properties without a value get value nil.
188
+ # Interpret these empty properties as "skip this property"
189
+ next if value.nil?
190
+
187
191
  if PANDOC_OPTIONS_WITH_PATH.include? option
188
192
  is_executable = option == "filter"
189
193
  if value.is_a? Array
@@ -303,7 +303,6 @@ module Pandocomatic
303
303
  # If a temporary file has been created while concatenating
304
304
  # multiple input files, ensure it is removed.
305
305
  if @input.is_a? MultipleFilesInput then
306
- warn "CLEAN UP"
307
306
  @input.destroy!
308
307
  end
309
308
  end
@@ -745,7 +744,7 @@ module Pandocomatic
745
744
  if @templates.has_key? name
746
745
  merge resolved_template, clone_template(@templates[name])
747
746
  else
748
- warn "Cannot find template with name '#{parent_template_name}'. Skipping this template while extending: '#{template.to_s}'."
747
+ warn "Cannot find template with name '#{name}'. Skipping this template while extending: '#{template.to_s}'."
749
748
  end
750
749
  end
751
750
 
@@ -47,7 +47,7 @@ module Pandocomatic
47
47
  ERROR_STATUS = 1266 # This is the sum of the ascii values of the characters in 'pandocomatic'
48
48
 
49
49
  # Pandocomatic's current version
50
- VERSION = [0, 2, 7, 5]
50
+ VERSION = [0, 2, 8]
51
51
 
52
52
  # Run pandocomatic given options
53
53
  #
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.7.5
4
+ version: 0.2.8
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: 2021-03-04 00:00:00.000000000 Z
11
+ date: 2021-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paru
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '0.4'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.4.2.1
22
+ version: 0.4.3
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '0.4'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.4.2.1
32
+ version: 0.4.3
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: optimist
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -70,14 +70,14 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: 0.9.18
73
+ version: 0.9.20
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: 0.9.18
80
+ version: 0.9.20
81
81
  description: Pandocomatic is a tool to automate using pandoc. With pandocomatic you
82
82
  can express common patterns of using pandoc for generating your documents. Applied
83
83
  to a directory, pandocomatic can act as a static site generator.
@@ -147,7 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - ">="
149
149
  - !ruby/object:Gem::Version
150
- version: '2.6'
150
+ version: 2.6.8
151
151
  required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  requirements:
153
153
  - - ">="