From afebe245f045e75b3b018ede2111f020063dfc37 Mon Sep 17 00:00:00 2001 From: Nicolas Fricke Date: Wed, 8 Nov 2017 16:10:21 +0100 Subject: [PATCH] Prepare 0.2.1 release This release is only fixing issues with bad OEmbed responses which previously caused the entire exporting of the article to fail. Now it will render a message instead of the embedded element telling the viewer that the embedded element could not be loaded. --- CHANGELOG.md | 4 ++-- lib/article_json/version.rb | 2 +- spec/article_json/article_spec.rb | 2 +- spec/fixtures/reference_document_parsed.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f1c717..a9b4136 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog -## WIP -- Handle non-successful OEmbed responses +## 0.2.1 - 2017/11/08 +**Fix**: Handle non-successful OEmbed responses by rendering message ## 0.2.0 - 2017/11/03 In this second release we **added support** to: diff --git a/lib/article_json/version.rb b/lib/article_json/version.rb index dbb665e..4ab097b 100644 --- a/lib/article_json/version.rb +++ b/lib/article_json/version.rb @@ -1,3 +1,3 @@ module ArticleJSON - VERSION = '0.2.0' + VERSION = '0.2.1' end diff --git a/spec/article_json/article_spec.rb b/spec/article_json/article_spec.rb index ff6c80c..90470e8 100644 --- a/spec/article_json/article_spec.rb +++ b/spec/article_json/article_spec.rb @@ -75,7 +75,7 @@ shared_context 'for a correctly parsed Hash' do let(:example_hash) do { - article_json_version: '0.2.0', + article_json_version: '0.2.1', content: [ { type: :paragraph, diff --git a/spec/fixtures/reference_document_parsed.json b/spec/fixtures/reference_document_parsed.json index 3024256..951f9e2 100644 --- a/spec/fixtures/reference_document_parsed.json +++ b/spec/fixtures/reference_document_parsed.json @@ -1,5 +1,5 @@ { - "article_json_version": "0.2.0", + "article_json_version": "0.2.1", "content": [ { "type": "paragraph",