martile 0.8.1 → 0.8.2

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: a27d1489468e41766cc5975c344e152281e33b12
4
- data.tar.gz: 30088349f1fd30f5f0a4d3d852712b8436e4caac
3
+ metadata.gz: 92dfbd9c24e7ba84c596d197df43d83329fe8ebc
4
+ data.tar.gz: 01d2f8220762ff540471cacc1d0b52299e0aa287
5
5
  SHA512:
6
- metadata.gz: c1186a6035d156f478ab96cf0f045c53155f64053e74e1e60010c00a59c1191e39080a21dc21a55323d045fb8f682ed99ce020c5da96ec3736356c10369433c9
7
- data.tar.gz: a7a960b6a32c5d9f987dae540c19499377b657194fa502ce2bfdea7120681f7382dd604524cfc760e52890ddced4b8bb20c3e037a9ab97e6559155f15d77f215
6
+ metadata.gz: 33768f8f5adbe5a24a534c36818bb2cb61d754b69563b23003a83e4475c0a9fd93244e9c263707d3ab95f9ea9712bf1777c21703754e7ac635256ed3af7f8574
7
+ data.tar.gz: 1b5ba8d2162a035c2cc6f5fcb95e9188aa57f3fabd2487d985a1cdeedc9789d77a9cb050b059cbb1feef03400fe043f294bbd8fc31e79b2e8ffecd5fd09b6487
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/martile.rb CHANGED
@@ -12,6 +12,7 @@ require 'mindmapviz'
12
12
  require 'flowchartviz'
13
13
 
14
14
 
15
+ # feature: 8-Feb-2018 A section attribute id can now include a dash (-).
15
16
  # minor improvement: 29-Sep-2017 A Markdownviz or Flowchartviz embedded
16
17
  # document can now be declared without the word viz at the end.
17
18
  # feature: 21-Sep-2017 A qrcode can now be rendered
@@ -177,6 +178,8 @@ class Martile
177
178
 
178
179
  def details(s)
179
180
 
181
+ puts 'inside details: ' + s.inspect
182
+
180
183
  s.split(/(?=\!\+)/).map do |x|
181
184
 
182
185
  if x =~ /\!\+/ then
@@ -598,7 +601,7 @@ class Martile
598
601
 
599
602
  a2 = a.inject([[]]) do |r,x|
600
603
 
601
- match = x.match(/^={1}(?:#)?(\w+)?$/)
604
+ match = x.match(/^={1}(?:#)?([\w-]+)?$/)
602
605
 
603
606
  if match then
604
607
 
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.8.1
4
+ version: 0.8.2
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-09-29 00:00:00.000000000 Z
34
+ date: 2018-02-08 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: kvx
@@ -102,7 +102,7 @@ dependencies:
102
102
  version: '1.7'
103
103
  - - ">="
104
104
  - !ruby/object:Gem::Version
105
- version: 1.7.26
105
+ version: 1.7.28
106
106
  type: :runtime
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
@@ -112,7 +112,7 @@ dependencies:
112
112
  version: '1.7'
113
113
  - - ">="
114
114
  - !ruby/object:Gem::Version
115
- version: 1.7.26
115
+ version: 1.7.28
116
116
  - !ruby/object:Gem::Dependency
117
117
  name: mindmapviz
118
118
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file