Skip to content

Commit a7bc9c7

Browse files
committed
Update opensearch
Why these changes are being introduced: We had pinned opensearch to v2.1 in the gemfile due to an upstream bug in more recent versions. That bug has been fixed, so we can now update the gem. Relevant ticket(s): N/A. How this addresses that need: This removes the version specification for opensearch and updates the gem. Side effects of this change: * The test suite now generates `test.sqlite3-shm` and `test.sqlite3-war` files. I've updated the gitignore to ignore these (and any suffixed `test.sqlite3` files). * The psych gem has been updated, unrelated to the opensearch update.
1 parent 1a853ff commit a7bc9c7

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
/.bundle
99

1010
# Ignore the default SQLite database.
11-
/db/*.sqlite3
12-
/db/*.sqlite3-journal
11+
/db/*.sqlite3*
1312

1413
# Ignore all logfiles and tempfiles.
1514
/log/*

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ gem 'graphql'
1111
gem 'jwt'
1212
gem 'lograge'
1313
gem 'mitlibraries-theme', git: 'https://github.com/mitlibraries/mitlibraries-theme', tag: 'v1.0.2'
14-
gem 'opensearch-ruby', '~> 2.1'
14+
gem 'opensearch-ruby'
1515
gem 'puma'
1616
gem 'rack-attack'
1717
gem 'rack-cors'

Gemfile.lock

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,9 @@ GEM
236236
nokogiri (1.15.5)
237237
mini_portile2 (~> 2.8.2)
238238
racc (~> 1.4)
239-
opensearch-api (2.2.0)
240-
multi_json
241-
opensearch-ruby (2.1.0)
242-
opensearch-api (~> 2.1)
243-
opensearch-transport (~> 2.0)
244-
opensearch-transport (2.1.0)
239+
opensearch-ruby (3.1.0)
245240
faraday (>= 1.0, < 3)
246-
multi_json
241+
multi_json (>= 1.0)
247242
orm_adapter (0.5.0)
248243
parallel (1.24.0)
249244
parser (3.2.2.4)
@@ -252,7 +247,7 @@ GEM
252247
pathutil (0.16.2)
253248
forwardable-extended (~> 2.6)
254249
pg (1.5.4)
255-
psych (5.1.1.1)
250+
psych (5.1.2)
256251
stringio
257252
public_suffix (5.0.4)
258253
puma (6.4.0)
@@ -434,7 +429,7 @@ DEPENDENCIES
434429
listen
435430
lograge
436431
mitlibraries-theme!
437-
opensearch-ruby (~> 2.1)
432+
opensearch-ruby
438433
pg
439434
puma
440435
rack-attack

0 commit comments

Comments
 (0)