martile 0.1.11 → 0.1.12
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 +0 -0
- data.tar.gz.sig +2 -2
- data/lib/martile.rb +5 -1
- metadata +16 -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: f8c4a9a3dc7474660281c6027a1a30abb36e0e37
|
|
4
|
+
data.tar.gz: bffc8003fda24d91cdbe9da6cc5ad3469c6cd36c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 354aa236ffca0b43c2527317b47890b409e2df79e984c9ad039809fdec3132bad4eb229fa07294dd2b0ab14b2dee9ea4640870bf752fea670a472729f3f147d6
|
|
7
|
+
data.tar.gz: c6c75b25260775abe12ece2d9b81aec73d784b346b85c65bf271469a64b32cc2240af578ecc54e846d4302ca96ce73e7e7d6be89a58bcd08e8ce479140b7f6b8
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
A��[0�T�-.�.}��a{J����&?�UJl���*r��e G�Fe��.2;bX�� ��2��}|S�&
|
|
2
|
+
l�p�Nŏ���M�^e��t�k�48��t:H�`d�ю��F4�
|
data/lib/martile.rb
CHANGED
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
require 'rexle-builder'
|
|
6
6
|
require 'rexle'
|
|
7
7
|
require 'dynarex'
|
|
8
|
+
require 'rdiscount'
|
|
8
9
|
|
|
10
|
+
# feature: 31-Mar-2013: markdown inside a martile ordered list
|
|
11
|
+
# is now converted to HTML
|
|
9
12
|
# bug fix: 02-Nov-2012: within dynarex_to_table URLs containing a
|
|
10
13
|
# dash now work
|
|
11
14
|
# bug fix: 20-Sep-2012: in ordered_list_to_html it now cuts off from
|
|
@@ -76,7 +79,8 @@ class Martile
|
|
|
76
79
|
if s2 then
|
|
77
80
|
|
|
78
81
|
raw_list = s2[1..-2].split(/^#/).reject(&:empty?).map(&:strip)
|
|
79
|
-
list = "<ol>%s</ol>" % raw_list.map {|x|
|
|
82
|
+
list = "<ol>%s</ol>" % raw_list.map {|x| \
|
|
83
|
+
"<li>%s</li>" % RDiscount.new(x).to_html}.join
|
|
80
84
|
list + remainder.to_s
|
|
81
85
|
|
|
82
86
|
else
|
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.1.
|
|
4
|
+
version: 0.1.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
|
29
29
|
dxxPRWzHhWwDxwQSM9uhSReVj7QoO/gFoKZHmN7+/EhAwKMqI6IK1QwiXHhjaAJG
|
|
30
30
|
NC9ItVKLmT+Y6rbeYcoXRv6i5t7GjD4m
|
|
31
31
|
-----END CERTIFICATE-----
|
|
32
|
-
date: 2013-
|
|
32
|
+
date: 2013-03-31 00:00:00.000000000 Z
|
|
33
33
|
dependencies:
|
|
34
34
|
- !ruby/object:Gem::Dependency
|
|
35
35
|
name: rexle-builder
|
|
@@ -59,6 +59,20 @@ dependencies:
|
|
|
59
59
|
- - '>='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
|
+
- !ruby/object:Gem::Dependency
|
|
63
|
+
name: rdiscount
|
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - '>='
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
69
|
+
type: :runtime
|
|
70
|
+
prerelease: false
|
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - '>='
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
62
76
|
description:
|
|
63
77
|
email:
|
|
64
78
|
executables: []
|
metadata.gz.sig
CHANGED
|
Binary file
|