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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd4522ed58390fe2c6f6eb491467e2a8d1963bc6
4
- data.tar.gz: 076fae861973d8a222a422219014316f39ef799e
3
+ metadata.gz: bf3c0bdf2c64581ffa77bb5d421f85a4c96bf6b8
4
+ data.tar.gz: b727446abef11aaaa3379c4c96babae5df5b270f
5
5
  SHA512:
6
- metadata.gz: ee0becd0a1a4e4b8ed2c74de64d23196afeab8540fbe4bb986464cb7dabc2c2f94893b84e3b0c05b6560d8d90aeb6931953a40e1dbf7f9246064cea623769b75
7
- data.tar.gz: d3ea9542e9956c2d344ec33f62686eca3fdf070e8b290791a758ac539769355d0f636947c1dab0f4ccd49ff70b595703ed15e2705117733fcdc0ce2c36c7758a
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
- d?��,��*�� 1����!��;�n��h^��)G꼨�D:�X.��_�4NK��2KrS#Z��Y<K����}y
1
+ W[���$�p�� b���|��Un�u�u9��H5�ƙ�tcZx�lȜ��IP��5W3��HQ��E ?���g_���<����Jo=��`p��]��!��C��)n�z Yk��e~��|jL9��W;j�ü
2
+ �/�O$GP� A�M=S�����m@kl��v�����ݿ����o��#����z}���in�e�\n 5`��|�{�|*[��%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(source, raw_select)
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.11
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-09 00:00:00.000000000 Z
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