blacklight-hierarchy 6.3.0 → 6.4.0

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: b780d7ff6b7ed70d165c74da681cfb5f4d5212c2e7526d82fe7777f1b441776b
4
- data.tar.gz: 426ae299d6fb8c506e9620d5896326616a1d821dc5b51ab2a2f44421a4a85347
3
+ metadata.gz: 26cd69f479cdeed50d1d81525856bb1aaa30f4b308865b4560ec27623d331a6c
4
+ data.tar.gz: 1f8fadf9e59ac9dbcf4713bfa86084cb0ef19616bd2c4d1d0c5d400bbc34cdb0
5
5
  SHA512:
6
- metadata.gz: 938ae89b5c5de9a0ee0e6fd8dd2ad2dbf1f7b2443aef8dce648b20fc38ae2b5cba76d1bbf7fbf89bfc8d382a2ac029ff797ef08f08810d9ba6330d205559f828
7
- data.tar.gz: 230b2979506a765f719efee9193724b1bc13515e67839cefd2c55db064257a1a0380fcb13aaa8ef5e3a0d09c7fad537aaaaf94850344d375a0b6775425b566eb
6
+ metadata.gz: 2f7525164912a4e448138ee84f6e911ada7430d140ccce9525ab665bff85fed658e4552cb22d6c4a98c5f8a72aa18bf14e829482c75d1988143911ecc8b954dc
7
+ data.tar.gz: 9a799edaa82ababdd09a754d7d737d18005ff24c356a76d5ddbe9e6632935d9e7d8091522d683043f46c960ad18f56ae84ab15968c2e3e2c6e22091e5cf5d805
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
@@ -9,40 +9,44 @@ name: CI
9
9
 
10
10
  on:
11
11
  push:
12
- branches: [ main ]
12
+ branches: [main]
13
13
  pull_request:
14
- branches: [ main ]
14
+ branches: [main]
15
15
 
16
16
  jobs:
17
17
  test:
18
18
  runs-on: ubuntu-latest
19
19
  strategy:
20
20
  matrix:
21
- ruby: ['3.0', '3.1', '3.2', '3.3']
22
- rails_version: ['7.0.8']
23
- blacklight_version: ['7.35.0']
21
+ ruby: ["3.2", "3.3"]
22
+ rails_version: ["7.1.3.4", "7.2.0"]
23
+ blacklight_version: ["7.38.0"]
24
24
  include:
25
- - ruby: '2.7'
26
- rails_version: '6.1.7.6'
27
- - ruby: '3.2'
28
- rails_version: '7.0.8'
29
- name: 'Blacklight 8.1'
30
- blacklight_version: '8.1.0'
25
+ - ruby: "3.1"
26
+ rails_version: "6.1.7.8"
27
+ - ruby: "3.2"
28
+ rails_version: "7.0.8.4"
29
+ - ruby: "3.3"
30
+ rails_version: "7.1.3.4"
31
+ name: "Blacklight 8.3"
32
+ blacklight_version: "8.3.0"
31
33
  env:
32
34
  BLACKLIGHT_VERSION: ${{ matrix.blacklight_version }}
33
35
  steps:
34
- - uses: actions/checkout@v2
35
- - name: Set up Ruby
36
- uses: ruby/setup-ruby@v1
37
- with:
38
- ruby-version: ${{ matrix.ruby }}
39
- bundler: latest
40
- - name: Install dependencies
41
- run: bundle install
42
- env:
43
- RAILS_VERSION: ${{ matrix.rails_version }}
44
- - name: Run tests
45
- run: bundle exec rake ci
46
- env:
47
- RAILS_VERSION: ${{ matrix.rails_version }}
48
- ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test'
36
+ - uses: actions/checkout@v4
37
+ - name: Set up Ruby
38
+ uses: ruby/setup-ruby@v1
39
+ with:
40
+ ruby-version: ${{ matrix.ruby }}
41
+ bundler: latest
42
+ - name: Change permissions
43
+ run: "chmod -f -R o-w /opt/hostedtoolcache/Ruby/3.2.5/x64/lib/ruby/gems/3.2.0/gems | :"
44
+ - name: Install dependencies
45
+ run: bundle install
46
+ env:
47
+ RAILS_VERSION: ${{ matrix.rails_version }}
48
+ - name: Run tests
49
+ run: bundle exec rake ci
50
+ env:
51
+ RAILS_VERSION: ${{ matrix.rails_version }}
52
+ ENGINE_CART_RAILS_OPTIONS: "--skip-git --skip-listen --skip-spring --skip-keeps --skip-coffee --skip-test"
@@ -5,6 +5,10 @@ $b-h-opened-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg
5
5
 
