blacklight-spotlight 3.4.2 → 3.4.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 343306a2d21bc872b86730fa7dd740c3209dea1ed39780ac6e7b71796b2c609d
4
- data.tar.gz: f2d93939dc404c1f43477d37f44069b1e17ce4a1334377ec9a12da9d92411e54
3
+ metadata.gz: 794f8a576fd41d5dbaf29291a7becae3a6e2d813ffd607d4e9d40f101f1f8f49
4
+ data.tar.gz: 49d0a55f747b3c554f973676552b1f7568f75b2e1cdc42c8fb30fa0c246516ff
5
5
  SHA512:
6
- metadata.gz: fcc3ecd39516bf763110820df9c205634af02b12829f1d69d76492f205614087db70b2d5e3ebf969d51333e42020639eeb88cb330475070d76cf971d3da91ad6
7
- data.tar.gz: 36d94f02d287b05c3473d543c46993ed33fc27c3daf9f57a5500d2ad4fe585237148154c149cf0c258597317377690c1eefdbcc5c2debfc0cfa045e92b86c836
6
+ metadata.gz: fe49b3279ffc22c85273eeca2c84f0853f6b78bd8147b4f639b72e116835e09cd48add6d9bf4576c28856e16998bda0e164f6db41bd877a52b0e2ca903e1f7ff
7
+ data.tar.gz: 4361e42c40cfde449e7a2a7a3ed6331379b51acb4c6c9d56bb6a0502233109193cbeea8a4903873638bd02d9c507306294b405ccf5a0eaccbdeaf3b1bd00e390
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spotlight
4
- VERSION = '3.4.2'
4
+ VERSION = '3.4.2.1'
5
5
  end
