martile 0.6.11 → 0.6.12
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 +2 -1
- data/lib/martile.rb +3 -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: bf3c0bdf2c64581ffa77bb5d421f85a4c96bf6b8
|
4
|
+
data.tar.gz: b727446abef11aaaa3379c4c96babae5df5b270f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5601ff65d86e5fd853de0123e24f49a23558d9c2c0ec9f5448fb617b5a7f966e1795c9a80538c701c481e7e65877d0f19c944027af016cc8218dce211edfe4aa
|
7
|
+
data.tar.gz: d3199d5e0d73252780cbf421403927019f5158b3c7f93e2172ee65cd18e3196cddcbb8e04e96931fa2ae2a7770d56555ed8004ad616ddcdc1e9242e5cdd87eef
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
W[���$�p�� �b���|��Un�u�u9��H5�ƙ�tc�Zx�lȜ��IP��5W3��HQ��E ?���g_���<����Jo=��`p��]��!��C��)n�zYk��e~��|jL�9��W;j�ü
|
2
|
+
�/�O$GP� A�M=S�����m@kl��v�����ݿ����o��#����z}���in�e�\n5`��|�{�|*[��%L��h���;'��0�KY.� �mr$��X
|
data/lib/martile.rb
CHANGED
@@ -9,6 +9,7 @@ require 'rdiscount'
|
|
9
9
|
require 'kvx'
|
10
10
|
|
11
11
|
|
12
|
+
# bug fix: 17-Aug-2015 dx_render_table() was missing a couple of parameters
|
12
13
|
# feature: 09-Aug-2015 kvx_to_dl() can convert a kind of
|
13
14
|
# markdown URL to a DL HTML list
|
14
15
|
# feature: 02-Aug-2015 dynarex_to_table() is now know as dynarex_to_markdown()
|
@@ -218,7 +219,7 @@ class Martile
|
|
218
219
|
dx = Dynarex.new(source)
|
219
220
|
|
220
221
|
if dx.fields.length > 1 then
|
221
|
-
dx_render_table(
|
222
|
+
dx_render_table(dx, raw_select)
|
222
223
|
else
|
223
224
|
dx.records.keys.map {|x| '* ' + x}.join("\n")
|
224
225
|
end
|
@@ -364,7 +365,7 @@ class Martile
|
|
364
365
|
list_to_html s, '#'
|
365
366
|
end
|
366
367
|
|
367
|
-
def dx_render_table()
|
368
|
+
def dx_render_table(dx, raw_select)
|
368
369
|
|
369
370
|
if raw_select then
|
370
371
|
raw_fields = raw_select[/select:\s*["']([^"']+)/,1]
|
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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
fnr5l+RI/6f8lfxBNgDrktGB/RwPkOyWtyKk1tu9CWgHmptxL0JglikCXg5MzuZI
|
32
32
|
tZzXOvXUoUf1VQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2015-08-
|
34
|
+
date: 2015-08-17 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rdiscount
|
metadata.gz.sig
CHANGED
Binary file
|