From 987915e09b01022501a0829c3fd1e2e33ae4fabd Mon Sep 17 00:00:00 2001 From: Nicolas Fricke Date: Wed, 6 Dec 2017 19:24:26 +0100 Subject: [PATCH] Prepare 0.3.2 release Contains another fix to prevent `nil` elements when placing additional elements on articles that end with empty paragraphs --- CHANGELOG.md | 3 +++ lib/article_json/version.rb | 2 +- spec/fixtures/reference_document_parsed.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fc273f..47dd1d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.3.2 - 2017/12/06 +- Another **fix** to prevent `nil` elements when placing additional elements on articles that end with empty paragraphs + ## 0.3.1 - 2017/11/29 - **Fix:** prevent `nil` elements when placing additional element on empty articles diff --git a/lib/article_json/version.rb b/lib/article_json/version.rb index 8f9be6c..378b8ac 100644 --- a/lib/article_json/version.rb +++ b/lib/article_json/version.rb @@ -1,3 +1,3 @@ module ArticleJSON - VERSION = '0.3.1' + VERSION = '0.3.2' end diff --git a/spec/fixtures/reference_document_parsed.json b/spec/fixtures/reference_document_parsed.json index b76f111..689fcae 100644 --- a/spec/fixtures/reference_document_parsed.json +++ b/spec/fixtures/reference_document_parsed.json @@ -1,5 +1,5 @@ { - "article_json_version": "0.3.1", + "article_json_version": "0.3.2", "content": [ { "type": "paragraph",