martile 0.6.18 → 0.6.19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c2d4641b4d5ce9666eb10463896695a47aaf38b
4
- data.tar.gz: 179d7c0b054ca734f3d9f50fac593192c9f2ca65
3
+ metadata.gz: 14439065149d064b44c8f64f126e210e69313499
4
+ data.tar.gz: f35983c3a0b6bfe328d11f94da7b7aeeb6416e44
5
5
  SHA512:
6
- metadata.gz: 57d5e875a4dd15d5c596492583c15cef87612ea4fa119cf7004d229faff89d99a4d2f58b57a1df662fb74f069a3cbaf4795fb099b5827e577153f7b8dbb26a77
7
- data.tar.gz: 2827d09982501090a6006f4c595d36885cc71bff8d4dc1610a666332cfbbd7ff4b79dd0587bfbdd48f729808c711a56ec3b244e0fd3fc5339114073ebd5d2cf6
6
+ metadata.gz: adabff32486d1ba428510f1e143541ba2301fa76693720e01b93771b421ac167f8bb4a01c5e92d6f5df2794eef2a0dc8918dcbcb89a85f89dafd4d6119055903
7
+ data.tar.gz: 24578533799d2684eedc44019f6745782ac5a4aec116d2a2e72a8203ccd24d5b9df34d32db43e401a39e262a84b83f989eb9d5947a4b705ceabf94c6815fa165
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/martile.rb CHANGED
@@ -11,6 +11,8 @@ require 'kvx'
11
11
 
12
12
  # bug fix: 03-Dec-2015 A smartlink which ends with a closing parenthesis is
13
13
  # now output to a regular anchor tag
14
+ # It should now identify when using a section equals sign
15
+ # to terminate a section block
14
16
  # bug fix: 22-Oct-2015 The method apply_filter() is now used
15
17
  # with the section() method
16
18
  # feature: 10-Oct-2015 A hyperlink can now be create from a
@@ -513,6 +515,7 @@ class Martile
513
515
 
514
516
  a2 = a.inject([[]]) do |r,x|
515
517
 
518
+
516
519
  match = x.match(/^=[^=]#?(\w+)?/)
517
520
 
518
521
  if match then
@@ -541,6 +544,7 @@ class Martile
541
544
  r
542
545
  end
543
546
 
547
+
544
548
  a2.join
545
549
  end
546
550
 
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.18
4
+ version: 0.6.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file