blacklight-hierarchy 6.1.2 → 6.2.0
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 +3 -3
- data/README.md +1 -1
- data/app/components/blacklight/hierarchy/facet_field_list_component.html.erb +2 -2
- data/blacklight-hierarchy.gemspec +1 -2
- data/lib/blacklight/hierarchy/version.rb +1 -1
- data/spec/spec_helper.rb +0 -3
- metadata +5 -20
- data/.coveralls.yml +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19d9647fbf9ad96d9e2393362f1553ff6accd24156fcc06a76aea01cbb1ae8df
|
4
|
+
data.tar.gz: 5219ce65c4250bdbc2fbff57434e197899ec8842d26f1369d0646b4e7b1c4b83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ae262fa9a73da5a457cd560863cb779be546914023ab3bf81b5949aabd85f6a4e51ea106952e27bea2800e2daac206810262fbae1391251e0531636094847bb
|
7
|
+
data.tar.gz: bb2e7b24e793865faf4e08220ebb9df34aaa0f0449198b2c8b0c43a46bae8d2d50327fe2f462ebc78d1d48aea6fbde7654439728729d6660a1f3f7cfc78c7ef8
|
data/.github/workflows/ruby.yml
CHANGED
@@ -19,13 +19,13 @@ jobs:
|
|
19
19
|
strategy:
|
20
20
|
matrix:
|
21
21
|
ruby: ['3.0', '3.1', '3.2']
|
22
|
-
rails_version: ['7.0.
|
22
|
+
rails_version: ['7.0.8']
|
23
23
|
blacklight_version: ['']
|
24
24
|
include:
|
25
25
|
- ruby: '2.7'
|
26
|
-
rails_version: '6.1.7.
|
26
|
+
rails_version: '6.1.7.6'
|
27
27
|
- ruby: '3.2'
|
28
|
-
rails_version: '7.0.
|
28
|
+
rails_version: '7.0.8'
|
29
29
|
name: 'Blacklight 8 beta'
|
30
30
|
blacklight_version: '8.0.0.beta6'
|
31
31
|
env:
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Blacklight::Hierarchy
|
2
|
-
[![Build Status](https://github.com/sul-dlss/blacklight-hierarchy/workflows/CI/badge.svg)](https://github.com/sul-dlss/blacklight-hierarchy/actions?query=branch%3Amain) [![
|
2
|
+
[![Build Status](https://github.com/sul-dlss/blacklight-hierarchy/workflows/CI/badge.svg)](https://github.com/sul-dlss/blacklight-hierarchy/actions?query=branch%3Amain) [![Gem Version](https://badge.fury.io/rb/blacklight-hierarchy.svg)](http://badge.fury.io/rb/blacklight-hierarchy)
|
3
3
|
|
4
4
|
This plugin provides hierarchical facets for [Blacklight](https://github.com/projectblacklight/blacklight).
|
5
5
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<%= render(@layout.new(facet_field: @facet_field)) do |component| %>
|
2
|
-
<% component.
|
2
|
+
<% component.with_label do %>
|
3
3
|
<%= @facet_field.label %>
|
4
4
|
<% end %>
|
5
|
-
<% component.
|
5
|
+
<% component.with_body do %>
|
6
6
|
<ul class="facet-hierarchy" role="tree">
|
7
7
|
<% tree.keys.sort.collect do |key| %>
|
8
8
|
<%= render Blacklight::Hierarchy::FacetFieldComponent.new(field_name: @facet_field.facet_field.field, tree: tree[key], key: key) %>
|
@@ -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.
|
22
|
+
s.add_dependency 'rails', '>= 6.1', '< 7.2'
|
23
23
|
s.add_dependency 'deprecation'
|
24
24
|
|
25
25
|
s.add_development_dependency 'rsolr'
|
@@ -27,5 +27,4 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_development_dependency 'sqlite3'
|
28
28
|
s.add_development_dependency 'engine_cart', '~> 2.3'
|
29
29
|
s.add_development_dependency 'capybara'
|
30
|
-
s.add_development_dependency 'coveralls'
|
31
30
|
end
|
data/spec/spec_helper.rb
CHANGED
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.
|
4
|
+
version: 6.2.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:
|
11
|
+
date: 2024-01-09 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.
|
42
|
+
version: '7.2'
|
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.
|
52
|
+
version: '7.2'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: deprecation
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,20 +134,6 @@ dependencies:
|
|
134
134
|
- - ">="
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '0'
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: coveralls
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '0'
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - ">="
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '0'
|
151
137
|
description: Allows delimited Solr facets to become hierarchical trees in Blacklight.
|
152
138
|
email:
|
153
139
|
- dlss-dev@lists.stanford.edu
|
@@ -155,7 +141,6 @@ executables: []
|
|
155
141
|
extensions: []
|
156
142
|
extra_rdoc_files: []
|
157
143
|
files:
|
158
|
-
- ".coveralls.yml"
|
159
144
|
- ".github/workflows/ruby.yml"
|
160
145
|
- ".gitignore"
|
161
146
|
- ".rspec"
|
@@ -215,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
200
|
- !ruby/object:Gem::Version
|
216
201
|
version: '0'
|
217
202
|
requirements: []
|
218
|
-
rubygems_version: 3.
|
203
|
+
rubygems_version: 3.4.20
|
219
204
|
signing_key:
|
220
205
|
specification_version: 4
|
221
206
|
summary: Hierarchical Facets for Blacklight
|
data/.coveralls.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
service_name: travis-ci
|