pandocomatic 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pandocomatic/pandoc_metadata.rb +1 -1
- data/lib/pandocomatic/pandocomatic.rb +1 -1
- 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: 8ff1d3de00c0d47217c17abb305b5dcf57fed713233eb5e39ed44734e7504439
|
4
|
+
data.tar.gz: 4885927b1362698e856f975dfc2a61d4c1e03084026139ec9cba791879c3aedb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a10ddd8767ff1454cb84f24a75e6409f7deb82c9d1b13c569283921abb8d467859e08494093a20ecb2191b4865040110e5118931d8380d9751a792afef475917
|
7
|
+
data.tar.gz: d3a601e1ca146c23a1eabb286148bccca5cfed6f18e418c613522ebf1e8c77a1fc4351178021c27c33f6413d7c20317f7a166d4a2babf45eeb7c03e1c84e17fb
|
@@ -184,7 +184,7 @@ module Pandocomatic
|
|
184
184
|
# If more than one pandocomatic property is contained in the input,
|
185
185
|
# all but the first are discarded and are not present in the
|
186
186
|
# extracted metadata YAML string.
|
187
|
-
private_class_method def self.extract_metadata(input, path)
|
187
|
+
private_class_method def self.extract_metadata(input, path = nil)
|
188
188
|
metadata_blocks = MetadataBlockList.new input, path
|
189
189
|
|
190
190
|
["#{YAML.dump(metadata_blocks.full)}...", metadata_blocks.count_pandocomatic_blocks]
|