blacklight 7.38.0 → 7.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.env +1 -1
- data/.github/workflows/ruby.yml +1 -43
- data/.rubocop.yml +13 -4
- data/.rubocop_todo.yml +396 -160
- data/Gemfile +0 -8
- data/README.md +1 -1
- data/VERSION +1 -1
- data/app/assets/stylesheets/blacklight/_constraints.scss +4 -4
- data/app/components/blacklight/advanced_search_form_component.html.erb +2 -2
- data/app/components/blacklight/document_component.html.erb +4 -0
- data/app/components/blacklight/document_component.rb +27 -4
- data/app/components/blacklight/document_title_component.rb +4 -1
- data/app/components/blacklight/facet_component.rb +2 -2
- data/app/components/blacklight/facet_field_checkboxes_component.html.erb +1 -1
- data/app/components/blacklight/icons/icon_component.rb +9 -4
- data/app/components/blacklight/response/pagination_component.rb +6 -1
- data/app/components/blacklight/response/sort_component.html.erb +1 -6
- data/app/components/blacklight/response/sort_component.rb +17 -2
- data/app/components/blacklight/response/spellcheck_component.rb +1 -1
- data/app/components/blacklight/response/view_type_button_component.rb +1 -1
- data/app/components/blacklight/response/view_type_component.rb +1 -1
- data/app/components/blacklight/search/per_page_component.html.erb +2 -0
- data/app/components/blacklight/search/per_page_component.rb +50 -0
- data/app/components/blacklight/system/dropdown_button_component.rb +18 -0
- data/app/components/blacklight/system/dropdown_component.rb +4 -7
- data/app/components/blacklight/system/flash_message_component.html.erb +1 -1
- data/app/components/blacklight/system/flash_message_component.rb +1 -1
- data/app/components/blacklight/system/modal_component.rb +1 -1
- data/app/helpers/blacklight/catalog_helper_behavior.rb +2 -0
- data/app/helpers/blacklight/configuration_helper_behavior.rb +2 -0
- data/app/helpers/blacklight/icon_helper_behavior.rb +3 -0
- data/app/helpers/blacklight/layout_helper_behavior.rb +3 -3
- data/app/models/concerns/blacklight/document/semantic_fields.rb +1 -1
- data/app/views/catalog/_per_page_widget.html.erb +1 -10
- data/app/views/kaminari/blacklight/_page.html.erb +1 -2
- data/app/views/shared/_flash_messages.html.erb +1 -1
- data/blacklight.gemspec +8 -5
- data/docker-compose.yml +0 -2
- data/lib/blacklight/configuration/view_config.rb +6 -0
- data/lib/blacklight/configuration.rb +4 -17
- data/lib/blacklight/open_struct_with_hash_access.rb +0 -15
- data/lib/blacklight/solr/response.rb +0 -12
- data/lib/blacklight/solr/search_builder_behavior.rb +2 -0
- data/lib/blacklight/solr.rb +0 -6
- data/lib/blacklight.rb +5 -20
- data/lib/generators/blacklight/assets_generator.rb +0 -3
- data/package.json +1 -1
- data/spec/components/blacklight/document/action_component_spec.rb +1 -6
- data/spec/components/blacklight/document_component_spec.rb +50 -0
- data/spec/components/blacklight/icons/icon_component_spec.rb +42 -0
- data/spec/components/blacklight/response/pagination_component_spec.rb +53 -0
- data/spec/helpers/blacklight/layout_helper_behavior_spec.rb +20 -3
- data/spec/models/blacklight/solr/search_builder_spec.rb +13 -0
- data/spec/services/blacklight/search_service_spec.rb +12 -12
- data/spec/spec_helper.rb +0 -28
- data/spec/test_app_templates/Gemfile.extra +0 -1
- data/spec/views/catalog/_paginate_compact.html.erb_spec.rb +2 -0
- data/spec/views/catalog/index.atom.builder_spec.rb +2 -1
- data/template.demo.rb +7 -7
- metadata +61 -12
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.
|
4
|
+
version: 7.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: exe
|
19
19
|
cert_chain: []
|
20
|
-
date: 2024-
|
20
|
+
date: 2024-09-26 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rails
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '
|
28
|
+
version: '6.1'
|
29
29
|
- - "<"
|
30
30
|
- !ruby/object:Gem::Version
|
31
31
|
version: '7.3'
|
@@ -35,7 +35,7 @@ dependencies:
|
|
35
35
|
requirements:
|
36
36
|
- - ">="
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: '
|
38
|
+
version: '6.1'
|
39
39
|
- - "<"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '7.3'
|
@@ -157,6 +157,20 @@ dependencies:
|
|
157
157
|
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: zeitwerk
|
162
|
+
requirement: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
type: :runtime
|
168
|
+
prerelease: false
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
160
174
|
- !ruby/object:Gem::Dependency
|
161
175
|
name: rsolr
|
162
176
|
requirement: !ruby/object:Gem::Requirement
|
@@ -183,14 +197,14 @@ dependencies:
|
|
183
197
|
requirements:
|
184
198
|
- - ">="
|
185
199
|
- !ruby/object:Gem::Version
|
186
|
-
version: '
|
200
|
+
version: '6.0'
|
187
201
|
type: :development
|
188
202
|
prerelease: false
|
189
203
|
version_requirements: !ruby/object:Gem::Requirement
|
190
204
|
requirements:
|
191
205
|
- - ">="
|
192
206
|
- !ruby/object:Gem::Version
|
193
|
-
version: '
|
207
|
+
version: '6.0'
|
194
208
|
- !ruby/object:Gem::Dependency
|
195
209
|
name: rspec-collection_matchers
|
196
210
|
requirement: !ruby/object:Gem::Requirement
|
@@ -295,14 +309,28 @@ dependencies:
|
|
295
309
|
requirements:
|
296
310
|
- - "~>"
|
297
311
|
- !ruby/object:Gem::Version
|
298
|
-
version: '
|
312
|
+
version: '1.66'
|
299
313
|
type: :development
|
300
314
|
prerelease: false
|
301
315
|
version_requirements: !ruby/object:Gem::Requirement
|
302
316
|
requirements:
|
303
317
|
- - "~>"
|
304
318
|
- !ruby/object:Gem::Version
|
305
|
-
version: '
|
319
|
+
version: '1.66'
|
320
|
+
- !ruby/object:Gem::Dependency
|
321
|
+
name: rubocop-capybara
|
322
|
+
requirement: !ruby/object:Gem::Requirement
|
323
|
+
requirements:
|
324
|
+
- - "~>"
|
325
|
+
- !ruby/object:Gem::Version
|
326
|
+
version: '2.21'
|
327
|
+
type: :development
|
328
|
+
prerelease: false
|
329
|
+
version_requirements: !ruby/object:Gem::Requirement
|
330
|
+
requirements:
|
331
|
+
- - "~>"
|
332
|
+
- !ruby/object:Gem::Version
|
333
|
+
version: '2.21'
|
306
334
|
- !ruby/object:Gem::Dependency
|
307
335
|
name: rubocop-rails
|
308
336
|
requirement: !ruby/object:Gem::Requirement
|
@@ -323,14 +351,28 @@ dependencies:
|
|
323
351
|
requirements:
|
324
352
|
- - "~>"
|
325
353
|
- !ruby/object:Gem::Version
|
326
|
-
version: '
|
354
|
+
version: '3.0'
|
355
|
+
type: :development
|
356
|
+
prerelease: false
|
357
|
+
version_requirements: !ruby/object:Gem::Requirement
|
358
|
+
requirements:
|
359
|
+
- - "~>"
|
360
|
+
- !ruby/object:Gem::Version
|
361
|
+
version: '3.0'
|
362
|
+
- !ruby/object:Gem::Dependency
|
363
|
+
name: rubocop-rspec_rails
|
364
|
+
requirement: !ruby/object:Gem::Requirement
|
365
|
+
requirements:
|
366
|
+
- - "~>"
|
367
|
+
- !ruby/object:Gem::Version
|
368
|
+
version: '2.30'
|
327
369
|
type: :development
|
328
370
|
prerelease: false
|
329
371
|
version_requirements: !ruby/object:Gem::Requirement
|
330
372
|
requirements:
|
331
373
|
- - "~>"
|
332
374
|
- !ruby/object:Gem::Version
|
333
|
-
version: '
|
375
|
+
version: '2.30'
|
334
376
|
- !ruby/object:Gem::Dependency
|
335
377
|
name: i18n-tasks
|
336
378
|
requirement: !ruby/object:Gem::Requirement
|
@@ -481,6 +523,8 @@ files:
|
|
481
523
|
- app/components/blacklight/response/view_type_button_component.rb
|
482
524
|
- app/components/blacklight/response/view_type_component.html.erb
|
483
525
|
- app/components/blacklight/response/view_type_component.rb
|
526
|
+
- app/components/blacklight/search/per_page_component.html.erb
|
527
|
+
- app/components/blacklight/search/per_page_component.rb
|
484
528
|
- app/components/blacklight/search_bar_component.html.erb
|
485
529
|
- app/components/blacklight/search_bar_component.rb
|
486
530
|
- app/components/blacklight/search_button_component.rb
|
@@ -490,6 +534,7 @@ files:
|
|
490
534
|
- app/components/blacklight/search_navbar_component.html.erb
|
491
535
|
- app/components/blacklight/search_navbar_component.rb
|
492
536
|
- app/components/blacklight/start_over_button_component.rb
|
537
|
+
- app/components/blacklight/system/dropdown_button_component.rb
|
493
538
|
- app/components/blacklight/system/dropdown_component.html.erb
|
494
539
|
- app/components/blacklight/system/dropdown_component.rb
|
495
540
|
- app/components/blacklight/system/flash_message_component.html.erb
|
@@ -791,7 +836,9 @@ files:
|
|
791
836
|
- spec/components/blacklight/facet_item_pivot_component_spec.rb
|
792
837
|
- spec/components/blacklight/header_component_spec.rb
|
793
838
|
- spec/components/blacklight/hidden_search_state_component_spec.rb
|
839
|
+
- spec/components/blacklight/icons/icon_component_spec.rb
|
794
840
|
- spec/components/blacklight/metadata_field_component_spec.rb
|
841
|
+
- spec/components/blacklight/response/pagination_component_spec.rb
|
795
842
|
- spec/components/blacklight/response/spellcheck_component_spec.rb
|
796
843
|
- spec/components/blacklight/search_bar_component_spec.rb
|
797
844
|
- spec/components/blacklight/start_over_button_component_spec.rb
|
@@ -950,14 +997,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
950
997
|
requirements:
|
951
998
|
- - ">="
|
952
999
|
- !ruby/object:Gem::Version
|
953
|
-
version: '2.
|
1000
|
+
version: '2.7'
|
954
1001
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
955
1002
|
requirements:
|
956
1003
|
- - ">="
|
957
1004
|
- !ruby/object:Gem::Version
|
958
1005
|
version: '0'
|
959
1006
|
requirements: []
|
960
|
-
rubygems_version: 3.5.
|
1007
|
+
rubygems_version: 3.5.9
|
961
1008
|
signing_key:
|
962
1009
|
specification_version: 4
|
963
1010
|
summary: Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr)
|
@@ -977,7 +1024,9 @@ test_files:
|
|
977
1024
|
- spec/components/blacklight/facet_item_pivot_component_spec.rb
|
978
1025
|
- spec/components/blacklight/header_component_spec.rb
|
979
1026
|
- spec/components/blacklight/hidden_search_state_component_spec.rb
|
1027
|
+
- spec/components/blacklight/icons/icon_component_spec.rb
|
980
1028
|
- spec/components/blacklight/metadata_field_component_spec.rb
|
1029
|
+
- spec/components/blacklight/response/pagination_component_spec.rb
|
981
1030
|
- spec/components/blacklight/response/spellcheck_component_spec.rb
|
982
1031
|
- spec/components/blacklight/search_bar_component_spec.rb
|
983
1032
|
- spec/components/blacklight/start_over_button_component_spec.rb
|