wiki_md 0.9.0 → 0.9.1

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
  SHA256:
3
- metadata.gz: d7ce4cdaf8ffaa9bc7d299e2fee3dd0d85a29e257f730516c55c4e2ae9e5a52a
4
- data.tar.gz: a2b64c8a86619f0aac88c881d0f809c5872a77a94637577048737cca1d74923c
3
+ metadata.gz: 527dd7797b2f2177c3f04d20b4a0a0640c16c3eedd5bd7c440677f6d168acb10
4
+ data.tar.gz: 552d75c9273783af2430d286192eee5ddfd44f3fb1326a4e19eccd0c4d0ef18f
5
5
  SHA512:
6
- metadata.gz: 318aeef53087bb161eba1bd06f0d05af3863a1ca5579e981fa99f62bdea238cb260abf00c00eb8edc68bcc5b52364857192ed6f7d0f156d1ceea4d5dfa8fb22e
7
- data.tar.gz: 0b50c752dcb797306fb3cbd5e21b088ba5f6768a5d697ae25ab08fcb20ab805b5394dadc4fdf3be06ca628653684174dcd570365dea7e3a944ddc29f03c69c7c
6
+ metadata.gz: b9c96f911b6fbcb28d2e8af12870805d0be51a19a535e155e1c8c9d96ed9eb26c82b4015bf30f6b2fbfc6b210a1d1de878261a1969fed59f523608c775992c51
7
+ data.tar.gz: ebde6415be986f833a065452e484beb8abb74b25a635421d704ca98483d98d9ad92e75ce6364b383e1d0e5a6330ed8142f6554f09e4af790dc32020f6c32ad7e
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -470,7 +470,7 @@ EOF
470
470
  end
471
471
 
472
472
  OpenStruct.new(heading: key + " (#{value.length})",
473
- body: body.join("\n"), tag_goto: true)
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
- e.add_attribute(entryid: x.id) if x.respond_to? :id
490
- e.add_attribute(title: x.heading)
491
- e.add_attribute(class: 'entry') unless x.respond_to? :tag_goto
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.0
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-23 00:00:00.000000000 Z
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