wiki_md 0.7.5 → 0.7.6

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
  SHA256:
3
- metadata.gz: ff3cd1ca6e7e5779cb0156326908a743977ff3efff77bd432ff70152f6895998
4
- data.tar.gz: 9279a1d7ae1dd33e6f20ae2811b15e430008e9a64ac05b0954de5b60c4cc9809
3
+ metadata.gz: 7e44f18eabfb0a299cb92197cefa52a1b894b04bd49fbe519e8d8092ea9a144e
4
+ data.tar.gz: 460baf4c143e08e34cb84d6b27a3a4467605edde437ecfdf83a49b2c434fe745
5
5
  SHA512:
6
- metadata.gz: c0463ac828661c7532ddcbe8adb247f54b363f6468433348188e657b43e66c34a25985fd7d2435fee516c3ee8ab05f37cab0af245053199ae24dc2fb011a425e
7
- data.tar.gz: 1cb29b7445eacbbf45da37b60e0e5d4eb9af0b1e0872c353cb4fca3674329c73255b823ce3577ec477c0c0c89089be57c27742e88d7913098621cd5f292acb5f
6
+ metadata.gz: f5d266563f02a5e7b09910b8dbb39d9c90f0c2a6999a1d46a2eeaab3c618b18feff5b10865cfc9e6f5398e91ef315ff296a79a3afb1124dd0d43c30bbe4aded8
7
+ data.tar.gz: 23277385949fd5e105c661bfd9b4fb47a361c8e9671354358e340fa0fd9656ac22cff7c004358bf9f4e95c080b00cdcdd6dd50c2d9e1fd719c5bdde32a37866b
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/wiki_md.rb CHANGED
@@ -10,7 +10,7 @@ class WikiMd
10
10
  include RXFHelperModule
11
11
  using ColouredText
12
12
 
13
- attr_reader :active_heading, :filename, :dx
13
+ attr_reader :active_heading, :filename, :dx, :dxsx
14
14
 
15
15
  class Entry
16
16
 
@@ -355,6 +355,11 @@ EOF
355
355
  @dxsx.to_s
356
356
  end
357
357
 
358
+ def to_toc()
359
+ y = Yatoc.new(Kramdown::Document.new(self.to_sections).to_html)
360
+ puts y.to_html
361
+ end
362
+
358
363
  def update(val)
359
364
  self.method(val[/^<\?dynarex/] ? :import : :update_section).call val
360
365
  end
@@ -421,9 +426,6 @@ EOF
421
426
 
422
427
  protected
423
428
 
424
- def dxsx()
425
- @dxsx.dx
426
- end
427
429
 
428
430
  def save_files()
429
431
  @filepath = File.dirname(@filename)
data.tar.gz.sig CHANGED
Binary file
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.7.5
4
+ version: 0.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,28 +35,28 @@ cert_chain:
35
35
  nEQURKgvgTAqVg9tuqcjEE861mSCPc+12rmUHVBZDxMDQF6CQbnOxrYRIS+7fnia
36
36
  kikBQtN17cUMyGOrZTVRhVGR
37
37
  -----END CERTIFICATE-----
38
- date: 2019-01-30 00:00:00.000000000 Z
38
+ date: 2019-02-03 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: dxsectionx
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: 0.3.0
47
44
  - - "~>"
48
45
  - !ruby/object:Gem::Version
49
46
  version: '0.3'
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 0.3.1
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- version: 0.3.0
57
54
  - - "~>"
58
55
  - !ruby/object:Gem::Version
59
56
  version: '0.3'
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: 0.3.1
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: dynarex-tags
62
62
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file