wiki_md 0.9.0 → 0.9.1
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 +0 -0
- data/lib/wiki_md.rb +11 -4
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 527dd7797b2f2177c3f04d20b4a0a0640c16c3eedd5bd7c440677f6d168acb10
|
4
|
+
data.tar.gz: 552d75c9273783af2430d286192eee5ddfd44f3fb1326a4e19eccd0c4d0ef18f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9c96f911b6fbcb28d2e8af12870805d0be51a19a535e155e1c8c9d96ed9eb26c82b4015bf30f6b2fbfc6b210a1d1de878261a1969fed59f523608c775992c51
|
7
|
+
data.tar.gz: ebde6415be986f833a065452e484beb8abb74b25a635421d704ca98483d98d9ad92e75ce6364b383e1d0e5a6330ed8142f6554f09e4af790dc32020f6c32ad7e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/wiki_md.rb
CHANGED
@@ -470,7 +470,7 @@ EOF
|
|
470
470
|
end
|
471
471
|
|
472
472
|
OpenStruct.new(heading: key + " (#{value.length})",
|
473
|
-
body: body.join("\n"),
|
473
|
+
body: body.join("\n"), tag: key)
|
474
474
|
|
475
475
|
end
|
476
476
|
|
@@ -486,9 +486,16 @@ EOF
|
|
486
486
|
rows.each do |x|
|
487
487
|
|
488
488
|
e = Rexle::Element.new('panel')
|
489
|
-
|
490
|
-
|
491
|
-
|
489
|
+
|
490
|
+
if x.respond_to? :id then
|
491
|
+
e.add_attribute(entryid: x.id)
|
492
|
+
e.add_attribute(class: 'entry')
|
493
|
+
else
|
494
|
+
e.add_attribute(tag: x.tag)
|
495
|
+
end
|
496
|
+
|
497
|
+
e.add_attribute(title: x.heading)
|
498
|
+
|
492
499
|
puts 'x.body: ' + x.body.inspect if @debug
|
493
500
|
body = "<body>%s</body>" % \
|
494
501
|
Martile.new(x.body, ignore_domainlabel: @domain).to_html
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wiki_md
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
N5hZmnA6M2h3NysLCPRtwS2vMJh8qq6OS5RjU9cc5V08vyIkQ7/YC/x+7kLm5Kn0
|
36
36
|
kvoWXxa8gpUBS+qMlSYFDHlq
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2020-04-
|
38
|
+
date: 2020-04-25 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: dxsectionx
|
metadata.gz.sig
CHANGED
Binary file
|