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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 836f4ac392beb31d5ed70b6fac962e4382000dd1
4
- data.tar.gz: 27e8b2f194efb1984287c41e83f4a7e9ffca0cac
3
+ metadata.gz: 13217739ba901dab8a84e1a9bdd62aec37e4896e
4
+ data.tar.gz: dec1082d6f3dd1ca323b3b468f5abc7ef022faa5
5
5
  SHA512:
6
- metadata.gz: 8efdadd22699e0bfaa6e6e5a6336eca643ca1a998e8b6ec12959e8a7554c72e836718d4ac3d8919617d4037a57f8fb25e277ef316ed896a27e77f8d9eea51a6a
7
- data.tar.gz: f49f2aa9e14b50b9590782c4c27f7351a3c35c39ed70d01fb85be5a9c3af06db7db2f4ed04d90abc12bc518e53912a2ab11c39b80d4352a131f21d3c94b28744
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
- contentarray = content.split(",")
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]:"
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Blogengine
3
- VERSION = "0.0.9".freeze
3
+ VERSION = "0.1.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-blogengine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benny1992