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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/wiki_md.rb +6 -4
- data.tar.gz.sig +0 -0
- metadata +8 -8
- 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: 7e44f18eabfb0a299cb92197cefa52a1b894b04bd49fbe519e8d8092ea9a144e
|
4
|
+
data.tar.gz: 460baf4c143e08e34cb84d6b27a3a4467605edde437ecfdf83a49b2c434fe745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
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
|