blacklight 7.43.1 → 7.43.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 +4 -4
- data/.github/matrix.json +5 -1
- data/VERSION +1 -1
- data/blacklight.gemspec +1 -1
- data/lib/generators/blacklight/assets/sprockets_generator.rb +5 -1
- data/lib/generators/blacklight/solr_generator.rb +1 -1
- data/lib/generators/blacklight/user_generator.rb +1 -1
- data/package.json +1 -1
- data/spec/helpers/blacklight/facets_helper_behavior_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +1 -1
- metadata +5 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55824e54437448fdce78c30180ba1ddedefae1360b6e5468b5ec60663e6d1232
|
|
4
|
+
data.tar.gz: a1056d6a5f8bb57da327115f182434285be843daea42d3a8df17c42103894267
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b7594ab2fe336dd67f70f13d13cb88c69028f6ef66aaf5363928372c317ac79629c81dc8df9d06f8718f0cdbc2213b2c3e8f5ee58e35b47ab011b49c66798d5
|
|
7
|
+
data.tar.gz: ec233ac4802dc0ce0e7d16d5560311272b69cd8404402e6e02d91bc108808fa680366eb940628ca59988afdc107d6fcba897691433fbfed7c26c6d5a8feb3168
|
data/.github/matrix.json
CHANGED
|
@@ -47,6 +47,10 @@
|
|
|
47
47
|
"rails_version": "8.1.3",
|
|
48
48
|
"bootstrap_version": "~> 4.0"
|
|
49
49
|
},
|
|
50
|
+
{
|
|
51
|
+
"ruby": "4.0",
|
|
52
|
+
"rails_version": "8.1.3"
|
|
53
|
+
},
|
|
50
54
|
{
|
|
51
55
|
"ruby": "3.3",
|
|
52
56
|
"rails_version": "7.1.5.1",
|
|
@@ -63,7 +67,7 @@
|
|
|
63
67
|
{
|
|
64
68
|
"ruby": "3.3",
|
|
65
69
|
"rails_version": "7.1.5.1",
|
|
66
|
-
"api
|
|
70
|
+
"api": "true",
|
|
67
71
|
"additional_engine_cart_rails_options": "--api --skip-yarn",
|
|
68
72
|
"additional_name": "| API"
|
|
69
73
|
}
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.43.
|
|
1
|
+
7.43.2
|
data/blacklight.gemspec
CHANGED
|
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
|
|
|
43
43
|
s.add_development_dependency 'axe-core-rspec'
|
|
44
44
|
s.add_development_dependency "capybara", '~> 3'
|
|
45
45
|
s.add_development_dependency 'selenium-webdriver'
|
|
46
|
-
s.add_development_dependency 'engine_cart', '~> 2.
|
|
46
|
+
s.add_development_dependency 'engine_cart', '~> 2.7'
|
|
47
47
|
s.add_development_dependency "equivalent-xml"
|
|
48
48
|
s.add_development_dependency "rexml"
|
|
49
49
|
s.add_development_dependency "simplecov"
|
|
@@ -36,7 +36,7 @@ module Blacklight
|
|
|
36
36
|
CONTENT
|
|
37
37
|
end
|
|
38
38
|
empty_directory 'app/assets/images'
|
|
39
|
-
elsif defined?(Sprockets::VERSION) && Sprockets::VERSION >= '4'
|
|
39
|
+
elsif defined?(Sprockets::VERSION) && Sprockets::VERSION >= '4' && !using_importmap?
|
|
40
40
|
append_to_file 'app/assets/config/manifest.js', "\n//= link application.js"
|
|
41
41
|
empty_directory 'app/assets/images'
|
|
42
42
|
end
|
|
@@ -86,6 +86,10 @@ module Blacklight
|
|
|
86
86
|
|
|
87
87
|
private
|
|
88
88
|
|
|
89
|
+
def using_importmap?
|
|
90
|
+
File.exist?(File.expand_path('config/importmap.rb', destination_root))
|
|
91
|
+
end
|
|
92
|
+
|
|
89
93
|
def has_blacklight_assets?
|
|
90
94
|
application_js.include?('blacklight/blacklight')
|
|
91
95
|
end
|
data/package.json
CHANGED
|
@@ -231,7 +231,7 @@ RSpec.describe Blacklight::FacetsHelperBehavior do
|
|
|
231
231
|
context "when one of the facet items is rendered as nil" do
|
|
232
232
|
# An app may override render_facet_item to filter out some undesired facet items by returning nil.
|
|
233
233
|
before do
|
|
234
|
-
allow_any_instance_of
|
|
234
|
+
allow_any_instance_of(Blacklight::FacetItemComponent).to receive(:overridden_helper_methods?).and_return(true) # rubocop:disable RSpec/AnyInstance
|
|
235
235
|
allow(helper).to receive(:render_facet_item).and_return('<a class="facet-select">Book</a>'.html_safe, nil)
|
|
236
236
|
end
|
|
237
237
|
|
data/spec/spec_helper.rb
CHANGED
|
@@ -46,7 +46,7 @@ RSpec.configure do |config|
|
|
|
46
46
|
config.disable_monkey_patching!
|
|
47
47
|
|
|
48
48
|
# When we're testing the API, only run the api tests
|
|
49
|
-
config.filter_run api: true if ENV['BLACKLIGHT_API_TEST']
|
|
49
|
+
config.filter_run api: true if ENV['BLACKLIGHT_API_TEST'].present?
|
|
50
50
|
|
|
51
51
|
if Rails.version.to_f >= 7.1
|
|
52
52
|
config.fixture_paths = [Rails.root.join("spec/fixtures")]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: blacklight
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.43.
|
|
4
|
+
version: 7.43.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Rochkind
|
|
@@ -14,10 +14,9 @@ authors:
|
|
|
14
14
|
- Dan Funk
|
|
15
15
|
- Naomi Dushay
|
|
16
16
|
- Justin Coyne
|
|
17
|
-
autorequire:
|
|
18
17
|
bindir: exe
|
|
19
18
|
cert_chain: []
|
|
20
|
-
date:
|
|
19
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
21
20
|
dependencies:
|
|
22
21
|
- !ruby/object:Gem::Dependency
|
|
23
22
|
name: rails
|
|
@@ -281,14 +280,14 @@ dependencies:
|
|
|
281
280
|
requirements:
|
|
282
281
|
- - "~>"
|
|
283
282
|
- !ruby/object:Gem::Version
|
|
284
|
-
version: '2.
|
|
283
|
+
version: '2.7'
|
|
285
284
|
type: :development
|
|
286
285
|
prerelease: false
|
|
287
286
|
version_requirements: !ruby/object:Gem::Requirement
|
|
288
287
|
requirements:
|
|
289
288
|
- - "~>"
|
|
290
289
|
- !ruby/object:Gem::Version
|
|
291
|
-
version: '2.
|
|
290
|
+
version: '2.7'
|
|
292
291
|
- !ruby/object:Gem::Dependency
|
|
293
292
|
name: equivalent-xml
|
|
294
293
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -1035,7 +1034,6 @@ homepage: http://projectblacklight.org/
|
|
|
1035
1034
|
licenses:
|
|
1036
1035
|
- Apache 2.0
|
|
1037
1036
|
metadata: {}
|
|
1038
|
-
post_install_message:
|
|
1039
1037
|
rdoc_options: []
|
|
1040
1038
|
require_paths:
|
|
1041
1039
|
- lib
|
|
@@ -1050,8 +1048,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1050
1048
|
- !ruby/object:Gem::Version
|
|
1051
1049
|
version: '0'
|
|
1052
1050
|
requirements: []
|
|
1053
|
-
rubygems_version:
|
|
1054
|
-
signing_key:
|
|
1051
|
+
rubygems_version: 4.0.20
|
|
1055
1052
|
specification_version: 4
|
|
1056
1053
|
summary: Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr)
|
|
1057
1054
|
index.
|