pandocomatic 1.0.1 → 1.0.2

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: e435d5e708267a647124289aceaede648c297fd6a488c37d8c53e44b7b9c9706
4
- data.tar.gz: 60fd5761776d2573c80b2694e4cc30956416aad1b5fff62426f14ee3cd7c92fc
3
+ metadata.gz: 8ff1d3de00c0d47217c17abb305b5dcf57fed713233eb5e39ed44734e7504439
4
+ data.tar.gz: 4885927b1362698e856f975dfc2a61d4c1e03084026139ec9cba791879c3aedb
5
5
  SHA512:
6
- metadata.gz: c3dd28212e932b9b62ba012008a972c6b9666624444e689d7aeb64ba961c2849a643f6c644b02a4427e3262bdc6c6e155d1b3698d5927ffc5a0f39bc1dcee2bb
7
- data.tar.gz: 1cc12f1cceaa6facf2455c6268e8dbda82b80c7580178f6b9f95de8e297207863c5cf953e63c0706113dab45960c9598d28a57d98487dedfd728b9f61814f268
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]
@@ -48,7 +48,7 @@ module Pandocomatic
48
48
  ERROR_STATUS = 1266 # This is the sum of the ASCII values of the characters in 'pandocomatic'
49
49
 
50
50
  # Pandocomatic's current version
51
- VERSION = [1, 0, 1].freeze
51
+ VERSION = [1, 0, 2].freeze
52
52
 
53
53
  # rubocop:disable Metrics
54
54
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandocomatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huub de Beer