Skip to content

Commit

Permalink
Merge pull request #629 from sul-dlss/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
corylown authored Dec 4, 2023
2 parents 5b5d1d7 + ea70b36 commit 0e8f85c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
16 changes: 8 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ GEM
i18n (1.14.1)
concurrent-ruby (~> 1.0)
io-console (0.6.0)
irb (1.9.1)
irb (1.10.0)
rdoc
reline (>= 0.3.8)
jbuilder (2.11.5)
Expand All @@ -195,7 +195,7 @@ GEM
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (2.6.3)
json (2.7.0)
language_server-protocol (3.17.0.3)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
Expand All @@ -219,7 +219,7 @@ GEM
minitest (5.20.0)
msgpack (1.7.2)
mysql2 (0.5.5)
net-imap (0.4.6)
net-imap (0.4.7)
date
net-protocol
net-pop (0.1.2)
Expand All @@ -231,7 +231,7 @@ GEM
net-smtp (0.4.0)
net-protocol
net-ssh (7.2.0)
nio4r (2.6.1)
nio4r (2.7.0)
nokogiri (1.15.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down Expand Up @@ -287,7 +287,7 @@ GEM
rdoc (6.6.0)
psych (>= 4.0.0)
regexp_parser (2.8.2)
reline (0.4.0)
reline (0.4.1)
io-console (~> 0.5)
rexml (3.2.6)
rspec (3.12.0)
Expand All @@ -311,15 +311,15 @@ GEM
rspec-mocks (~> 3.12)
rspec-support (~> 3.12)
rspec-support (3.12.1)
rubocop (1.57.2)
rubocop (1.58.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.4)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
Expand Down Expand Up @@ -356,7 +356,7 @@ GEM
sshkit (1.21.6)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
stringio (3.0.9)
stringio (3.1.0)
thor (1.3.0)
timeout (0.4.1)
tzinfo (2.0.6)
Expand Down
2 changes: 1 addition & 1 deletion spec/searchers/quick_search/article_searcher_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
subject(:searcher) { described_class.new(HTTP, query, 10) }

let(:query) { 'my query' }
let(:response) { JSON.dump(response: { docs: [] }) }
let(:response) { JSON.dump({ response: { docs: [] } }) }

before do
stub_request(:get, /.*/).to_return(body: response)
Expand Down
2 changes: 1 addition & 1 deletion spec/searchers/quick_search/catalog_searcher_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
subject(:searcher) { described_class.new(HTTP, query, 10) }

let(:query) { 'my query' }
let(:response) { JSON.dump(response: { docs: [] }) }
let(:response) { JSON.dump({ response: { docs: [] } }) }

before do
stub_request(:get, /.*/).to_return(body: response)
Expand Down
16 changes: 8 additions & 8 deletions spec/services/article_search_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
subject(:service) { described_class.new }

let(:response) do
JSON.dump(
response: {
docs:
[
{ id: 'abc123', eds_composed_title: 'Composed title', fulltext_link_html: '<a href="#">Link</a>' }
]
}
)
JSON.dump({
response: {
docs:
[
{ id: 'abc123', eds_composed_title: 'Composed title', fulltext_link_html: '<a href="#">Link</a>' }
]
}
})
end
let(:query) { ArticleSearchService::Request.new('my query') }

Expand Down
2 changes: 1 addition & 1 deletion spec/services/catalog_search_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe CatalogSearchService do
subject(:service) { described_class.new }

let(:response) { JSON.dump(response: { docs: [] }) }
let(:response) { JSON.dump({ response: { docs: [] } }) }
let(:query) { CatalogSearchService::Request.new('my query') }

before do
Expand Down

0 comments on commit 0e8f85c

Please sign in to comment.