Binary file
Binary file
@@ -0,0 +1,57 @@
1
+ Item ID,Item Title,Visibility
2
+ bm387cy2596,L'AMERIQVE,true
3
+ cz507zk0531,NEW MEXICO,true
4
+ dq287tq6352,L'AMERIQUE,false
5
+ ds525vw8509,"Mappa mondo and Figura prima del capitolo IV., ossia della divisione della terra",true
6
+ dx157dh4345,KAART der REYZE van drie Schepen naar het ZUYDLAND in de Jaaren 1721 en 1722,true
7
+ dy396mt9665,a Map of the Middle Part of AMERICA,true
8
+ fh912bx9878,[Americas],true
9
+ gk446cj2442,[World map],true
10
+ gt736xf9712,HEMISPHERE OCCIDENTAL DU GLOBE TERRESTRE contenant L'AMERIQUE SEPTENT.LE et L'AMERIQUE M.LE et P.tie des TERRES ARCTIQUES et ANTARCTIQUES Subdivisées en leurs Regions.,true
11
+ gv664gb7394,SITVS TERRÆ CIRCVLIS COELESTIBVS CIRCVNDATÆ.,true
12
+ gw298sq0504,"PLANISPHÆRIVM BRAHEVM, Sive Structura MVNDI TOTIVS, EX HYPOTHESI TYCHONIS BRAHEI IN PLANO DELINEATA. [Amstelodami : Apud Joannem Janssonium, 1660].",true
13
+ jp266yb7109,AMERICA,false
14
+ jr961xz9944,AMERICA SEPTENTRIONALIS,true
15
+ jy409qg0248,Novissima et Accuratissima TOTIUS AMERICÆ DESCRIPTIO.,true
16
+ kw406zk5778,[America],true
17
+ kw703rh2327,"Mappe-monde pour connoitre les progŕes & les conquestes les plus remarquables des Provinces-Vnies, ainsy que celles des Compagnies d'Orient et d'Occident et les païs quelles possédent dans l'un et dans l'autre hemisphere and Atlas historique, ou, nouvelle introduction à l’histoire, à la chronologie & à la géographie ancienne & moderne",true
18
+ mw236cd6430,"AMERIQUE SEPTENTRIONALE divisée en ses principales parties, ou sont distingués les vns des autres LES ESTATS suivant qu'ils appartiennent presentemet aux FRANÇOIS, CASTILLANS, ANGLOIS, SUEDOIS, DANOIS, HOLLANDOIS. Tirée des Relations de toutes ces Nations Par le Sr. Sanson, Geographe Ordinaire du Roy",true
19
+ np731wc7689,L'AMERIQUE | Suivant les dernieres | Observations de l'Acade= | mie Royale des Sciences Seventh of 18 States,true
20
+ nq874ts4848,"Introduction a la Geographie Avec une Description Historique Sur Touttes les parties de la Terre
21
+ Title page",true
22
+ nr766vt0518,GEOGRAPHISCHE UNIVERSAL - ZEIG UND SCHLAG-UHR : WEERELD-BEELDIGH WYS EN SLAG WERK,true
23
+ nz081wv9348,AMERIQUE SEPTENTRIONALE Par N. Sanson Geographe Ord.re du Roy. Reveue et changée en plusieurs endroits suivant les Memoires les plus recents augmentée et corrigée en cette seconde edition,true
24
+ pm812zf5263,AMERICÆ,true
25
+ ps921pn8250,PLANISPHERE URANO-GEOGRAPHIQUE c'estadire LES SPHERES CELESTE et TERRESTRE mises en plan.,false
26
+ pt603pv6417,"A Map of the WORLD with the Ships DUKE & DUTCHESS Tract Round it, from 1708 to 1711. Second of 2 States",true
27
+ qb677kc3995,L'AMERIQVE autrement Le NOVVEAV MONDE et INDES OCCIDENTALES,true
28
+ qt469cf8909,"Pascaart vertoonende de Zeecusten van Chili, Peru, Hispania, Nova, Nova Granada, en California.",true
29
+ rc221bv1386,[Armenian map of the world],true
30
+ rj993fh5469,"A New Map of the World Shewing the Course of Sr. Francis Drake, William Shouten and Capt. William Dampiers Voyages Round it.",true
31
+ rx614sw9194,AMERICÆ nova discriptio.,true
32
+ rz043dh7915,MAR DEL ZUR HISPANIS MARE PACIFICUM.,true
33
+ rz818vx8201,'t Noorder deel van WEST-INDIEN,true
34
+ sb904gg2771,Planisphaerium terrestre cum utroque coelesti hemisphaerio ... = Vlakke ared-kloot met het beide hemelsch half-rond,true
35
+ sd345mz1879,A MAP of AMERICA from the latest and best Observations,true
36
+ sn161bw2027,"Pas-caart van Zuyd-Zee, tusschen California en ilhas de Ladrones and La Atlas del mundo o el mundo aguado",true
37
+ sn343fc0807,AMERICQVE SEPTENTRIONALE,true
38
+ sp821gh4463,[World],true
39
+ sw106rc9347,AMERIQUE SEPTENTRIONALE,true
40
+ sx619yv5558,"Recentissima NOVI ORBIS, Sive AMERICÆ SEPTENTRIONALIS et MERIDIONALIS TABULA",true
41
+ tg729zw9405,NOVA TOTIVS AMERICÆ DESCRIPTIO.,true
42
+ vb000vb1451,AMERICA,true
43
+ vw323gf4937,AMERICA with those known parts in that unknowne worlde both people and manner of buildings Discribed and inlarged by I.S.Ano.1626,false
44
+ vy180gj7659,L'AMERIQUE Suivant les dernieres observations de l'Acad. Royale des Sciences.,true
45
+ wb806ct0449,A Generall Chart of the | SOUTH SEA | from the River of Plate to | Dampiers Streights on ye Coast | of NEW GUINEA,true
46
+ wt855xd4818,CONTINENT ARCTIQVE,true
47
+ xd327cm9378,"Mapa mundi, con los meridianos, y paralelos, iguales como los del globo tere- y arreglado a las mejores, y ultimas relaciones",true
48
+ yh941cp6284,Orbis terrarum tabula recens emendata et in lucem edita,true
49
+ ym733yc1437,"[Maps of the world] and A new and universal dictionary of arts and sciences: ... With an introductory preface, ... And illustrated with a great number of copper-plates, engraven by the best hands",true
50
+ yn959jw9550,A New Map of North AMERICA According to the Newest Observations.,true
51
+ ys360dp2191,TYPUS SELENOGRAPHICUS LUNÆ PHASES ET ASPECTUS VARIOS ADUMBRANS.,true
52
+ zn001wm6450,L'AMERIQVE autrement Le NOVVEAV MONDE et INDES OCCIDENTALES,true
53
+ zn845sh3664,PLANISPHERE REPRESENTANT TOUTE L'ETENDUE DU MONDE. DANS L'ORDRE QU'ON A SUIVI DANS CE LIVRE. NB. LES CHIFFRES SE RAPORTENT AUX CARTES ET AUX PAGES DES DESCRIPTIONS.,true
54
+ zq083qg2931,[Pacific Ocean],true
55
+ zr014mj0786,A New and Exact Map of ASIA According to the Best Observations,true
56
+ zs247rr8237,"AMERIQUE SEPTENTRIONALE divisée en ses principales parties, ou sont distingués les vns des autres LES ESTATS suivant qu'ils appartiennent presentemet aux FRANÇOIS, CASTILLANS, ANGLOIS, SUEDOIS, DANOIS, HOLLANDOIS. Tirée des Relations de toutes ces Nations Par le Sr. Sanson, Geographe Ordinaire du Roy",true
57
+ zv316zr9542,AMERIQUE SEPTENTRIONALE,false
@@ -0,0 +1,4 @@
1
+ url,full_title_tesim,spotlight_upload_description_tesim,spotlight_upload_attribution_tesim,spotlight_upload_date_tesim
2
+ http://lorempixel.com/800/500/,A random image,A random 800 by 500 image from lorempixel,lorempixel.com,2015
3
+ http://lorempixel.com/900/600/,Another random image,A random 900 by 600 image from lorempixel,lorempixel.com,2014
4
+ http://lorempixel.com/900/600/,Yet another random image to test UTF8 text,A random 900 by 600 image from lorempixel and some UTF8: Hüsker Dü,lorempixel.com,2016
@@ -0,0 +1,58 @@
1
+
2
+ {
3
+ "@context":"http://iiif.io/api/presentation/2/context.json",
4
+ "@id":"https://purl.stanford.edu/gk446cj2442/iiif/manifest",
5
+ "@type":"sc:Manifest",
6
+ "label":"[World map",
7
+ "attribution":"This work has been identified as being free of known restrictions under copyright law, including all related and neighboring rights. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.",
8
+ "seeAlso":{
9
+ "@id":"https://purl.stanford.edu/gk446cj2442.mods",
10
+ "format":"application/mods+xml"
11
+ },
12
+ "thumbnail":{
13
+ "@id":"https://stacks.stanford.edu/image/iiif/gk446cj2442%2Fgk446cj2442_05_0001/full/!400,400/0/default.jpg",
14
+ "@type":"dctypes:Image",
15
+ "format":"image/jpeg",
16
+ "service":{
17
+ "@context":"http://iiif.io/api/image/2/context.json",
18
+ "@id":"https://stacks.stanford.edu/image/iiif/gk446cj2442%2Fgk446cj2442_05_0001",
19
+ "profile":"http://iiif.io/api/image/2/level1.json"
20
+ }
21
+ },
22
+ "sequences":[
23
+ {
24
+ "@id":"https://purl.stanford.edu/gk446cj2442#sequence-1",
25
+ "@type":"sc:Sequence",
26
+ "label":"Current order",
27
+ "canvases":[
28
+ {
29
+ "@id":"https://purl.stanford.edu/gk446cj2442/iiif/canvas/gk446cj2442_1",
30
+ "@type":"sc:Canvas",
31
+ "label":"mclaughlin_gk446cj2442",
32
+ "height":3943,
33
+ "width":4956,
34
+ "images":[
35
+ {
36
+ "@id":"https://purl.stanford.edu/gk446cj2442/iiif/annotation/gk446cj2442_1",
37
+ "@type":"oa:Annotation",
38
+ "motivation":"sc:painting",
39
+ "resource":{
40
+ "@id":"https://stacks.stanford.edu/image/iiif/gk446cj2442%2Fgk446cj2442_05_0001/full/full/0/default.jpg",
41
+ "@type":"dctypes:Image",
42
+ "format":"image/jpeg",
43
+ "height":3943,
44
+ "width":4956,
45
+ "service":{
46
+ "@context":"http://iiif.io/api/image/2/context.json",
47
+ "@id":"https://stacks.stanford.edu/image/iiif/gk446cj2442%2Fgk446cj2442_05_0001",
48
+ "profile":"http://iiif.io/api/image/2/level1.json"
49
+ }
50
+ },
51
+ "on":"https://purl.stanford.edu/gk446cj2442/iiif/canvas/gk446cj2442_1"
52
+ }
53
+ ]
54
+ }
55
+ ]
56
+ }
57
+ ]
58
+ }
@@ -0,0 +1,312 @@
1
+ # frozen_string_literal: true
2
+
3
+ module IiifResponses
4
+ def complex_collection
5
+ {
6
+ "@id": 'uri://for-top-level-collection',
7
+ "@type": 'sc:Collection',
8
+ label: 'Complex Collection',
9
+ collections: [
10
+ {
11
+ "@id": 'uri://for-child-collection1',
12
+ "@type": 'sc:Collection',
13
+ label: 'Child Collection 1'
14
+ },
15
+ {
16
+ "@id": 'uri://for-child-collection2',
17
+ "@type": 'sc:Collection',
18
+ label: 'Child Collection 2'
19
+ }
20
+ ],
21
+ manifests: [
22
+ {
23
+ "@id": 'uri://for-manifest1',
24
+ "@type": 'sc:Manifest',
25
+ label: 'Test Manifest 1'
26
+ }
27
+ ]
28
+ }.to_json
29
+ end
30
+
31
+ def child_collection1
32
+ {
33
+ "@id": 'uri://for-child-collection1',
34
+ "@type": 'sc:Collection',
35
+ label: 'Child Collection 1',
36
+ collections: [
37
+ {
38
+ "@id": 'uri://for-child-collection3',
39
+ "@type": 'sc:Collection',
40
+ label: 'Child Collection 3'
41
+ }
42
+ ],
43
+ manifests: [
44
+ {
45
+ "@id": 'uri://for-manifest2',
46
+ "@type": 'sc:Manifest',
47
+ label: 'Test Manifest 2'
48
+ }
49
+ ]
50
+ }.to_json
51
+ end
52
+
53
+ def child_collection2
54
+ {
55
+ "@id": 'uri://for-child-collection2',
56
+ "@type": 'sc:Collection',
57
+ label: 'Child Collection 2',
58
+ manifests: [
59
+ {
60
+ "@id": 'uri://for-manifest4',
61
+ "@type": 'sc:Manifest',
62
+ label: 'Test Manifest 4'
63
+ }
64
+ ]
65
+ }.to_json
66
+ end
67
+
68
+ def child_collection3
69
+ {
70
+ "@id": 'uri://for-child-collection3',
71
+ "@type": 'sc:Collection',
72
+ label: 'Child Collection 3',
73
+ manifests: [
74
+ {
75
+ "@id": 'uri://for-manifest3',
76
+ "@type": 'sc:Manifest',
77
+ label: 'Test Manifest 3'
78
+ }
79
+ ]
80
+ }.to_json
81
+ end
82
+
83
+ def test_manifest1
84
+ {
85
+ "@id": 'uri://for-manifest1',
86
+ "@type": 'sc:Manifest',
87
+ label: 'Test Manifest 1',
88
+ attribution: 'Attribution Data',
89
+ description: 'A test IIIF manifest',
90
+ license: 'http://www.example.org/license.html',
91
+ metadata: [
92
+ {
93
+ label: 'Author',
94
+ value: 'John Doe'
95
+ },
96
+ {
97
+ label: 'Author',
98
+ value: 'Jane Doe'
99
+ },
100
+ {
101
+ label: 'Another Field',
102
+ value: 'Some data'
103
+ }
104
+ ],
105
+ thumbnail: {
106
+ "@id": 'uri://to-thumbnail'
107
+ },
108
+ sequences: [
109
+ {
110
+ "@type": 'sc:Sequence',
111
+ canvases: [
112
+ {
113
+ "@type": 'sc:Canvas',
114
+ images: [
115
+ {
116
+ "@type": 'oa:Annotation',
117
+ resource: {
118
+ "@type": 'dcterms:Image',
119
+ "@id": 'uri://full-image',
120
+ service: {
121
+ "@id": 'uri://to-image-service'
122
+ }
123
+ }
124
+ }
125
+ ]
126
+ }
127
+ ]
128
+ }
129
+ ]
130
+ }.to_json
131
+ end
132
+
133
+ def test_manifest2
134
+ {
135
+ "@id": 'uri://for-manifest2',
136
+ "@type": 'sc:Manifest',
137
+ label: {
138
+ "@value": 'Test Manifest 2',
139
+ "@language": 'en'
140
+ },
141
+ attribution: 'Attribution Data',
142
+ description: 'A test IIIF manifest',
143
+ license: 'http://www.example.org/license.html',
144
+ metadata: [
145
+ {
146
+ label: 'Contributor',
147
+ value: 'John Doe'
148
+ },
149
+ {
150
+ label: 'Yet Another Field',
151
+ value: 'Some data'
152
+ }
153
+ ],
154
+ thumbnail: {
155
+ "@id": 'uri://to-thumbnail'
156
+ },
157
+ sequences: [
158
+ {
159
+ "@type": 'sc:Sequence',
160
+ canvases: [
161
+ {
162
+ "@type": 'sc:Canvas',
163
+ images: [
164
+ {
165
+ "@type": 'oa:Annotation',
166
+ resource: {
167
+ "@type": 'dcterms:Image',
168
+ service: {
169
+ "@id": 'uri://to-image-service'
170
+ }
171
+ }
172
+ },
173
+ {
174
+ "@type": 'oa:Annotation',
175
+ resource: {
176
+ "@type": 'dcterms:Image',
177
+ service: {
178
+ "@id": 'uri://to-image-service2'
179
+ }
180
+ }
181
+ }
182
+ ]
183
+ }
184
+ ]
185
+ }
186
+ ]
187
+ }.to_json
188
+ end
189
+
190
+ def test_manifest3
191
+ {
192
+ "@id": 'uri://for-manifest3',
193
+ "@type": 'sc:Manifest',
194
+ label: [
195
+ {
196
+ "@value": 'Test Manifest 3',
197
+ "@language": 'en'
198
+ },
199
+ {
200
+ "@value": "Manifeste d'essai 3",
201
+ "@language": 'fr'
202
+ }
203
+ ],
204
+ attribution: 'Attribution Data',
205
+ description: 'A test IIIF manifest',
206
+ license: 'http://www.example.org/license.html',
207
+ metadata: [
208
+ {
209
+ label: 'Author',
210
+ value: 'Jane Doe'
211
+ },
212
+ {
213
+ label: 'Collection',
214
+ value: 'Some Collection'
215
+ }
216
+ ],
217
+ thumbnail: {
218
+ "@id": 'uri://to-thumbnail'
219
+ },
220
+ sequences: [
221
+ {
222
+ "@type": 'sc:Sequence',
223
+ canvases: [
224
+ {
225
+ "@type": 'sc:Canvas',
226
+ images: [
227
+ {
228
+ "@type": 'oa:Annotation',
229
+ resource: {
230
+ "@type": 'dcterms:Image',
231
+ service: {
232
+ "@id": 'uri://to-image-service'
233
+ }
234
+ }
235
+ }
236
+ ]
237
+ }
238
+ ]
239
+ }
240
+ ]
241
+ }.to_json
242
+ end
243
+
244
+ def test_manifest4
245
+ {
246
+ "@id": 'uri://for-manifest4',
247
+ "@type": 'sc:Manifest',
248
+ label: 'Test Manifest 4',
249
+ attribution: 'Attribution Data',
250
+ description: 'A test IIIF manifest',
251
+ license: 'http://www.example.org/license.html',
252
+ metadata: [
253
+ {
254
+ label: 'Contributor',
255
+ value: 'Jane Doe'
256
+ },
257
+ {
258
+ label: 'Location',
259
+ value: 'Some location'
260
+ }
261
+ ],
262
+ thumbnail: {
263
+ "@id": 'uri://to-thumbnail'
264
+ },
265
+ sequences: [
266
+ {
267
+ "@type": 'sc:Sequence',
268
+ canvases: [
269
+ {
270
+ "@type": 'sc:Canvas',
271
+ images: [
272
+ {
273
+ "@type": 'oa:Annotation',
274
+ resource: {
275
+ "@type": 'dcterms:Image',
276
+ service: {
277
+ "@id": 'uri://to-image-service'
278
+ }
279
+ }
280
+ }
281
+ ]
282
+ }
283
+ ]
284
+ }
285
+ ]
286
+ }.to_json
287
+ end
288
+
289
+ # inspired by https://api.digitale-sammlungen.de/iiif/presentation/v2/bsb00017921/manifest
290
+ def test_multilingual_manifest_like_bsb
291
+ { '@context' => 'http://iiif.io/api/presentation/2/context.json',
292
+ '@type' => 'sc:Manifest',
293
+ '@id' => 'https://api.digitale-sammlungen.de/iiif/presentation/v2/bsb00017921/manifest',
294
+ 'label' => 'Murasaki Shikibu: Genji monogatari - BSB Cod.jap. 18(53',
295
+ 'metadata' => [
296
+ { 'label' =>
297
+ [{ '@language' => 'de', '@value' => 'Verfasser' },
298
+ { '@language' => 'zh', '@value' => '作者' },
299
+ { '@language' => 'en', '@value' => 'Author' }],
300
+ 'value' =>
301
+ "<span>Murasaki Shikibu -- (GND: <a href='http://d-nb.info/gnd/118985655/'>118985655</a>)</span>" },
302
+ { 'label' =>
303
+ [{ '@language' => 'de', '@value' => 'Sprache' },
304
+ { '@language' => 'zh', '@value' => '語言' },
305
+ { '@language' => 'en', '@value' => 'Language' }],
306
+ 'value' =>
307
+ [{ '@language' => 'de', '@value' => 'Japanisch' },
308
+ { '@language' => 'zh', '@value' => '日语' },
309
+ { '@language' => 'en', '@value' => 'Japanese' }] }
310
+ ] }.to_json
311
+ end
312
+ end
@@ -0,0 +1,3 @@
1
+ {
2
+ "a": 1
3
+ }