From 78140450f5ee26355e6ad12fc8282dd9b640e67f Mon Sep 17 00:00:00 2001 From: "Thomas M. Edwards" Date: Mon, 20 Dec 2021 21:53:25 -0600 Subject: [PATCH 1/2] UPDATE: SugarCube v2.36.0 --- src/data/actions/story-format.js | 4 ++-- src/data/actions/story-format.spec.js | 10 +++++----- story-formats/sugarcube-2.34.1/format.js | 1 - .../{sugarcube-2.34.1 => sugarcube-2.36.0}/LICENSE | 2 +- story-formats/sugarcube-2.36.0/format.js | 1 + .../{sugarcube-2.34.1 => sugarcube-2.36.0}/icon.svg | 0 6 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 story-formats/sugarcube-2.34.1/format.js rename story-formats/{sugarcube-2.34.1 => sugarcube-2.36.0}/LICENSE (95%) create mode 100644 story-formats/sugarcube-2.36.0/format.js rename story-formats/{sugarcube-2.34.1 => sugarcube-2.36.0}/icon.svg (100%) diff --git a/src/data/actions/story-format.js b/src/data/actions/story-format.js index 047d1feea..416bc1498 100644 --- a/src/data/actions/story-format.js +++ b/src/data/actions/story-format.js @@ -226,8 +226,8 @@ const actions = (module.exports = { }, { name: 'SugarCube', - url: 'story-formats/sugarcube-2.34.1/format.js', - version: '2.34.1', + url: 'story-formats/sugarcube-2.36.0/format.js', + version: '2.36.0', userAdded: false } ]; diff --git a/src/data/actions/story-format.spec.js b/src/data/actions/story-format.spec.js index 2d82e9c27..c793451a0 100644 --- a/src/data/actions/story-format.spec.js +++ b/src/data/actions/story-format.spec.js @@ -104,11 +104,11 @@ describe('story format actions module', () => { 'story-formats/sugarcube-1.0.35/format.js' ); expect(created['SugarCube-1.0.35'].userAdded).to.be.false; - expect(created['SugarCube-2.34.1']).to.exist; - expect(created['SugarCube-2.34.1'].url).to.equal( - 'story-formats/sugarcube-2.34.1/format.js' + expect(created['SugarCube-2.36.0']).to.exist; + expect(created['SugarCube-2.36.0'].url).to.equal( + 'story-formats/sugarcube-2.36.0/format.js' ); - expect(created['SugarCube-2.34.1'].userAdded).to.be.false; + expect(created['SugarCube-2.36.0'].userAdded).to.be.false; }); it('sets default formats with repairFormats()', () => { @@ -167,7 +167,7 @@ describe('story format actions module', () => { {name: 'Snowman', version: '1.4.0'}, {name: 'Snowman', version: '2.0.2'}, {name: 'SugarCube', version: '1.0.35'}, - {name: 'SugarCube', version: '2.34.1'} + {name: 'SugarCube', version: '2.36.0'} ] } } diff --git a/story-formats/sugarcube-2.34.1/format.js b/story-formats/sugarcube-2.34.1/format.js deleted file mode 100644 index 6991bd389..000000000 --- a/story-formats/sugarcube-2.34.1/format.js +++ /dev/null @@ -1 +0,0 @@ -window.storyFormat({"name":"SugarCube","version":"2.34.1","description":"A full featured, highly customizable story format. See its documentation.","author":"Thomas Michael Edwards","image":"icon.svg","url":"http://www.motoslave.net/sugarcube/","license":"BSD-2-Clause","proofing":false,"source":"\n\n\n\n{{STORY_NAME}}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t
\n\t\t
\n\t\t
Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
\n\t\t
Loading…
\n\t
\n\t{{STORY_DATA}}\n\t\n\n\n"}); \ No newline at end of file diff --git a/story-formats/sugarcube-2.34.1/LICENSE b/story-formats/sugarcube-2.36.0/LICENSE similarity index 95% rename from story-formats/sugarcube-2.34.1/LICENSE rename to story-formats/sugarcube-2.36.0/LICENSE index 95e2dab3c..5af7f67c1 100644 --- a/story-formats/sugarcube-2.34.1/LICENSE +++ b/story-formats/sugarcube-2.36.0/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2013-2020, Thomas Michael Edwards . +Copyright (c) 2013-2021, Thomas Michael Edwards . All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/story-formats/sugarcube-2.36.0/format.js b/story-formats/sugarcube-2.36.0/format.js new file mode 100644 index 000000000..640715731 --- /dev/null +++ b/story-formats/sugarcube-2.36.0/format.js @@ -0,0 +1 @@ +window.storyFormat({"name":"SugarCube","version":"2.36.0","description":"A full featured, highly customizable story format. See its documentation.","author":"Thomas Michael Edwards","image":"icon.svg","url":"http://www.motoslave.net/sugarcube/","license":"BSD-2-Clause","proofing":false,"source":"\n\n\n\n{{STORY_NAME}}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t
\n\t\t
\n\t\t

Browser lacks capabilities required to play.

Upgrade or switch to another browser.

\n\t\t
Loading…
\n\t
\n\t{{STORY_DATA}}\n\t\n\n\n"}); \ No newline at end of file diff --git a/story-formats/sugarcube-2.34.1/icon.svg b/story-formats/sugarcube-2.36.0/icon.svg similarity index 100% rename from story-formats/sugarcube-2.34.1/icon.svg rename to story-formats/sugarcube-2.36.0/icon.svg From bdd207f1571b5c51941c1a5c73f3c6eaaec3bfc6 Mon Sep 17 00:00:00 2001 From: "Thomas M. Edwards" Date: Wed, 22 Dec 2021 00:08:21 -0600 Subject: [PATCH 2/2] UPDATE: SugarCube v2.36.1 --- src/data/actions/story-format.js | 4 ++-- src/data/actions/story-format.spec.js | 10 +++++----- story-formats/sugarcube-2.36.0/format.js | 1 - .../{sugarcube-2.36.0 => sugarcube-2.36.1}/LICENSE | 0 story-formats/sugarcube-2.36.1/format.js | 1 + .../{sugarcube-2.36.0 => sugarcube-2.36.1}/icon.svg | 0 6 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 story-formats/sugarcube-2.36.0/format.js rename story-formats/{sugarcube-2.36.0 => sugarcube-2.36.1}/LICENSE (100%) create mode 100644 story-formats/sugarcube-2.36.1/format.js rename story-formats/{sugarcube-2.36.0 => sugarcube-2.36.1}/icon.svg (100%) diff --git a/src/data/actions/story-format.js b/src/data/actions/story-format.js index 416bc1498..fd53c434c 100644 --- a/src/data/actions/story-format.js +++ b/src/data/actions/story-format.js @@ -226,8 +226,8 @@ const actions = (module.exports = { }, { name: 'SugarCube', - url: 'story-formats/sugarcube-2.36.0/format.js', - version: '2.36.0', + url: 'story-formats/sugarcube-2.36.1/format.js', + version: '2.36.1', userAdded: false } ]; diff --git a/src/data/actions/story-format.spec.js b/src/data/actions/story-format.spec.js index c793451a0..dc6a72f44 100644 --- a/src/data/actions/story-format.spec.js +++ b/src/data/actions/story-format.spec.js @@ -104,11 +104,11 @@ describe('story format actions module', () => { 'story-formats/sugarcube-1.0.35/format.js' ); expect(created['SugarCube-1.0.35'].userAdded).to.be.false; - expect(created['SugarCube-2.36.0']).to.exist; - expect(created['SugarCube-2.36.0'].url).to.equal( - 'story-formats/sugarcube-2.36.0/format.js' + expect(created['SugarCube-2.36.1']).to.exist; + expect(created['SugarCube-2.36.1'].url).to.equal( + 'story-formats/sugarcube-2.36.1/format.js' ); - expect(created['SugarCube-2.36.0'].userAdded).to.be.false; + expect(created['SugarCube-2.36.1'].userAdded).to.be.false; }); it('sets default formats with repairFormats()', () => { @@ -167,7 +167,7 @@ describe('story format actions module', () => { {name: 'Snowman', version: '1.4.0'}, {name: 'Snowman', version: '2.0.2'}, {name: 'SugarCube', version: '1.0.35'}, - {name: 'SugarCube', version: '2.36.0'} + {name: 'SugarCube', version: '2.36.1'} ] } } diff --git a/story-formats/sugarcube-2.36.0/format.js b/story-formats/sugarcube-2.36.0/format.js deleted file mode 100644 index 640715731..000000000 --- a/story-formats/sugarcube-2.36.0/format.js +++ /dev/null @@ -1 +0,0 @@ -window.storyFormat({"name":"SugarCube","version":"2.36.0","description":"A full featured, highly customizable story format. See its documentation.","author":"Thomas Michael Edwards","image":"icon.svg","url":"http://www.motoslave.net/sugarcube/","license":"BSD-2-Clause","proofing":false,"source":"\n\n\n\n{{STORY_NAME}}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t
\n\t\t
\n\t\t

Browser lacks capabilities required to play.

Upgrade or switch to another browser.

\n\t\t
Loading…
\n\t
\n\t{{STORY_DATA}}\n\t\n\n\n"}); \ No newline at end of file diff --git a/story-formats/sugarcube-2.36.0/LICENSE b/story-formats/sugarcube-2.36.1/LICENSE similarity index 100% rename from story-formats/sugarcube-2.36.0/LICENSE rename to story-formats/sugarcube-2.36.1/LICENSE diff --git a/story-formats/sugarcube-2.36.1/format.js b/story-formats/sugarcube-2.36.1/format.js new file mode 100644 index 000000000..8babb57bc --- /dev/null +++ b/story-formats/sugarcube-2.36.1/format.js @@ -0,0 +1 @@ +window.storyFormat({"name":"SugarCube","version":"2.36.1","description":"A full featured, highly customizable story format. See its documentation.","author":"Thomas Michael Edwards","image":"icon.svg","url":"http://www.motoslave.net/sugarcube/","license":"BSD-2-Clause","proofing":false,"source":"\n\n\n\n{{STORY_NAME}}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t
\n\t\t
\n\t\t

Browser lacks capabilities required to play.

Upgrade or switch to another browser.

\n\t\t
Loading…
\n\t
\n\t{{STORY_DATA}}\n\t\n\n\n"}); \ No newline at end of file diff --git a/story-formats/sugarcube-2.36.0/icon.svg b/story-formats/sugarcube-2.36.1/icon.svg similarity index 100% rename from story-formats/sugarcube-2.36.0/icon.svg rename to story-formats/sugarcube-2.36.1/icon.svg