zine 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/zine/page.rb +1 -1
- data/lib/zine/post.rb +1 -1
- data/lib/zine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a7c20f64ec01c120b0b98333261a3d0212355d0e6b28ce5e1290b97752f2d8e
|
4
|
+
data.tar.gz: ed80eb465ddaa486667e79d250382d315e2fe809f8242e713fc4e743d54ed437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37085f8a9cd02c6386410a6a5e225a10135d6f3c4e0cf4826ca4fa3caaac95bdaa6eb52150df6f66e8a3249049bc94c5035d8f92bf6482e3d4c3b7cb5ad90378
|
7
|
+
data.tar.gz: 3e849db212b7eeb76cd0d340510322688c71b8424ec8ebe9fa272519ec9d863e24b54732c6f8318161895354b3ad582bf67164106a391e1bf82567c1ffca32d7
|
data/CHANGELOG.md
CHANGED
@@ -117,3 +117,11 @@
|
|
117
117
|
|
118
118
|
- a bug in 'zine notice' involving full & partial paths that duplicated the post to notice on the history page, fixed
|
119
119
|
- minor code clean-up in cli.rb and server.rb
|
120
|
+
|
121
|
+
# 0.10.0, November 7, 2018
|
122
|
+
|
123
|
+
- dependency version bumps
|
124
|
+
|
125
|
+
# 0.11.0, November 7, 2018
|
126
|
+
|
127
|
+
- fixed a bug where String#split would break apart markdown files on tables as well as at the metadata/markdown boundary
|
data/lib/zine/page.rb
CHANGED
@@ -66,7 +66,7 @@ module Zine
|
|
66
66
|
|
67
67
|
def initialize(md_file_name, dest, templates, site_options)
|
68
68
|
@source_file = md_file_name
|
69
|
-
file_parts = File.open(md_file_name, 'r').read.split('---')
|
69
|
+
file_parts = File.open(md_file_name, 'r').read.split('---', 3)
|
70
70
|
@formatted_data = FormattedData.new(parse_yaml(file_parts[1],
|
71
71
|
md_file_name),
|
72
72
|
site_options)
|
data/lib/zine/post.rb
CHANGED
@@ -5,7 +5,7 @@ module Zine
|
|
5
5
|
class Post < Page
|
6
6
|
def initialize(md_file_name, templates, site_options)
|
7
7
|
@source_file = md_file_name
|
8
|
-
file_parts = File.open(md_file_name, 'r').read.split('---')
|
8
|
+
file_parts = File.open(md_file_name, 'r').read.split('---', 3)
|
9
9
|
@formatted_data = FormattedData.new(parse_yaml(file_parts[1],
|
10
10
|
md_file_name),
|
11
11
|
site_options)
|
data/lib/zine/version.rb
CHANGED