mindwords 0.3.0 → 0.3.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/mindwords.rb +3 -1
- metadata +1 -1
- metadata.gz.sig +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6221b29c92e35c56991faead9b0065df928bb5ce5664f9511ad36a41b9382e9c
|
4
|
+
data.tar.gz: 9aefdce231368e36caf338567b5b8063a12e12c5468a5bd92c7395db04ff28bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf7874e88c03ae3148102bf2ad8ecc539502c16bd620208303f54ea750262b9041de7c97b4c5bbf90b0aaf33a381f935b03be9228b1131be467c314bbd6b8344
|
7
|
+
data.tar.gz: d98408eab67356ef1312e3464ec671a381d149e7d2584ab63df6c87e4098d22c59e032dc360cd819fca2cd74d94071a5a8e400f4f87616e058f6f59a4b467c25
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/mindwords.rb
CHANGED
@@ -95,6 +95,8 @@ class MindWords
|
|
95
95
|
@outline = treeize node
|
96
96
|
|
97
97
|
node.root.each_recursive do |e|
|
98
|
+
|
99
|
+
e.attributes[:id] = e.attributes[:title].downcase.gsub(/ +/,'-')
|
98
100
|
|
99
101
|
s = e.parent.attributes[:breadcrumb] ? \
|
100
102
|
e.parent.attributes[:breadcrumb].to_s + ' / ' : ''
|
@@ -103,7 +105,7 @@ class MindWords
|
|
103
105
|
r = @a.grep(/^#{e.attributes[:title]} #/i)
|
104
106
|
next unless r.any?
|
105
107
|
e.attributes[:hashtags] = r[0].scan(/(?<=#)\w+/).join(' ')
|
106
|
-
|
108
|
+
|
107
109
|
|
108
110
|
end
|
109
111
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
,Ԛ�>�m�PY�@��
|
2
|
+
9`"��;C�[u�P��E�7H
|
3
|
+
�d�m�xuP�щ��5���r�ЏW�<�'6���N��y��7���d��t��I�Ǥ�]�[z�_�KO�횘+���p�b�i���W�g���'����b� ����.�b�~�$H�\���X�}0FX2�D�����v|�9R�������$>ݤ7���XƜ�[�h-��u�����wa>���a��V 6a�%���2��y~&��k�_R���"��˻�D��Xo� (���_m�8y��T�����;HrPm!k�Dن��
|
4
|
+
)Y�-�eR���P�o`�D������۫և�G������
|
5
|
+
�8P�����R]�QM�ܔ?$�>������u���^U#D[�)�
|