blacklight-gallery 4.5.2 → 4.5.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c46cbfaa0f65a99bd5d524cfa3ffdee22fc2201131cb1471659c3579042f3ba
|
4
|
+
data.tar.gz: de111c6400454a933d1e9dc205510946c8ad3f3e9e2cb8abe3b809fd8d137b8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5678793a021fa604cec2d77c1f528f87c7bd31ed92db99569b925355de63e4f2d91ae6051e5e5c003fc84a81051223ae689a0ebcfc2f5b6aa328ab7b2d55704d
|
7
|
+
data.tar.gz: 8117ae1608137d5f52037e1d8d758ac0b85c6cf5de831cc82b9b15e8a3febbaf959aa6e57e6ef68aa8debb785e0ecfafdf2c27c2f113d9359c1bfb5bed933580
|
@@ -1,5 +1,6 @@
|
|
1
1
|
<%
|
2
|
-
|
2
|
+
view_config = local_assigns[:view_config] || blacklight_config&.view_config(document_index_view_type)
|
3
|
+
image = document.to_openseadragon(view_config)
|
3
4
|
id_prefix = osd_html_id_prefix
|
4
5
|
%>
|
5
6
|
<%
|
data/package.json
CHANGED
@@ -4,10 +4,18 @@ describe "catalog/openseadragon_default" do
|
|
4
4
|
let(:document) { SolrDocument.new }
|
5
5
|
let(:blacklight_config) { Blacklight::Configuration.new }
|
6
6
|
let(:p) { "catalog/openseadragon_default" }
|
7
|
+
let(:view_config) do
|
8
|
+
Blacklight::Configuration::ViewConfig.new(document_component: Blacklight::Gallery::OpenseadragonSolrDocument)
|
9
|
+
end
|
7
10
|
|
8
11
|
before do
|
9
|
-
allow(view).to receive_messages(blacklight_config: blacklight_config, openseadragon_picture_tag: "<img />")
|
10
12
|
allow(document).to receive_messages(to_openseadragon: [])
|
13
|
+
allow(view).to receive_messages(
|
14
|
+
blacklight_config: blacklight_config,
|
15
|
+
documents: [document],
|
16
|
+
document_index_view_type: 'embed',
|
17
|
+
openseadragon_picture_tag: '<img />'
|
18
|
+
)
|
11
19
|
end
|
12
20
|
|
13
21
|
it "should render the openseadragon container" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight-gallery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.5.
|
4
|
+
version: 4.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -319,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
319
319
|
- !ruby/object:Gem::Version
|
320
320
|
version: '0'
|
321
321
|
requirements: []
|
322
|
-
rubygems_version: 3.
|
322
|
+
rubygems_version: 3.5.10
|
323
323
|
signing_key:
|
324
324
|
specification_version: 4
|
325
325
|
summary: Gallery display for Blacklight
|