myoutline 0.4.0 → 0.4.1
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/lib/myoutline.rb +5 -2
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4f6912ff035c2c2b5da229d95e583627c85ffed
|
|
4
|
+
data.tar.gz: f27adb970d02d91a352642d8b925d5966931fda6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e16a3e44cfe97a8b8099422fb96c49f1f0f07f0e13df766b96e9f33551600f5e4b6664f9f087a4757550657ac3daca623e09452e739a032328841515d8513b45
|
|
7
|
+
data.tar.gz: 9ebbe2e021337efaffcb229cb004e12b532ee60b72b54e7a79950b8fa7d72a9b7981e9d0cb473033d66eb83d0f968ca40538456da77c21ad2fe9bfeb304db0f4
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/myoutline.rb
CHANGED
|
@@ -9,7 +9,6 @@ require 'polyrex-links'
|
|
|
9
9
|
require 'md_edit'
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
|
|
13
12
|
class MyOutline
|
|
14
13
|
|
|
15
14
|
attr_reader :pxi, :links
|
|
@@ -48,6 +47,10 @@ class MyOutline
|
|
|
48
47
|
@ftx.ls(path).map(&:to_s)
|
|
49
48
|
end
|
|
50
49
|
|
|
50
|
+
def rebuild(s)
|
|
51
|
+
build_index(s)
|
|
52
|
+
end
|
|
53
|
+
|
|
51
54
|
def update(section)
|
|
52
55
|
@md.update section
|
|
53
56
|
end
|
|
@@ -132,7 +135,7 @@ class MyOutline
|
|
|
132
135
|
puts 'a3:' + a3.inspect if @debug
|
|
133
136
|
|
|
134
137
|
# add the new entries to the main index
|
|
135
|
-
s << a3.join("\n")
|
|
138
|
+
s << "\n" + a3.join("\n")
|
|
136
139
|
|
|
137
140
|
s.prepend '<?ph schema="entries/section[heading]/entry[title, url]"?>
|
|
138
141
|
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: myoutline
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
DFhc5TDtqEkJYiaiznQFl34HUKeCAdeAHkmD8jP3fUC8O7zcLXq69EAXGMXw4efB
|
|
31
31
|
3Co=
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2018-04-
|
|
33
|
+
date: 2018-04-10 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: pxindex
|
metadata.gz.sig
CHANGED
|
Binary file
|