blacklight-hierarchy 6.1.0 → 6.1.2

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: 49bf8b73b3485393e3e39213a1be9c87a4d0361ea56eb72710bb43c249ae0bc2
4
- data.tar.gz: 0c985fdd8fd70f2b32fc50f8b9b9b48cc0c1e2665512fa4e94a36ef6e86d0661
3
+ metadata.gz: 319998bdc40ff5fca06401bd88a661b5b5e44459869690de28ed0d7dcec51498
4
+ data.tar.gz: 61e1c51486e48ca074ac6c9bbf3b8c04df2d83c6ba6398eb198ee429fb7ec6b4
5
5
  SHA512:
6
- metadata.gz: 9e00cd2aa025959a51851d3add643978fe2757bf2fc901a11df03c1e41b67c61a78f2c77aec3a9abf229a915573030393a1cbb09c8b9179559925eba6d89735c
7
- data.tar.gz: 80acb77c149db230962ef996905270c82da6b6b1c84d39fc0cb2d4192b3242d26b43d1995dc7430d22b069e55759809fcac3babca97f4291e807496095dc7df5
6
+ metadata.gz: 42b8bfdf9e654107df7b7ea238c3bbb0e00dc04673842bb9f5bdbe851e92f06441f3ddd7f491270c6e02302a5967712968c7cf65bbe149bad812266d8218c515
7
+ data.tar.gz: '0185b89a3917369862feebed88756388f67f49f7abd08c7b6fbf9f74bbf5b7d31a373ea028a39df1ae8d0a5a94468a0b7e9fe0507a116c1c28d5e765c05ead0f'
@@ -18,11 +18,18 @@ jobs:
18
18
  runs-on: ubuntu-latest
19
19
  strategy:
20
20
  matrix:
21
- ruby: [2.7, '3.0']
22
- rails_version: ['7.0.2.2', '6.1.4.6']
21
+ ruby: ['3.0', '3.1', '3.2']
22
+ rails_version: ['7.0.4.2']
23
+ blacklight_version: ['']
23
24
  include:
24
25
  - ruby: '2.7'
25
- rails_version: '5.2.4.2'
26
+ rails_version: '6.1.7.2'
27
+ - ruby: '3.2'
28
+ rails_version: '7.0.4.2'
29
+ name: 'Blacklight 8 beta'
30
+ blacklight_version: '8.0.0.beta6'
31
+ env:
32
+ BLACKLIGHT_VERSION: ${{ matrix.blacklight_version }}
26
33
  steps:
27
34
  - uses: actions/checkout@v2
28
35
  - name: Set up Ruby
@@ -12,7 +12,7 @@ module Blacklight
12
12
  attr_reader :field_name, :item
13
13
 
14
14
  def remove_href
15
- helpers.search_action_path(helpers.search_state.remove_facet_params(field_name, item.qvalue))
15
+ helpers.search_action_path(helpers.search_state.filter(field_name).remove(item.qvalue).params)
16
16
  end
17
17
  end
18
18
  end
@@ -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', '>= 5.1', '< 7.1'
22
+ s.add_dependency 'rails', '>= 6.1', '< 7.1'
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.1.0'.freeze
3
+ VERSION = '6.1.2'.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.1.0",
3
+ "version": "6.1.2",
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": [
@@ -19,7 +19,7 @@
19
19
  "homepage": "https://github.com/sul-dlss/blacklight-hierarchy#readme",
20
20
  "devDependencies": { },
21
21
  "dependencies": {
22
- "blacklight-frontend": ">=7.1.0-alpha",
22
+ "blacklight-frontend": ">=7.1 || 8.0",
23
23
  "jquery": ">=3.0"
24
24
  }
25
25
  }
@@ -1,3 +1 @@
1
- if ENV['RAILS_VERSION'].nil? || ENV['RAILS_VERSION'] =~ /^5\.0/ || ENV['RAILS_VERSION'] == 'edge'
2
- gem 'rails-controller-testing'
3
- end
1
+ gem 'blacklight', ENV['BLACKLIGHT_VERSION'] if ENV['BLACKLIGHT_VERSION'] && !ENV['BLACKLIGHT_VERSION'].empty?
@@ -2,7 +2,7 @@ require 'rails/generators'
2
2
 
3
3
  class TestAppGenerator < Rails::Generators::Base
4
4
  def add_gems
5
- gem 'blacklight'
5
+ gem 'blacklight' unless Bundler.locked_gems.dependencies.key? 'blacklight'
6
6
  Bundler.with_clean_env do
7
7
  run 'bundle install'
8
8
  end
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.1.0
4
+ version: 6.1.2
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: 2023-02-01 00:00:00.000000000 Z
11
+ date: 2023-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blacklight
@@ -36,7 +36,7 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '5.1'
39
+ version: '6.1'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '7.1'
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: '5.1'
49
+ version: '6.1'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '7.1'