blacklight 7.35.0 → 7.36.0

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: 841946108f3216c1dfc66f10787069b43fdcca041e9cc3e114524bf0a5cf6aa1
4
- data.tar.gz: 621f2d5648013ab85fa3c3c99a001824e49b24be263cd1eda45a7f5ed9e22daa
3
+ metadata.gz: d0a27a3fed4a939867c1fcbce79c7a1eaf6e8009db94369256b0c8f5de7d38d7
4
+ data.tar.gz: eba03e7545e6ea1f9a6d403f01e51ba53775fa823a3c915f335364b61edd3c99
5
5
  SHA512:
6
- metadata.gz: 9ae81c46a04f928701d7e16c227bf33ae9ed0ae214e6ef94bbf96bc0b33aa22ff889e286a1235d6c6a225e11597fe3e832db2c5242cc71a533229ee75dc2b407
7
- data.tar.gz: 2005c22b35ac7a9f4c3fb065f412a6369bcf903f918bc46770d23999a509bae45d855c83b14a0e167f3acbafd900ae63f6fe4cfe30de98f8d97bb17980a64c49
6
+ metadata.gz: d35343c758cf2b280c5c7a22832b0b5051bdf10a2677f29d1b5f91f4904f2eeb420f12299e4755d67fda78b78d46308848eb248a46f5f6b92f1a7b0a12d97888
7
+ data.tar.gz: a92edba7cad9d2a755943f2231de4baec6213047350a0fc88c72514dea94caf5cd97b68b5120d4c81d6299c661a89bcb26a9eaeafbb424ad53929c6b384d9034
data/.env CHANGED
@@ -1,5 +1,5 @@
1
- ALPINE_RUBY_VERSION=2.7.5
2
- RAILS_VERSION=5.2.6
1
+ ALPINE_RUBY_VERSION=3.2.2
2
+ RAILS_VERSION=7.0.8
3
3
  VIEW_COMPONENT_VERSION=2.6.6
4
4
  SOLR_PORT=8983
5
5
  SOLR_URL=http://solr:8983/solr/blacklight-core
@@ -23,7 +23,7 @@ jobs:
23
23
  uses: ruby/setup-ruby@v1
24
24
  with:
25
25
  ruby-version: 2.7
26
- bundler: 'latest'
26
+ bundler: 'default'
27
27
  - name: Install dependencies
28
28
  run: bundle install
29
29
  - name: Run linter
@@ -32,14 +32,16 @@ jobs:
32
32
  runs-on: ubuntu-latest
33
33
  strategy:
34
34
  matrix:
35
- ruby: [2.7, '3.0', 3.1, 3.2]
35
+ ruby: [3.1, 3.2]
36
+ env:
37
+ RAILS_VERSION: 7.0.8
36
38
  steps:
37
39
  - uses: actions/checkout@v2
38
40
  - name: Set up Ruby
39
41
  uses: ruby/setup-ruby@v1
40
42
  with:
41
43
  ruby-version: ${{ matrix.ruby }}
42
- bundler: 'latest'
44
+ bundler: 'default'
43
45
  - name: Install dependencies
44
46
  run: bundle install
45
47
  - name: Run tests
@@ -51,13 +53,15 @@ jobs:
51
53
  strategy:
52
54
  matrix:
53
55
  ruby: ['3.0']
56
+ env:
57
+ RAILS_VERSION: 7.0.8
54
58
  steps:
55
59
  - uses: actions/checkout@v2
56
60
  - name: Set up Ruby
57
61
  uses: ruby/setup-ruby@v1
58
62
  with:
59
63
  ruby-version: ${{ matrix.ruby }}
60
- bundler: 'latest'
64
+ bundler: 'default'
61
65
  - name: Install dependencies
62
66
  run: bundle install
63
67
  - name: Run tests
@@ -76,7 +80,7 @@ jobs:
76
80
  uses: ruby/setup-ruby@v1
77
81
  with:
78
82
  ruby-version: ${{ matrix.ruby }}
79
- bundler: 'latest'
83
+ bundler: 'default'
80
84
  - name: Install dependencies
81
85
  run: bundle install
82
86
  env:
@@ -97,7 +101,7 @@ jobs:
97
101
  uses: ruby/setup-ruby@v1
98
102
  with:
99
103
  ruby-version: ${{ matrix.ruby }}
100
- bundler: 'latest'
104
+ bundler: 'default'
101
105
  - name: Install dependencies
102
106
  run: bundle install
103
107
  env:
@@ -107,27 +111,25 @@ jobs:
107
111
  env:
108
112
  RAILS_VERSION: 5.2.8.1
109
113
  ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test'
110
-
111
114
  test_rails6_1:
112
115
  runs-on: ubuntu-latest
113
116
  strategy:
114
117
  matrix:
115
118
  ruby: ['3.0']
119
+ env:
120
+ RAILS_VERSION: 6.1.6.1
116
121
  steps:
117
122
  - uses: actions/checkout@v2
118
123
  - name: Set up Ruby
