blacklight-gallery 4.6.1 → 4.6.2
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3847daebaccd26ec1cdb41d45b6120c1feee8844c8d862ecd46e695af06b2f69
|
4
|
+
data.tar.gz: 343c9d2a35ce8d194f06b3f81a29e6b5627a4cfe918cac69a02a08297a91e278
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ceefd576c46c97ad8950c4d1abea1e65419b28ae9a36d6837f788885baaa8ef669c09e8cd8567a85061a3afddeb0ee6203d2821f4b1ef902266c7ddacf86a5ab
|
7
|
+
data.tar.gz: 9dc569009e0306f22471efd83d641c767741cf5f01068f94c3b4c047f75265e9489dcaf449eb5b517dcc345310af81ec0a0b41ee99d9b3192f4cbd6fbe161d51
|
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
|
|
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.2
|
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
|