mindwords 0.5.4 → 0.5.5
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 +0 -0
- data.tar.gz.sig +0 -0
- data/lib/mindwords.rb +17 -8
- metadata +2 -2
- 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: 3dce3985e118c20bf9564d5d5d80b471cfb1422387d02a9b2faedaa29ee6b847
|
|
4
|
+
data.tar.gz: c74d01bae140212eb3e3d8f6a65fed89a1fde92920fd4924f4f32b15cc8fd901
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7867fb1ac1224ec7d5f4515b450182d01344fe95cd4002409fe45eeb59a6cedaa7ba07074c1f22030d332fe3a09e4290c1aa0243e5033575898b098328aa160c
|
|
7
|
+
data.tar.gz: 0c10f58552946d28c0a81fca5e1ce078575ec8c7402e2b64bc8c56e1b24c0979053356898af377f036d7bdabfd9e4957bc87e970eded50a7ee3d94703ab75b88
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/mindwords.rb
CHANGED
|
@@ -129,11 +129,7 @@ class MindWords
|
|
|
129
129
|
@lines = tag_sort().lines
|
|
130
130
|
self
|
|
131
131
|
end
|
|
132
|
-
|
|
133
|
-
def to_h()
|
|
134
|
-
@h
|
|
135
|
-
end
|
|
136
|
-
|
|
132
|
+
|
|
137
133
|
def to_hashtags()
|
|
138
134
|
@hashtags
|
|
139
135
|
end
|
|
@@ -155,11 +151,24 @@ class MindWords
|
|
|
155
151
|
|
|
156
152
|
header + body
|
|
157
153
|
|
|
158
|
-
end
|
|
154
|
+
end
|
|
159
155
|
|
|
160
156
|
def to_words()
|
|
161
|
-
|
|
162
|
-
|
|
157
|
+
|
|
158
|
+
h = {}
|
|
159
|
+
|
|
160
|
+
Rexle.new(to_xml).root.each_recursive do |e|
|
|
161
|
+
|
|
162
|
+
h[e.attributes[:title]] = {
|
|
163
|
+
breadcrumb: e.attributes[:breadcrumb],
|
|
164
|
+
hashtags: e.attributes[:hashtags]
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
h
|
|
170
|
+
|
|
171
|
+
end
|
|
163
172
|
|
|
164
173
|
def to_xml()
|
|
165
174
|
build() unless @xml
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mindwords
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
|
35
35
|
aWH7D2AmhOpqNwWnPHzWR/yzpigAVTrvpHfRxZleQj6Z/090nIH2KR0RdioMmPFq
|
|
36
36
|
3+574KQzs/gR9Y5a+iMcvHRN
|
|
37
37
|
-----END CERTIFICATE-----
|
|
38
|
-
date: 2021-01-
|
|
38
|
+
date: 2021-01-31 00:00:00.000000000 Z
|
|
39
39
|
dependencies:
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: line-tree
|
metadata.gz.sig
CHANGED
|
Binary file
|