blacklight-gallery 4.6.1 → 4.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +11 -5
- data/app/assets/stylesheets/blacklight_gallery/_masonry.scss +11 -6
- data/blacklight-gallery.gemspec +1 -1
- data/lib/blacklight/gallery/version.rb +1 -1
- data/lib/generators/blacklight_gallery/install_generator.rb +4 -0
- data/package.json +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c2a17d179e85d3bb3e9b3395d271b970b852de5b7e82287d59a2913b636a7f0
|
4
|
+
data.tar.gz: 666ec748ea52759e501a98620caed6ed8b36c54ac35f67df3bcb5f6c42e03424
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f68bee4398bfa6823a08ad7e630666df376653d898b89f562ef7ad42ae603d05864e3c45148aed4c6ceb567cea8e54018e2f69d88821404a8695f9ea184754ed
|
7
|
+
data.tar.gz: b6e85234c15d6b81e2087ddfe96ce1ff0dc073188c0bb2b7bd6e8fdb88c3522be61181a28c590931efbb0abae0f84dba5ea623769b71852b7f04df033906d44f
|
data/.github/workflows/ruby.yml
CHANGED
@@ -14,7 +14,7 @@ jobs:
|
|
14
14
|
strategy:
|
15
15
|
matrix:
|
16
16
|
ruby: ["3.2", "3.3"]
|
17
|
-
rails_version: ["7.
|
17
|
+
rails_version: ["7.2.2"]
|
18
18
|
blacklight_version: ["~> 7.0"]
|
19
19
|
experimental: [false]
|
20
20
|
additional_engine_cart_rails_options: [""]
|
@@ -42,12 +42,18 @@ jobs:
|
|
42
42
|
experimental: false
|
43
43
|
view_component_version: "~> 2.83"
|
44
44
|
additional_name: "/ ViewComponent 2"
|
45
|
-
- ruby: "3.
|
46
|
-
rails_version: "
|
45
|
+
- ruby: "3.3"
|
46
|
+
rails_version: "8.0.0"
|
47
|
+
blacklight_version: "~> 8.0"
|
48
|
+
experimental: false
|
49
|
+
additional_engine_cart_rails_options: --css bootstrap
|
50
|
+
additional_name: "/ Blackight 8 / Rails 8"
|
51
|
+
- ruby: "3.3"
|
52
|
+
rails_version: "7.2.2"
|
47
53
|
blacklight_version: "github"
|
48
54
|
experimental: true
|
49
|
-
additional_engine_cart_rails_options: -a propshaft
|
50
|
-
additional_name: "/ Propshaft"
|
55
|
+
additional_engine_cart_rails_options: -a propshaft --css bootstrap
|
56
|
+
additional_name: "/ Blacklight main branch with Propshaft"
|
51
57
|
env:
|
52
58
|
RAILS_VERSION: ${{ matrix.rails_version }}
|
53
59
|
BLACKLIGHT_VERSION: ${{ matrix.blacklight_version }}
|
@@ -4,9 +4,14 @@
|
|
4
4
|
padding: 0;
|
5
5
|
margin: 0;
|
6
6
|
|
7
|
-
&:hover, &:focus {
|
7
|
+
&:hover, &:focus, &:focus-within {
|
8
8
|
.caption-area {
|
9
|
-
|
9
|
+
left: auto;
|
10
|
+
width: auto;
|
11
|
+
height: auto;
|
12
|
+
clip: unset;
|
13
|
+
max-height: 75%;
|
14
|
+
overflow-y: scroll;
|
10
15
|
}
|
11
16
|
}
|
12
17
|
|
@@ -34,14 +39,14 @@
|
|
34
39
|
}
|
35
40
|
@extend .bg-dark;
|
36
41
|
@extend .text-white;
|
37
|
-
display: none;
|
38
42
|
padding: 5px 7px;
|
39
43
|
background-color: rgba(0,0,0,0.5) !important;
|
40
44
|
position: absolute;
|
41
45
|
bottom: 0;
|
42
|
-
|
43
|
-
|
44
|
-
|
46
|
+
width: 1px;
|
47
|
+
height: 1px;
|
48
|
+
overflow: hidden;
|
49
|
+
clip: rect(0, 0, 0, 0);
|
45
50
|
}
|
46
51
|
|
47
52
|
.document-counter {
|
data/blacklight-gallery.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
18
|
spec.require_paths = ["lib"]
|
19
19
|
|
20
|
-
spec.add_dependency "rails", '>= 6.1', '<
|
20
|
+
spec.add_dependency "rails", '>= 6.1', '< 9'
|
21
21
|
spec.add_dependency 'blacklight', '>= 7.17', '< 9'
|
22
22
|
|
23
23
|
spec.add_development_dependency "rake"
|
@@ -11,6 +11,7 @@ module BlacklightGallery
|
|
11
11
|
"\n config.view.masonry(document_component: Blacklight::Gallery::DocumentComponent, icon: Blacklight::Gallery::Icons::MasonryComponent)" \
|
12
12
|
"\n config.view.slideshow(document_component: Blacklight::Gallery::SlideshowComponent, icon: Blacklight::Gallery::Icons::SlideshowComponent)" \
|
13
13
|
"\n config.show.tile_source_field = :content_metadata_image_iiif_info_ssm" \
|
14
|
+
"\n config.show.partials ||= []" \
|
14
15
|
"\n config.show.partials.insert(1, :openseadragon)"
|
15
16
|
end
|
16
17
|
end
|
@@ -29,6 +30,9 @@ module BlacklightGallery
|
|
29
30
|
|
30
31
|
def assets
|
31
32
|
copy_file "blacklight_gallery.css.scss", "app/assets/stylesheets/blacklight_gallery.css.scss"
|
33
|
+
|
34
|
+
return unless defined?(Sprockets)
|
35
|
+
|
32
36
|
append_to_file 'app/assets/config/manifest.js', "\n//= link blacklight_gallery/manifest.js\n"
|
33
37
|
copy_file "blacklight_gallery.js", "app/assets/javascripts/blacklight_gallery.js"
|
34
38
|
|
data/package.json
CHANGED
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.6.
|
4
|
+
version: 4.6.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-10
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '6.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '9'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '6.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '9'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: blacklight
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -323,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
323
323
|
- !ruby/object:Gem::Version
|
324
324
|
version: '0'
|
325
325
|
requirements: []
|
326
|
-
rubygems_version: 3.
|
326
|
+
rubygems_version: 3.4.19
|
327
327
|
signing_key:
|
328
328
|
specification_version: 4
|
329
329
|
summary: Gallery display for Blacklight
|