pandocomatic 0.1.4.11 → 0.1.4.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pandocomatic/pandoc_metadata.rb +1 -1
- data/lib/pandocomatic/pandocomatic.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d16f7619da05ac91b8da1d3aec178d0118bf9976
|
4
|
+
data.tar.gz: f4abc979aa1fa720c2637fb6908efd6a1d5b6832
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24b19022f7317678586fe8ba160a0a1650fa28a99fb75c5677fb1c9438c630e9f03f923b3d5ffcfd5146bc36a756303293d99ebc448e34bec155e7305396053f
|
7
|
+
data.tar.gz: a8066b2dde2a3f2d29c5b869880f60b1b1c23bbc6510da2738e42ab53e9a50978077d2f4ba0b89d0e0c8d79dd493129f1b3544dafc6a0f2720305a16c584b517
|
@@ -47,7 +47,7 @@ module Pandocomatic
|
|
47
47
|
# @return [String] the YAML data embedded in the input string
|
48
48
|
def self.pandoc2yaml(input)
|
49
49
|
input
|
50
|
-
.scan(/^---[ \t]*\n(.+?)^(?:---|\.\.\.)[ \t]*\n
|
50
|
+
.scan(/^---[ \t]*\r?\n?(.+?)^(?:---|\.\.\.)[ \t]*\r?\n?/m)
|
51
51
|
.flatten
|
52
52
|
.map{|yaml| yaml.strip}
|
53
53
|
.join("\n")
|
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.1.4.
|
4
|
+
version: 0.1.4.12
|
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: 2017-
|
11
|
+
date: 2017-08-17 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.2.5
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.2.5.
|
22
|
+
version: 0.2.5.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.2.5
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.2.5.
|
32
|
+
version: 0.2.5.3
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: trollop
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|