martile 1.1.6 → 1.1.7
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 +4 -4
- checksums.yaml.gz.sig +1 -1
- data.tar.gz.sig +0 -0
- data/lib/martile.rb +11 -4
- metadata +4 -4
- metadata.gz.sig +3 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bac38e3b201598efaac06da67a87905b84833e713ab14615bc7d607db510c417
|
|
4
|
+
data.tar.gz: 506f7590360922b8b847a8e76bedcf8c63df880e2718ed1b849542f716313e67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e6e59c9f1a403f4f42d87938c453a56309cd6efccf48a54461b10017227b39db82d9c2333fa7e327f2666bbf4cee97605c5af42320a81f8943d508d8be1bc672
|
|
7
|
+
data.tar.gz: e2168f3f114732e83b0b8a1331fa8a8a0ffe20f9bb9069917e62540efbb5ed294ddb4406c7015e135a6edcd303c1dedc911fa3e232482991b821a40816cfa5d1
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
WVIc$�5�̥-v�5A��z��c���"���Y-0Q�x���G�z\hܶ}�J�~P�-�hs�f>d�'��7C:hz��`u���R�䑆�|n��в%��X����H��@�ʔZ/�Į}_X�p����Ȩ�\���!%B�kF�U�Q��n�d7����(��s�w0!ԍ�,�f�ʗWK�������ط�sz5���J��B4��� L��:����$�>�;�0{�����F���"����-]٠�(bU�0�ɚ�T�
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/martile.rb
CHANGED
|
@@ -13,6 +13,7 @@ require 'mindmapdoc'
|
|
|
13
13
|
require 'flowchartviz'
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
# feature: 03-Mar-2019 A high level mindmap with associated doc can now be easily created using the -mm---identifier
|
|
16
17
|
# bug fix: 25-Feb-2019 The section content is now rendered using to_s
|
|
17
18
|
# instead of to_html
|
|
18
19
|
# feature: 16-Feb-2019 A hidden field cam now be rendered using
|
|
@@ -72,7 +73,7 @@ require 'flowchartviz'
|
|
|
72
73
|
class Martile
|
|
73
74
|
using ColouredText
|
|
74
75
|
|
|
75
|
-
attr_reader :to_s, :to_html, :data_source
|
|
76
|
+
attr_reader :to_s, :to_html, :data_source, :to_css
|
|
76
77
|
|
|
77
78
|
def initialize(raw_s='', ignore_domainlabel: nil, debug: false, log: nil)
|
|
78
79
|
|
|
@@ -81,13 +82,15 @@ class Martile
|
|
|
81
82
|
@data_source = {}
|
|
82
83
|
|
|
83
84
|
@ignore_domainlabel, @log = ignore_domainlabel, log
|
|
85
|
+
|
|
86
|
+
@css = []
|
|
84
87
|
|
|
85
88
|
raw_s.gsub!("\r",'')
|
|
86
89
|
|
|
87
90
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
s5 = MindmapDoc.new(debug: debug).to_mmd(raw_s)
|
|
92
|
+
s10 = MindmapDoc.new(debug: debug).transform(s5)
|
|
93
|
+
puts 's10: ' + s10.inspect if debug
|
|
91
94
|
s20 = s10 =~ /^__DATA__$/ ? parse__data__(s10) : s10
|
|
92
95
|
puts ('s20: ' + s20.inspect).debug if debug
|
|
93
96
|
|
|
@@ -191,6 +194,10 @@ class Martile
|
|
|
191
194
|
|
|
192
195
|
end
|
|
193
196
|
|
|
197
|
+
def to_css()
|
|
198
|
+
@css.join("\n")
|
|
199
|
+
end
|
|
200
|
+
|
|
194
201
|
|
|
195
202
|
private
|
|
196
203
|
|
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: 1.1.
|
|
4
|
+
version: 1.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
h9crBM07TwSkUs7Sqw12Wh0aEldB8f+8+8mRzbWrJxdYt0EC7ZeByVSu26XqSA9a
|
|
31
31
|
QUQ=
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2019-
|
|
33
|
+
date: 2019-03-04 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: yatoc
|
|
@@ -81,7 +81,7 @@ dependencies:
|
|
|
81
81
|
version: '0.3'
|
|
82
82
|
- - ">="
|
|
83
83
|
- !ruby/object:Gem::Version
|
|
84
|
-
version: 0.3.
|
|
84
|
+
version: 0.3.3
|
|
85
85
|
type: :runtime
|
|
86
86
|
prerelease: false
|
|
87
87
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -91,7 +91,7 @@ dependencies:
|
|
|
91
91
|
version: '0.3'
|
|
92
92
|
- - ">="
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
|
-
version: 0.3.
|
|
94
|
+
version: 0.3.3
|
|
95
95
|
- !ruby/object:Gem::Dependency
|
|
96
96
|
name: flowchartviz
|
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
����X{!1#Y-��
|
|
5
|
-
c��W��G?/�j�x�\x���5R�F�u�I�a-<Ȅ6"L^��ʠ
|
|
1
|
+
�C�+ 4�xA
|
|
2
|
+
#$#�9�-L�5���Xol��7�� �ͫ�l���co���-�6����$d��_X�
|
|
3
|
+
�d���N6�VBw��U��x7��;�۬�#�K$g��'����"l�f������GGX��BaT�T��UM��tc�Z�i�V�w��"u��yT��G�MOo��B��ZA�\ ��5i�'�]u��:H4D�gQE�G��؉�X�������g6�=ݾa���&l}Y>w�w���@�0QT:
|