diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml
index a8a1236da..5fde75111 100644
--- a/.github/workflows/ruby.yml
+++ b/.github/workflows/ruby.yml
@@ -11,13 +11,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- rails_version: [6.1.4.7]
+ rails_version: [6.1.4.7, 7.0.2.3]
ruby: [2.7, '3.0']
include:
- rails_version: 6.0.3.7
ruby: 2.7
- - rails_version: 5.2.6.3
- ruby: 2.6
env:
RAILS_VERSION: ${{ matrix.rails_version }}
steps:
diff --git a/arclight.gemspec b/arclight.gemspec
index ac08f842f..094c35063 100644
--- a/arclight.gemspec
+++ b/arclight.gemspec
@@ -23,18 +23,17 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']
spec.add_dependency 'blacklight', '~> 7.2'
- spec.add_dependency 'blacklight_range_limit', '~> 7.1'
- spec.add_dependency 'rails', '>= 5.2.3', '< 6.2'
+ spec.add_dependency 'blacklight_range_limit', '>= 7.1', '< 9'
+ spec.add_dependency 'rails', '>= 6', '< 7.1'
spec.add_dependency 'rexml'
- spec.add_dependency 'sprockets-bumble_d'
spec.add_dependency 'traject', '~> 3.0'
- spec.add_dependency 'traject_plus', '~> 1.2'
+ spec.add_dependency 'traject_plus', '~> 2.0'
- spec.add_development_dependency 'bundler', '> 1.14'
+ spec.add_development_dependency 'bundler'
spec.add_development_dependency 'capybara'
spec.add_development_dependency 'engine_cart'
spec.add_development_dependency 'i18n-tasks'
- spec.add_development_dependency 'rake', '~> 12.0'
+ spec.add_development_dependency 'rake', '>= 12.0'
spec.add_development_dependency 'rspec-rails'
spec.add_development_dependency 'rubocop', '~> 1.8'
spec.add_development_dependency 'rubocop-rails', '~> 2.8'
diff --git a/lib/arclight/engine.rb b/lib/arclight/engine.rb
index 102c3f5bf..b0cf84bd0 100644
--- a/lib/arclight/engine.rb
+++ b/lib/arclight/engine.rb
@@ -1,6 +1,5 @@
# frozen_string_literal: true
-require 'sprockets/bumble_d'
require 'blacklight'
require 'traject'
require 'active_model'
@@ -15,13 +14,6 @@ module Arclight
##
# This is the defining class for the Arclight Rails Engine
class Engine < ::Rails::Engine
- extend ::Sprockets::BumbleD::DSL
-
- # We're not sure this is right, but we aren't doing module imports
- # at the moment anyway
- register_umd_globals :arclight,
- 'blacklight' => 'Blacklight'
-
config.viewer_class = Arclight::Viewers::OEmbed
config.oembed_resource_exclude_patterns = [/\.pdf$/, /\.ppt$/]
@@ -60,7 +52,9 @@ class Engine < ::Rails::Engine
end
initializer 'arclight.helpers' do
- ActionView::Base.send :include, ArclightHelper
+ config.after_initialize do
+ ActionView::Base.send :include, ArclightHelper
+ end
end
end
end
diff --git a/package.json b/package.json
index ccffc6801..368a4e05c 100644
--- a/package.json
+++ b/package.json
@@ -3,10 +3,10 @@
"description": "",
"main": "index.js",
"dependencies": {
- "@babel/core": "^7.5.5",
- "@babel/plugin-external-helpers": "^7.2.0",
- "@babel/plugin-transform-modules-umd": "^7.2.0",
- "@babel/preset-env": "^7.5.5"
+ "@babel/core": "^7.18.5",
+ "@babel/plugin-external-helpers": "^7.17.12",
+ "@babel/plugin-transform-modules-umd": "^7.18.0",
+ "@babel/preset-env": "^7.18.2"
},
"devDependencies": {
"eslint": "^3.19.0",
diff --git a/solr/conf/schema.xml b/solr/conf/schema.xml
index a25ff4399..f49e4e07f 100644
--- a/solr/conf/schema.xml
+++ b/solr/conf/schema.xml
@@ -244,8 +244,8 @@
-
-
+
+
diff --git a/solr/conf/solrconfig.xml b/solr/conf/solrconfig.xml
index ff1d1a457..f7727672a 100644
--- a/solr/conf/solrconfig.xml
+++ b/solr/conf/solrconfig.xml
@@ -30,6 +30,7 @@
-->
8.2.0
+
diff --git a/spec/factories/blacklight_field_configuration_factory_spec.rb b/spec/factories/blacklight_field_configuration_factory_spec.rb
index e95113ab2..a12ae3f12 100644
--- a/spec/factories/blacklight_field_configuration_factory_spec.rb
+++ b/spec/factories/blacklight_field_configuration_factory_spec.rb
@@ -17,7 +17,7 @@
context 'a configured field' do
it 'returns the configuration class for the given field' do
- expect(factory.field_config).to be_a Blacklight::Configuration::SummaryField
+ expect(factory.field_config).to be_a Blacklight::Configuration::Field
expect(factory.field_config.separator_options).to eq(words_connector: '; ')
end
end
diff --git a/spec/test_app_templates/Gemfile.extra b/spec/test_app_templates/Gemfile.extra
index 461cd3555..4a1442d7f 100644
--- a/spec/test_app_templates/Gemfile.extra
+++ b/spec/test_app_templates/Gemfile.extra
@@ -1,3 +1,3 @@
-gem 'blacklight_range_limit', '~> 7.1'
-gem 'autoprefixer-rails', '~> 10.2.5'
-gem 'execjs', '< 2.8.0'
+gem 'blacklight_range_limit', '>= 7.1'
+gem 'autoprefixer-rails', '~> 10.2'
+gem 'execjs'
diff --git a/spec/views/_requests.html.erb_spec.rb b/spec/views/_requests.html.erb_spec.rb
index e45b29e5d..37dca1fe3 100644
--- a/spec/views/_requests.html.erb_spec.rb
+++ b/spec/views/_requests.html.erb_spec.rb
@@ -2,7 +2,7 @@
require 'spec_helper'
-RSpec.describe 'arclight/_requests.html.erb', type: :view do
+RSpec.describe 'arclight/_requests', type: :view do
let(:document) { SolrDocument.new(id: 'abc123') }
let(:config) { instance_double(Arclight::Repository) }
let(:blacklight_config) { Blacklight::Configuration.new }
diff --git a/spec/views/catalog/_within_collection_dropdown.html.erb_spec.rb b/spec/views/catalog/_within_collection_dropdown.html.erb_spec.rb
index b7721c9b3..3543aae26 100644
--- a/spec/views/catalog/_within_collection_dropdown.html.erb_spec.rb
+++ b/spec/views/catalog/_within_collection_dropdown.html.erb_spec.rb
@@ -2,7 +2,7 @@
require 'spec_helper'
-RSpec.describe 'catalog/_within_collection_dropdown.html.erb', type: :view do
+RSpec.describe 'catalog/_within_collection_dropdown', type: :view do
before do
allow(view).to receive(:within_collection_context?).and_return(within_collection_context?)
render