rack-blogengine 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/blogengine/doc_parser.rb +5 -1
- data/lib/rack/blogengine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13217739ba901dab8a84e1a9bdd62aec37e4896e
|
4
|
+
data.tar.gz: dec1082d6f3dd1ca323b3b468f5abc7ef022faa5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 848e8d766d864e2c21bf32122c0fcdd338671af84f53bfbb156516a4b70aac79692707cfd19d4c86bcee47d2dfa03ac625e48ce51d4811dd72a9d3dec083e0f8
|
7
|
+
data.tar.gz: 49da84bea6578aa98ec2649756c0e1d06d8c35f723bcb1c32128f6804891a0dc9a1c465ae39addbb9a6315ae9107e277d6c89ab925931615f058fffc5f53e22c
|
@@ -32,7 +32,11 @@ module Rack
|
|
32
32
|
content_file = ::File.open("#{@target}/#{file}");
|
33
33
|
content = content_file.read
|
34
34
|
|
35
|
-
|
35
|
+
content["/path"] = "/close"
|
36
|
+
content["/title"] = "/close"
|
37
|
+
content["/content"] = "/close"
|
38
|
+
|
39
|
+
contentarray = content.split("[/close]")
|
36
40
|
|
37
41
|
contentarray.each do |contentblock|
|
38
42
|
if contentblock.include? "[path]:"
|