6
6
  $text-muted: #777 !default;
7
7
 
8
+ :root {
9
+ --text-muted: #{$text-muted};
10
+ }
11
+
8
12
  .facet-hierarchy {
9
13
  list-style-type: none;
10
14
  padding-left: 0;
@@ -49,11 +53,11 @@ $text-muted: #777 !default;
49
53
  }
50
54
  }
51
55
 
52
- .twiddle>.toggle-handle {
56
+ .twiddle > .toggle-handle {
53
57
  background-color: transparent;
54
58
  }
55
59
 
56
- .twiddle>.toggle-handle .toggle-icon {
60
+ .twiddle > .toggle-handle .toggle-icon {
57
61
  background-position: center;
58
62
  background-repeat: no-repeat;
59
63
  margin-top: 0.25rem;
@@ -61,25 +65,26 @@ $text-muted: #777 !default;
61
65
  min-width: 1.1rem;
62
66
  }
63
67
 
64
- .twiddle>.toggle-handle .closed {
68
+ .twiddle > .toggle-handle .closed {
65
69
  background-image: escape-svg($b-h-closed-icon);
66
70
  display: inline-block;
67
71
  }
68
72
 
69
- .twiddle>.toggle-handle .opened {
73
+ .twiddle > .toggle-handle .opened {
70
74
  display: none;
71
75
  }
72
76
 
73
- .twiddle-open>.toggle-handle .closed {
77
+ .twiddle-open > .toggle-handle .closed {
74
78
  display: none;
75
79
  }
76
80
 
77
- .twiddle-open>.toggle-handle .opened {
81
+ .twiddle-open > .toggle-handle .opened {
78
82
  background-image: escape-svg($b-h-opened-icon);
79
83
  display: inline-block;
80
84
  }
81
85
 
82
- .h-node, .h-leaf {
86
+ .h-node,
87
+ .h-leaf {
83
88
  display: flex;
84
89
  flex-wrap: wrap;
85
90
  padding: 3px 0;
@@ -90,6 +95,6 @@ $text-muted: #777 !default;
90
95
  }
91
96
 
92
97
  .remove {
93
- color: $text-muted;
98
+ color: var(--text-muted);
94
99
  }
95
100
  }
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ['lib']
20
20
 
21
21
  s.add_dependency 'blacklight', '>= 7.18', '< 9'
22
- s.add_dependency 'rails', '>= 6.1', '< 7.2'
22
+ s.add_dependency 'rails', '>= 6.1', '< 7.3'
23
23
  s.add_dependency 'deprecation'
24
24
 
25
25
  s.add_development_dependency 'rsolr'
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module Hierarchy
3
- VERSION = '6.3.0'.freeze
3
+ VERSION = '6.4.0'.freeze
4
4
  end
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blacklight-hierarchy",
3
- "version": "6.3.0",
3
+ "version": "6.4.0",
4
4
  "description": "[![Build Status](https://github.com/sul-dlss/blacklight-hierarchy/workflows/CI/badge.svg)](https://github.com/sul-dlss/blacklight-hierarchy/actions?query=branch%3Amain)",
5
5
  "main": "app/assets/javascripts/blacklight/hierarchy/hierarchy.js",
6
6
  "files": [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-hierarchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.3.0
4
+ version: 6.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael B. Klein
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-07 00:00:00.000000000 Z
11
+ date: 2024-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blacklight
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '6.1'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '7.2'
42
+ version: '7.3'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '6.1'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '7.2'
52
+ version: '7.3'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: deprecation
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -141,6 +141,7 @@ executables: []
141
141
  extensions: []
142
142
  extra_rdoc_files: []
143
143
  files:
144
+ - ".github/dependabot.yml"
144
145
  - ".github/workflows/ruby.yml"
145
146
  - ".gitignore"
146
147
  - ".rspec"
@@ -200,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
201
  - !ruby/object:Gem::Version
201
202
  version: '0'
202
203
  requirements: []
203
- rubygems_version: 3.5.10
204
+ rubygems_version: 3.5.15
204
205
  signing_key:
205
206
  specification_version: 4
206
207
  summary: Hierarchical Facets for Blacklight