all_todo 0.1.0 → 0.1.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/lib/all_todo.rb +6 -2
- data.tar.gz.sig +0 -0
- metadata +1 -1
- 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: 175e73b57c1d10ac2ba181f29b75ebc157fc338a
|
4
|
+
data.tar.gz: 158f117f95b91c334427b28d9f5d0d4ae782512b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3eb23b4a778223680e700cb4d419f04087b0f5c57b071731d4c4dd695aadb742d280b3ac3b058b93b3759792aed3c39db19f06cd77c3d94238f7685fde3edd2
|
7
|
+
data.tar.gz: 01fbf7b6d8dc3c8fdff87e7937fa1a80e2a7e32f6e25b2ede502c5227c2e5c78e70ebfd87ec421d9a59674aaf4a8b4a7fbf329be52f28182356e725bd947ea25
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/all_todo.rb
CHANGED
@@ -10,12 +10,16 @@ class AllTodo
|
|
10
10
|
|
11
11
|
def initialize(s)
|
12
12
|
|
13
|
+
# remove the file heading
|
14
|
+
lines = s.lines
|
15
|
+
lines.shift 3
|
16
|
+
|
13
17
|
declaration = '<?ph schema="sections[title]/section[x]"?>'
|
14
|
-
@px = PolyrexHeadings.new(declaration + "\n" +
|
18
|
+
@px = PolyrexHeadings.new(declaration + "\n" + lines.join).to_polyrex
|
15
19
|
|
16
20
|
end
|
17
21
|
|
18
22
|
def to_px
|
19
23
|
@px
|
20
24
|
end
|
21
|
-
end
|
25
|
+
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|