119
124
  uses: ruby/setup-ruby@v1
120
125
  with:
121
126
  ruby-version: ${{ matrix.ruby }}
122
- bundler: 'latest'
127
+ bundler: 'default'
123
128
  - name: Install dependencies
124
129
  run: bundle install
125
- env:
126
- RAILS_VERSION: 6.1.6.1
127
130
  - name: Run tests
128
131
  run: bundle exec rake ci
129
132
  env:
130
- RAILS_VERSION: 6.1.6.1
131
133
  ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-keeps --skip-action-cable --skip-test'
132
134
  test_vc3:
133
135
  runs-on: ubuntu-latest
@@ -135,6 +137,7 @@ jobs:
135
137
  matrix:
136
138
  ruby: ['3.2']
137
139
  env:
140
+ RAILS_VERSION: 7.0.8
138
141
  VIEW_COMPONENT_VERSION: ${{ matrix.view_component_version }}
139
142
  steps:
140
143
  - uses: actions/checkout@v2
@@ -142,7 +145,7 @@ jobs:
142
145
  uses: ruby/setup-ruby@v1
143
146
  with:
144
147
  ruby-version: ${{ matrix.ruby }}
145
- bundler: 'latest'
148
+ bundler: 'default'
146
149
  - name: Install dependencies
147
150
  run: bundle install
148
151
  - name: Run tests
@@ -154,12 +157,14 @@ jobs:
154
157
  strategy:
155
158
  matrix:
156
159
  ruby: [2.7, '3.0']
160
+ env:
161
+ RAILS_VERSION: 7.0.8
157
162
  steps:
158
163
  - uses: actions/checkout@v2
159
164
  - name: Set up Ruby
160
165
  uses: ruby/setup-ruby@v1
161
166
  with:
162
- bundler: 'latest'
167
+ bundler: 'default'
163
168
  ruby-version: ${{ matrix.ruby }}
164
169
  - name: Install dependencies
165
170
  run: bundle install
data/Gemfile CHANGED
@@ -48,3 +48,29 @@ end
48
48
  # END ENGINE_CART BLOCK
49
49
 
50
50
  eval_gemfile File.expand_path("spec/test_app_templates/Gemfile.extra", File.dirname(__FILE__))
51
+
52
+ gem "rubocop", "~> 1.60"
53
+
54
+ gem "rubocop-capybara", "~> 2.20"
55
+
56
+ gem "rubocop-rspec", "~> 2.26"
57
+
58
+ gem "rubocop-rails", "~> 2.23"
59
+
60
+ gem "rspec", "~> 3.12"
61
+
62
+ gem "simplecov", "~> 0.22.0"
63
+
64
+ gem "engine_cart", "~> 2.6"
65
+
66
+ gem "rspec-rails", "~> 6.1"
67
+
68
+ gem "rspec-collection_matchers", "~> 1.2"
69
+
70
+ gem "capybara", "~> 3.39"
71
+
72
+ gem "selenium-webdriver", "~> 4.16"
73
+
74
+ gem "equivalent-xml", "~> 0.6.0"
75
+
76
+ gem "axe-core-rspec", "~> 4.8"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.35.0
1
+ 7.36.0
@@ -33,7 +33,7 @@ module Blacklight
33
33
  options = sort_fields.values.map { |field_config| [helpers.sort_field_label(field_config.key), field_config.key] }
34
34
  return unless options.any?
35
35
 
36
- select_tag(:sort, options_for_select(options, params[:sort]), class: "form-control sort-select w-auto", aria: { labelledby: 'advanced-search-sort-label' })
36
+ select_tag(:sort, options_for_select(options, params[:sort]), class: "form-select custom-select sort-select w-auto", aria: { labelledby: 'advanced-search-sort-label' })
37
37
  end
38
38
 
39
39
  private
@@ -20,7 +20,7 @@
20
20
  <div class="more_facets">
21
21
  <%= link_to t("more_#{@facet_field.key}_html", scope: 'blacklight.search.facets', default: :more_html, field_name: @facet_field.label),
22
22
  @facet_field.modal_path,
23
- data: { blacklight_modal: 'trigger' } %>
23
+ data: { blacklight_modal: 'trigger', turbo: false } %>
24
24
  </div>
25
25
  <% end %>
26
26
  </div>
@@ -1,4 +1,4 @@
1
- <div id="blacklight-modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
1
+ <div id="blacklight-modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" data-turbo="false">
2
2
  <div class="modal-dialog modal-lg" role="document">
3
3
  <div class="modal-content">
4
4
  </div>
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.35.0
4
+ version: 7.36.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: 2023-11-09 00:00:00.000000000 Z
20
+ date: 2024-01-18 00:00:00.000000000 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: rails
@@ -955,7 +955,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
955
955
  - !ruby/object:Gem::Version
956
956
  version: '0'
957
957
  requirements: []
958
- rubygems_version: 3.4.21
958
+ rubygems_version: 3.5.3
959
959
  signing_key:
960
960
  specification_version: 4
961
961
  summary: Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr)