zine 0.10.0 → 0.11.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3609aadda7d251a7b45b52c7bd25f0d84eee03ecff9cdde22bb2ba6f3b7c3f5
4
- data.tar.gz: 94a81f7e278a2ffe47fe764defa7f2bd18c1150665fc771548d82c1b3d9e7ffa
3
+ metadata.gz: 5a7c20f64ec01c120b0b98333261a3d0212355d0e6b28ce5e1290b97752f2d8e
4
+ data.tar.gz: ed80eb465ddaa486667e79d250382d315e2fe809f8242e713fc4e743d54ed437
5
5
  SHA512:
6
- metadata.gz: 1dd7b9bca6dbff3f86ae593ec4ee0905d8eb45b42a8664614229982f739c4dd61b6620618d5d731d0cb4f287ab84361e6ed3d9a16b1b8f3a62a39c5c9a9fd1bc
7
- data.tar.gz: e1ffab98c12858d4857b143cc84ecfd58bd37caadfbe99f1daf5fae2f4936fd4a4496470724fbc0e582a2da82c812f7d6464ffa7b1cc42656513c46d7329036e
6
+ metadata.gz: 37085f8a9cd02c6386410a6a5e225a10135d6f3c4e0cf4826ca4fa3caaac95bdaa6eb52150df6f66e8a3249049bc94c5035d8f92bf6482e3d4c3b7cb5ad90378
7
+ data.tar.gz: 3e849db212b7eeb76cd0d340510322688c71b8424ec8ebe9fa272519ec9d863e24b54732c6f8318161895354b3ad582bf67164106a391e1bf82567c1ffca32d7
@@ -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
@@ -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)
@@ -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)
@@ -1,4 +1,4 @@
1
1
  module Zine
2
2
  # The version
3
- VERSION = '0.10.0'.freeze
3
+ VERSION = '0.11.0'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Kreuzer