martile 0.6.38 → 0.6.39
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
- checksums.yaml.gz.sig +4 -3
- data.tar.gz.sig +0 -0
- data/lib/martile.rb +6 -2
- metadata +2 -2
- 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: f6e53e8b781def1eaa9feef6c2b0ec33eebb5e6b
|
|
4
|
+
data.tar.gz: 58c885f9a985d76d306cb02b91aa370079ddb80b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8abb5b7e0553ec6fc74d4336f9f3feb2d1f71e993957e6a60b8a74df74bb4c1b54e14de80120820b20ceead5e24201494f9b6923599e9a326fe3e58225c237c3
|
|
7
|
+
data.tar.gz: c130a9be375eb369e8801b96d70229c7ba17d7e1eafd74a1b66948418bb9d9bdfd9d20ca007f658cd21e0d346eab9e05df2b5ee790a195022243f0a9ed615522
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
04�����ئ��9�G��?��K�"�U��f���>6K�w8�'���Ճ�Lf��w�Ԫ:
|
|
2
|
+
Zq�\�k��T4�Dt���ۭQ}�[��!��臌��D��|gh�>��W
|
|
3
|
+
4�+3_�G��4,0��K�S��""��Ύ��T>�W�yW�-�"Uד��ݡ�M8��]$�.xi6�m�I�!h�0
|
|
4
|
+
%�mA��I�����oPAl1����m�2�j-���#а[
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/martile.rb
CHANGED
|
@@ -9,6 +9,10 @@ require 'rdiscount'
|
|
|
9
9
|
require 'kvx'
|
|
10
10
|
|
|
11
11
|
|
|
12
|
+
# bug fix: 13-Aug-2017 bug fixes: A markdown table is no longer interpreted
|
|
13
|
+
# as <code> and a string containig a caret is no longer
|
|
14
|
+
# interpreted as <nark> if it contains non
|
|
15
|
+
# alphanumerical characters.
|
|
12
16
|
# feature: 28-May-2017 Within the context of an embedded Dynarex table,
|
|
13
17
|
# the nomarkdown extension was wrapped around the inner HTML for each column
|
|
14
18
|
#
|
|
@@ -140,7 +144,7 @@ class Martile
|
|
|
140
144
|
|
|
141
145
|
s.lines.chunk {|x| x =~ /^\n|^ |\n/ }.map do |_, x|
|
|
142
146
|
|
|
143
|
-
if x.join.lstrip[
|
|
147
|
+
if x.join.lstrip[/^ /] then
|
|
144
148
|
"\n<pre><code>%s</code></pre>\n" % escape(x.join.gsub(/^ {4}/,''))
|
|
145
149
|
else
|
|
146
150
|
x.join
|
|
@@ -498,7 +502,7 @@ class Martile
|
|
|
498
502
|
|
|
499
503
|
def highlight(s)
|
|
500
504
|
|
|
501
|
-
s.gsub(
|
|
505
|
+
s.gsub(/\^\w+\^/) {|x| "<mark>%s</mark>" % x[1..-2] }
|
|
502
506
|
|
|
503
507
|
end
|
|
504
508
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: martile
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.39
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
ta+wi0WcePPmMfSbCGQcYixXdM6qZvflWMz0AK44eQcm6OymMXgMQG6GvHPAl6s2
|
|
32
32
|
ASPGReskINIIrA==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2017-
|
|
34
|
+
date: 2017-08-13 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: rdiscount
|
metadata.gz.sig
CHANGED
|
Binary file
|