blacklight-gallery 2.1.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +45 -0
- data/app/assets/javascripts/blacklight_gallery/default.js +0 -1
- data/app/assets/javascripts/blacklight_gallery/masonry.js +1 -1
- data/app/assets/javascripts/blacklight_gallery/osd_viewer.js +1 -1
- data/app/assets/javascripts/blacklight_gallery/slideshow.js +1 -2
- data/app/assets/stylesheets/blacklight_gallery/_gallery.scss +8 -3
- data/app/assets/stylesheets/blacklight_gallery/_masonry.scss +55 -24
- data/app/assets/stylesheets/blacklight_gallery/_slideshow.scss +5 -3
- data/app/components/blacklight/gallery/document_component.html.erb +20 -0
- data/app/components/blacklight/gallery/document_component.rb +11 -0
- data/app/components/blacklight/gallery/slideshow_component.html.erb +12 -0
- data/app/components/blacklight/gallery/slideshow_component.rb +40 -0
- data/app/components/blacklight/gallery/slideshow_preview_component.html.erb +5 -0
- data/app/components/blacklight/gallery/slideshow_preview_component.rb +28 -0
- data/app/helpers/blacklight/gallery_helper.rb +0 -38
- data/app/models/concerns/blacklight/gallery/openseadragon_solr_document.rb +1 -1
- data/app/views/catalog/_document_gallery.html.erb +4 -3
- data/app/views/catalog/_document_masonry.html.erb +2 -3
- data/app/views/catalog/_document_slideshow.html.erb +26 -5
- data/app/views/catalog/_slideshow_modal.html.erb +2 -3
- data/blacklight-gallery.gemspec +3 -3
- data/lib/blacklight/gallery/engine.rb +0 -1
- data/lib/blacklight/gallery/version.rb +1 -1
- data/lib/generators/blacklight_gallery/install_generator.rb +9 -3
- data/lib/generators/blacklight_gallery/templates/blacklight_gallery.js +2 -1
- data/spec/components/blacklight/gallery/document_component_spec.rb +46 -0
- data/spec/components/blacklight/gallery/slideshow_component_spec.rb +67 -0
- data/spec/features/gallery_spec.rb +3 -4
- data/spec/features/masonry_spec.rb +2 -3
- data/spec/features/slideshow_spec.rb +0 -2
- data/spec/models/concerns/openseadragon_solr_document_spec.rb +1 -1
- data/spec/spec_helper.rb +4 -11
- data/spec/views/catalog/_document_slideshow.html.erb_spec.rb +15 -5
- metadata +35 -37
- data/.travis.yml +0 -38
- data/app/views/catalog/_grid_slideshow.html.erb +0 -11
- data/app/views/catalog/_index_gallery.html.erb +0 -14
- data/app/views/catalog/_index_masonry.html.erb +0 -8
- data/app/views/catalog/_index_masonry_default.html.erb +0 -1
- data/app/views/catalog/_index_slideshow.html.erb +0 -11
- data/app/views/catalog/_slideshow.html.erb +0 -23
- data/spec/helpers/blacklight/gallery_helper_spec.rb +0 -110
- data/spec/views/catalog/_index_gallery.html.erb_spec.rb +0 -22
- data/spec/views/catalog/_index_masonry.html.erb_spec.rb +0 -34
@@ -3,9 +3,8 @@
|
|
3
3
|
<div class="modal-dialog modal-xl">
|
4
4
|
<div class="modal-content">
|
5
5
|
<div class="modal-header">
|
6
|
-
<button type="button" class="close" data-dismiss="modal" aria-
|
7
|
-
<span
|
8
|
-
<span aria-hidden="true">×</span>
|
6
|
+
<button type="button" class="blacklight-modal-close close" data-dismiss="modal" aria-label="<%= t('blacklight.modal.close') %>">
|
7
|
+
<span aria-hidden="true">×</span>
|
9
8
|
</button>
|
10
9
|
</div>
|
11
10
|
<div class="modal-body">
|
data/blacklight-gallery.gemspec
CHANGED
@@ -18,9 +18,8 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
20
|
spec.add_dependency "rails", '>= 5.1', '< 7'
|
21
|
-
spec.add_dependency 'blacklight', '~> 7.
|
21
|
+
spec.add_dependency 'blacklight', '~> 7.12'
|
22
22
|
spec.add_dependency "bootstrap", "~> 4.0"
|
23
|
-
spec.add_dependency "openseadragon", ">= 0.2.0"
|
24
23
|
|
25
24
|
spec.add_development_dependency "rake"
|
26
25
|
spec.add_development_dependency 'sqlite3'
|
@@ -31,6 +30,7 @@ Gem::Specification.new do |spec|
|
|
31
30
|
spec.add_development_dependency "solr_wrapper"
|
32
31
|
spec.add_development_dependency "engine_cart", "~> 2.0"
|
33
32
|
spec.add_development_dependency "capybara"
|
34
|
-
spec.add_development_dependency '
|
33
|
+
spec.add_development_dependency 'webdrivers'
|
34
|
+
spec.add_development_dependency 'rexml' # pending https://github.com/SeleniumHQ/selenium/issues/9001
|
35
35
|
spec.add_development_dependency "selenium-webdriver", '>= 3.13.1'
|
36
36
|
end
|
@@ -8,14 +8,18 @@ module BlacklightGallery
|
|
8
8
|
def assets
|
9
9
|
copy_file "blacklight_gallery.css.scss", "app/assets/stylesheets/blacklight_gallery.css.scss"
|
10
10
|
copy_file "blacklight_gallery.js", "app/assets/javascripts/blacklight_gallery.js"
|
11
|
+
|
12
|
+
insert_into_file "app/assets/javascripts/application.js", after: '//= require blacklight/blacklight' do
|
13
|
+
"\n//= require blacklight_gallery"
|
14
|
+
end
|
11
15
|
end
|
12
16
|
|
13
17
|
def configuration
|
14
18
|
inject_into_file 'app/controllers/catalog_controller.rb', after: "configure_blacklight do |config|" do
|
15
|
-
"\n config.view.gallery.
|
19
|
+
"\n config.view.gallery.document_component = Blacklight::Gallery::DocumentComponent" \
|
16
20
|
"\n # config.view.gallery.classes = 'row-cols-2 row-cols-md-3'" \
|
17
|
-
"\n config.view.masonry.
|
18
|
-
"\n config.view.slideshow.
|
21
|
+
"\n config.view.masonry.document_component = Blacklight::Gallery::DocumentComponent" \
|
22
|
+
"\n config.view.slideshow.document_component = Blacklight::Gallery::SlideshowComponent" \
|
19
23
|
"\n config.show.tile_source_field = :content_metadata_image_iiif_info_ssm" \
|
20
24
|
"\n config.show.partials.insert(1, :openseadragon)"
|
21
25
|
end
|
@@ -28,6 +32,8 @@ module BlacklightGallery
|
|
28
32
|
end
|
29
33
|
|
30
34
|
def add_openseadragon
|
35
|
+
gem "openseadragon", ">= 0.2.0"
|
36
|
+
Bundler.with_clean_env { run 'bundle install' }
|
31
37
|
generate 'openseadragon:install'
|
32
38
|
end
|
33
39
|
end
|
@@ -1 +1,2 @@
|
|
1
|
-
//= require blacklight_gallery/default
|
1
|
+
//= require blacklight_gallery/default
|
2
|
+
//= require blacklight_gallery/osd_viewer
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe Blacklight::Gallery::DocumentComponent, type: :component do
|
6
|
+
subject(:component) { described_class.new(document: document, **attr) }
|
7
|
+
|
8
|
+
let(:attr) { {} }
|
9
|
+
let(:view_context) { controller.view_context }
|
10
|
+
let(:render) do
|
11
|
+
component.render_in(view_context)
|
12
|
+
end
|
13
|
+
|
14
|
+
let(:rendered) do
|
15
|
+
Capybara::Node::Simple.new(render)
|
16
|
+
end
|
17
|
+
|
18
|
+
let(:document) do
|
19
|
+
SolrDocument.new(
|
20
|
+
id: 'x',
|
21
|
+
thumbnail_path_ss: 'http://example.com/image.jpg',
|
22
|
+
title_tsim: 'This is my document title'
|
23
|
+
)
|
24
|
+
end
|
25
|
+
|
26
|
+
let(:blacklight_config) do
|
27
|
+
CatalogController.blacklight_config.deep_copy.tap do |config|
|
28
|
+
config.track_search_session = false
|
29
|
+
config.index.thumbnail_field = 'thumbnail_path_ss'
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
before do
|
34
|
+
allow(controller).to receive(:blacklight_config).and_return(blacklight_config)
|
35
|
+
allow(view_context).to receive(:current_search_session).and_return(nil)
|
36
|
+
allow(view_context).to receive(:search_session).and_return({})
|
37
|
+
|
38
|
+
# dumb hack to get our stubbing into the thumbnail component
|
39
|
+
allow(controller).to receive(:view_context).and_return(view_context)
|
40
|
+
end
|
41
|
+
|
42
|
+
it 'has a thumbnail and caption' do
|
43
|
+
expect(rendered).to have_selector '.document-thumbnail img'
|
44
|
+
expect(rendered).to have_selector '.caption', text: 'This is my document title'
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
RSpec.describe Blacklight::Gallery::SlideshowComponent, type: :component do
|
6
|
+
subject(:component) { described_class.new(document: document, **attr) }
|
7
|
+
|
8
|
+
let(:attr) { {} }
|
9
|
+
let(:view_context) { controller.view_context }
|
10
|
+
let(:render) do
|
11
|
+
component.render_in(view_context)
|
12
|
+
end
|
13
|
+
|
14
|
+
let(:rendered) do
|
15
|
+
Capybara::Node::Simple.new(render)
|
16
|
+
end
|
17
|
+
|
18
|
+
let(:blacklight_config) { Blacklight::Configuration.new }
|
19
|
+
|
20
|
+
before do
|
21
|
+
allow(view_context).to receive(:blacklight_config).and_return(blacklight_config)
|
22
|
+
end
|
23
|
+
|
24
|
+
describe '#slideshow_tag' do
|
25
|
+
subject { rendered }
|
26
|
+
|
27
|
+
let(:document) { SolrDocument.new({}) }
|
28
|
+
|
29
|
+
context 'with a slideshow method' do
|
30
|
+
let(:blacklight_config) { Blacklight::Configuration.new.tap { |config| config.index.slideshow_method = :xyz } }
|
31
|
+
|
32
|
+
it 'calls the provided slideshow method' do
|
33
|
+
expect(view_context).to receive_messages(xyz: 'some-slideshow')
|
34
|
+
expect(rendered).to have_text 'some-slideshow'
|
35
|
+
end
|
36
|
+
|
37
|
+
it 'does not render an image if the method returns nothing' do
|
38
|
+
expect(view_context).to receive_messages(xyz: nil)
|
39
|
+
expect(rendered).not_to have_selector 'img'
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
context 'with a field' do
|
44
|
+
let(:blacklight_config) { Blacklight::Configuration.new.tap { |config| config.index.slideshow_field = :xyz } }
|
45
|
+
let(:document) { SolrDocument.new({ xyz: 'http://example.com/some.jpg' }) }
|
46
|
+
|
47
|
+
it { is_expected.to have_selector 'img[src="http://example.com/some.jpg"]' }
|
48
|
+
|
49
|
+
context 'without data in the field' do
|
50
|
+
let(:document) { SolrDocument.new({}) }
|
51
|
+
|
52
|
+
it { is_expected.not_to have_selector 'img' }
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
context 'with nothing configured' do
|
57
|
+
it { is_expected.not_to have_selector 'img' }
|
58
|
+
end
|
59
|
+
|
60
|
+
context 'falling back to a thumbnail' do
|
61
|
+
let(:blacklight_config) { Blacklight::Configuration.new.tap { |config| config.index.thumbnail_field = :xyz } }
|
62
|
+
let(:document) { SolrDocument.new({ xyz: 'http://example.com/thumb.jpg' }) }
|
63
|
+
|
64
|
+
it { is_expected.to have_selector 'img[src="http://example.com/thumb.jpg"]' }
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -4,8 +4,7 @@ describe "Gallery view", :type => :feature do
|
|
4
4
|
before { visit search_catalog_path :q => 'medicine', :view => 'gallery' }
|
5
5
|
|
6
6
|
it "should display results in a galley view" do
|
7
|
-
expect(page).to have_selector("#documents.gallery")
|
8
|
-
expect(page).to have_selector(".
|
9
|
-
expect(page).to have_content("Strong Medicine speaks")
|
7
|
+
expect(page).to have_selector("#documents.documents-gallery")
|
8
|
+
expect(page).to have_selector(".caption", text: "Strong Medicine speaks")
|
10
9
|
end
|
11
|
-
end
|
10
|
+
end
|
@@ -4,8 +4,7 @@ describe "Masonry view", :type => :feature do
|
|
4
4
|
before { visit search_catalog_path :q => 'medicine', :view => 'masonry' }
|
5
5
|
|
6
6
|
it "should display results in a galley view" do
|
7
|
-
expect(page).to have_selector("#documents
|
8
|
-
expect(page).to have_selector(
|
9
|
-
expect(page).to have_selector('.masonry.document .caption', text: "Strong Medicine speaks", visible: false)
|
7
|
+
expect(page).to have_selector("#documents.documents-masonry")
|
8
|
+
expect(page).to have_selector('.document .caption', text: "Strong Medicine speaks", visible: false)
|
10
9
|
end
|
11
10
|
end
|
@@ -3,7 +3,6 @@ require 'spec_helper'
|
|
3
3
|
describe "Slideshow", :js, :type => :feature do
|
4
4
|
|
5
5
|
it "should open when one of the grid panes are clicked" do
|
6
|
-
pending 'flappy test'
|
7
6
|
visit search_catalog_path( :q => 'medicine', :view => 'slideshow' )
|
8
7
|
expect(page).to have_content "You searched for:"
|
9
8
|
within ".view-type" do
|
@@ -11,7 +10,6 @@ describe "Slideshow", :js, :type => :feature do
|
|
11
10
|
end
|
12
11
|
|
13
12
|
find('.grid [data-slide-to="0"]').click
|
14
|
-
expect(page).to have_selector '#slideshow', visible: true
|
15
13
|
end
|
16
14
|
|
17
15
|
end
|
@@ -13,7 +13,7 @@ describe Blacklight::Gallery::OpenseadragonSolrDocument do
|
|
13
13
|
|
14
14
|
context 'when not configured for the view' do
|
15
15
|
let(:fields) { { some_field: 'data' } }
|
16
|
-
let(:view_config) { double('ViewConfig') }
|
16
|
+
let(:view_config) { double('ViewConfig', tile_source_field: nil) }
|
17
17
|
it 'returns nil' do
|
18
18
|
expect(subject).to be_nil
|
19
19
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -9,19 +9,11 @@ require 'rspec/rails'
|
|
9
9
|
require 'rspec/active_model/mocks'
|
10
10
|
|
11
11
|
require 'selenium-webdriver'
|
12
|
-
require '
|
12
|
+
require 'webdrivers'
|
13
13
|
|
14
|
-
Capybara.javascript_driver = :headless_chrome
|
15
14
|
|
16
|
-
Capybara.
|
17
|
-
|
18
|
-
chromeOptions: { args: %w[headless disable-gpu no-sandbox] }
|
19
|
-
)
|
20
|
-
|
21
|
-
Capybara::Selenium::Driver.new(app,
|
22
|
-
browser: :chrome,
|
23
|
-
desired_capabilities: capabilities)
|
24
|
-
end
|
15
|
+
Capybara.javascript_driver = :selenium_chrome_headless
|
16
|
+
Capybara.disable_animation = true
|
25
17
|
|
26
18
|
require 'blacklight'
|
27
19
|
require 'blacklight/gallery'
|
@@ -29,5 +21,6 @@ require 'blacklight/gallery'
|
|
29
21
|
RSpec.configure do |c|
|
30
22
|
c.infer_spec_type_from_file_location!
|
31
23
|
c.full_backtrace = true
|
24
|
+
c.include ViewComponent::TestHelpers, type: :component
|
32
25
|
#onfig.assets.precompile += %w(spotlight/default_thumbnail.jpg spotlight/default_browse_thumbnail.jpg)
|
33
26
|
end
|
@@ -1,17 +1,27 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe "catalog/_document_slideshow.html.erb", :type => :view do
|
4
|
-
let(:blacklight_config)
|
4
|
+
let(:blacklight_config) do
|
5
|
+
Blacklight::Configuration.new do |config|
|
6
|
+
config.track_search_session = false
|
7
|
+
end
|
8
|
+
end
|
5
9
|
|
6
10
|
let(:document) { stub_model(::SolrDocument) }
|
7
11
|
|
8
12
|
before do
|
9
|
-
allow(view).to receive_messages(
|
10
|
-
|
11
|
-
|
13
|
+
allow(view).to receive_messages(
|
14
|
+
blacklight_config: blacklight_config,
|
15
|
+
documents: [document],
|
16
|
+
document_index_view_type: 'slideshow',
|
17
|
+
document_counter_with_offset: 1
|
18
|
+
)
|
19
|
+
allow(view).to receive(:current_search_session).and_return(nil)
|
20
|
+
allow(view).to receive(:search_session).and_return({})
|
21
|
+
allow(view).to receive(:search_state).and_return(Blacklight::SearchState.new({}, blacklight_config))
|
12
22
|
end
|
13
23
|
|
14
|
-
it
|
24
|
+
it 'has a modal' do
|
15
25
|
render
|
16
26
|
expect(rendered).to have_selector '#slideshow-modal'
|
17
27
|
expect(rendered).to have_selector '[data-slide="prev"]'
|
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
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '7.
|
39
|
+
version: '7.12'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '7.
|
46
|
+
version: '7.12'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bootstrap
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,20 +58,6 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '4.0'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: openseadragon
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - ">="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 0.2.0
|
68
|
-
type: :runtime
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 0.2.0
|
75
61
|
- !ruby/object:Gem::Dependency
|
76
62
|
name: rake
|
77
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,7 +185,21 @@ dependencies:
|
|
199
185
|
- !ruby/object:Gem::Version
|
200
186
|
version: '0'
|
201
187
|
- !ruby/object:Gem::Dependency
|
202
|
-
name:
|
188
|
+
name: webdrivers
|
189
|
+
requirement: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: rexml
|
203
203
|
requirement: !ruby/object:Gem::Requirement
|
204
204
|
requirements:
|
205
205
|
- - ">="
|
@@ -226,16 +226,16 @@ dependencies:
|
|
226
226
|
- - ">="
|
227
227
|
- !ruby/object:Gem::Version
|
228
228
|
version: 3.13.1
|
229
|
-
description:
|
229
|
+
description:
|
230
230
|
email:
|
231
231
|
- cabeer@stanford.edu
|
232
232
|
executables: []
|
233
233
|
extensions: []
|
234
234
|
extra_rdoc_files: []
|
235
235
|
files:
|
236
|
+
- ".github/workflows/ruby.yml"
|
236
237
|
- ".gitignore"
|
237
238
|
- ".solr_wrapper.yml"
|
238
|
-
- ".travis.yml"
|
239
239
|
- Gemfile
|
240
240
|
- LICENSE.txt
|
241
241
|
- README.md
|
@@ -260,19 +260,19 @@ files:
|
|
260
260
|
- app/assets/stylesheets/blacklight_gallery/_osd_viewer.scss
|
261
261
|
- app/assets/stylesheets/blacklight_gallery/_slideshow.scss
|
262
262
|
- app/assets/stylesheets/blacklight_gallery/default.scss
|
263
|
+
- app/components/blacklight/gallery/document_component.html.erb
|
264
|
+
- app/components/blacklight/gallery/document_component.rb
|
265
|
+
- app/components/blacklight/gallery/slideshow_component.html.erb
|
266
|
+
- app/components/blacklight/gallery/slideshow_component.rb
|
267
|
+
- app/components/blacklight/gallery/slideshow_preview_component.html.erb
|
268
|
+
- app/components/blacklight/gallery/slideshow_preview_component.rb
|
263
269
|
- app/helpers/blacklight/gallery_helper.rb
|
264
270
|
- app/helpers/blacklight/openseadragon_helper.rb
|
265
271
|
- app/models/concerns/blacklight/gallery/openseadragon_solr_document.rb
|
266
272
|
- app/views/catalog/_document_gallery.html.erb
|
267
273
|
- app/views/catalog/_document_masonry.html.erb
|
268
274
|
- app/views/catalog/_document_slideshow.html.erb
|
269
|
-
- app/views/catalog/_grid_slideshow.html.erb
|
270
|
-
- app/views/catalog/_index_gallery.html.erb
|
271
|
-
- app/views/catalog/_index_masonry.html.erb
|
272
|
-
- app/views/catalog/_index_masonry_default.html.erb
|
273
|
-
- app/views/catalog/_index_slideshow.html.erb
|
274
275
|
- app/views/catalog/_openseadragon_default.html.erb
|
275
|
-
- app/views/catalog/_slideshow.html.erb
|
276
276
|
- app/views/catalog/_slideshow_modal.html.erb
|
277
277
|
- blacklight-gallery.gemspec
|
278
278
|
- config/locales/blacklight-gallery.ar.yml
|
@@ -305,17 +305,16 @@ files:
|
|
305
305
|
- solr/conf/xslt/example_atom.xsl
|
306
306
|
- solr/conf/xslt/example_rss.xsl
|
307
307
|
- solr/conf/xslt/luke.xsl
|
308
|
+
- spec/components/blacklight/gallery/document_component_spec.rb
|
309
|
+
- spec/components/blacklight/gallery/slideshow_component_spec.rb
|
308
310
|
- spec/features/gallery_spec.rb
|
309
311
|
- spec/features/masonry_spec.rb
|
310
312
|
- spec/features/slideshow_spec.rb
|
311
|
-
- spec/helpers/blacklight/gallery_helper_spec.rb
|
312
313
|
- spec/models/concerns/openseadragon_solr_document_spec.rb
|
313
314
|
- spec/spec_helper.rb
|
314
315
|
- spec/test_app_templates/Gemfile.extra
|
315
316
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
316
317
|
- spec/views/catalog/_document_slideshow.html.erb_spec.rb
|
317
|
-
- spec/views/catalog/_index_gallery.html.erb_spec.rb
|
318
|
-
- spec/views/catalog/_index_masonry.html.erb_spec.rb
|
319
318
|
- spec/views/catalog/_openseadragon_default.html.erb_spec.rb
|
320
319
|
- vendor/assets/javascripts/imagesloaded.min.js
|
321
320
|
- vendor/assets/javascripts/masonry.min.js
|
@@ -323,7 +322,7 @@ homepage: https://github.com/projectblacklight/blacklight-gallery
|
|
323
322
|
licenses:
|
324
323
|
- Apache 2.0
|
325
324
|
metadata: {}
|
326
|
-
post_install_message:
|
325
|
+
post_install_message:
|
327
326
|
rdoc_options: []
|
328
327
|
require_paths:
|
329
328
|
- lib
|
@@ -338,20 +337,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
338
337
|
- !ruby/object:Gem::Version
|
339
338
|
version: '0'
|
340
339
|
requirements: []
|
341
|
-
rubygems_version: 3.
|
342
|
-
signing_key:
|
340
|
+
rubygems_version: 3.2.3
|
341
|
+
signing_key:
|
343
342
|
specification_version: 4
|
344
343
|
summary: Gallery display for Blacklight
|
345
344
|
test_files:
|
345
|
+
- spec/components/blacklight/gallery/document_component_spec.rb
|
346
|
+
- spec/components/blacklight/gallery/slideshow_component_spec.rb
|
346
347
|
- spec/features/gallery_spec.rb
|
347
348
|
- spec/features/masonry_spec.rb
|
348
349
|
- spec/features/slideshow_spec.rb
|
349
|
-
- spec/helpers/blacklight/gallery_helper_spec.rb
|
350
350
|
- spec/models/concerns/openseadragon_solr_document_spec.rb
|
351
351
|
- spec/spec_helper.rb
|
352
352
|
- spec/test_app_templates/Gemfile.extra
|
353
353
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
354
354
|
- spec/views/catalog/_document_slideshow.html.erb_spec.rb
|
355
|
-
- spec/views/catalog/_index_gallery.html.erb_spec.rb
|
356
|
-
- spec/views/catalog/_index_masonry.html.erb_spec.rb
|
357
355
|
- spec/views/catalog/_openseadragon_default.html.erb_spec.rb
|