martile 0.6.34 → 0.6.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/martile.rb +3 -3
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c7a521f210c32682700b5a2409ea43aef6b3d16
|
4
|
+
data.tar.gz: a277842c8bccb68f29f02f24c7231edf2b031909
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ca3a41fbb3a6347033a53dab71769402079881ae17975a10aacbcb5c429f8f16a5fbaaf384dda875f58a0d26a95384826cb0182e4ccf4d68f09fd8164ec1173
|
7
|
+
data.tar.gz: be0d93766fe292eae5a8768e0f7f1db7d7c158730e38f9bd017386aee684a3d27327252ee915860468183de0431b74bc34ce07c2f822082657267f2ec423cac8
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/martile.rb
CHANGED
@@ -11,7 +11,7 @@ require 'kvx'
|
|
11
11
|
|
12
12
|
# feature: 11-Mar-2017 A details and summary tag can now be generated from +>
|
13
13
|
# e.g.
|
14
|
-
#
|
14
|
+
# !+
|
15
15
|
# This a paragraph
|
16
16
|
#
|
17
17
|
# ----------------
|
@@ -151,9 +151,9 @@ class Martile
|
|
151
151
|
|
152
152
|
def details(s)
|
153
153
|
|
154
|
-
s.split(/(
|
154
|
+
s.split(/(?=\!\+)/).map do |x|
|
155
155
|
|
156
|
-
if x =~
|
156
|
+
if x =~ /\!\+/ then
|
157
157
|
|
158
158
|
x[2..-1].sub(/(.*)[^\+]+\n\+/m) do |x2|
|
159
159
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|