Skip to content

Commit 5c5b991

Browse files
committed
fixed thumbnail path generation for single file manifests
1 parent 343d2f7 commit 5c5b991

9 files changed

+9
-9
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "biiif",
3-
"version": "0.3.3",
3+
"version": "0.3.4",
44
"description": "A CLI to build IIIF collections",
55
"main": "index.js",
66
"repository": {

test/tests/collection-no-manifests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const collectionUrl = 'http://test.com/collection';
1313

1414
it('can build collection', async () => {
1515
assert(await Utils.fileExists(collection));
16-
return build(collection, collectionUrl, false);
16+
return build(collection, collectionUrl);
1717
}).timeout(1000); // should take less than a second
1818

1919
it('can find collection index.json', async () => {

test/tests/collection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const collectionUrl = 'http://test.com/collection';
1313

1414
it('can build collection', async () => {
1515
assert(await Utils.fileExists(collection));
16-
return build(collection, collectionUrl, false);
16+
return build(collection, collectionUrl);
1717
}).timeout(1000); // should take less than a second
1818

1919
it('can find collection index.json', async () => {

test/tests/custom-annotations-manifest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const customAnnotationsManifestUrl = 'http://test.com/custom-annotations-manifes
1313

1414
it('can build custom annotations collection', async () => {
1515
assert(await Utils.fileExists(manifest));
16-
return build(manifest, customAnnotationsManifestUrl, false);
16+
return build(manifest, customAnnotationsManifestUrl);
1717
}).timeout(1000); // should take less than a second
1818

1919
it('can find manifest index.json', async () => {

test/tests/do-promises-work.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const manifestUrl = 'http://test.com/files-only-manifest';
1313

1414
it('can build manifest', async () => {
1515
assert(await Utils.fileExists(manifest));
16-
return build(manifest, manifestUrl, false);
16+
return build(manifest, manifestUrl);
1717
}).timeout(1000); // should take less than a second
1818

1919
it('happens after build', async () => {

test/tests/files-only-collection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const collectionUrl = 'http://test.com/files-only-collection';
1313

1414
it('can build collection', async () => {
1515
assert(await Utils.fileExists(collection));
16-
return build(collection, collectionUrl, false);
16+
return build(collection, collectionUrl);
1717
}).timeout(1000); // should take less than a second
1818

1919
it('can find collection index.json', async () => {

test/tests/files-only-manifest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const manifestUrl = 'http://test.com/files-only-manifest';
1313

1414
it('can build manifest', async () => {
1515
assert(await Utils.fileExists(manifest));
16-
return build(manifest, manifestUrl, false);
16+
return build(manifest, manifestUrl);
1717
}).timeout(1000); // should take less than a second
1818

1919
it('can find ' + manifest + ' index.json', async () => {

test/tests/generate-thumbs-manifest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const generateThumbsManifestUrl = 'http://test.com/generate-thumbs-manifest';
1313

1414
it('can build generate-thumbs-manifest', async () => {
1515
assert(await Utils.fileExists(manifest));
16-
return build(manifest, generateThumbsManifestUrl, false);
16+
return build(manifest, generateThumbsManifestUrl);
1717
}).timeout(1000); // should take less than a second
1818

1919
it('can find manifest index.json', async () => {

test/tests/gh-pages.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const githubpagesUrl = 'https://username.github.io/uv-app-starter-fork/gh-collec
1313

1414
it('can build collection', async () => {
1515
assert(await Utils.fileExists(collection));
16-
return build(collection, githubpagesUrl, false);
16+
return build(collection, githubpagesUrl);
1717
}).timeout(1000); // should take less than a second
1818

1919
it('can find collection index.json', async () => {

0 commit comments

Comments
 (0)