blacklight-hierarchy 6.1.1 → 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: d41fa682f5420dd31baa8bb2ad91730bd34d70ac8ea4d0877383d5415e738ec3
4
- data.tar.gz: 3ae54b18ada4ecdb1c28c24706793710f3522ef712432313c42a5826b3c27865
3
+ metadata.gz: 319998bdc40ff5fca06401bd88a661b5b5e44459869690de28ed0d7dcec51498
4
+ data.tar.gz: 61e1c51486e48ca074ac6c9bbf3b8c04df2d83c6ba6398eb198ee429fb7ec6b4
5
5
  SHA512:
6
- metadata.gz: 15d60403bf2a3abbb0291a8994986f132b028cf127d348e65590fc11412dc2ed9baaee24fccf4916c7f880b30faa1c8c8fb7216ab7991e4fced0c8814940a1a6
7
- data.tar.gz: fc418f614fbf35690da8afaac5f2a6867e43afc0d4740d7784b46b119320141fb0c54ac9bd5274e09336bdf5e3e9d36f8b1bedd7e4af5f14ddd6c5e2f49dca82
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', '3.1']
21
+ ruby: ['3.0', '3.1', '3.2']
22
22
  rails_version: ['7.0.4.2']
23
+ blacklight_version: ['']
23
24
  include:
24
25
  - ruby: '2.7'
25
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
@@ -1,5 +1,5 @@
1
1
  module Blacklight
2
2
  module Hierarchy
3
- VERSION = '6.1.1'.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.1",
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": [
@@ -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.1
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-03-06 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