Skip to content

Commit ef17a87

Browse files
authored
Merge pull request #164 from tulibraries/DEVO-654-ruby-upgrade-v2
Fix argument error in ruby 3.1 version.
2 parents e6b56c3 + 2566485 commit ef17a87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cob_web_index.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def self.pull(opts = {})
5151
.each do |path|
5252
url = "#{base_url}#{path}.json"
5353

54-
ingest(opts.merge(ingest_path: url, delete_collection: delete.once))
54+
ingest(**opts.merge(ingest_path: url, delete_collection: delete.once))
5555
end
5656
end
5757

@@ -70,7 +70,7 @@ def self.ingest_fixtures(opts = {})
7070
delete = TrueOnce.new
7171

7272
Dir.glob(fixtures).each do |file|
73-
ingest(opts.merge(ingest_path: file, delete_collection: delete.once))
73+
ingest(**opts.merge(ingest_path: file, delete_collection: delete.once))
7474
end
7575
end
7676
end

0 commit comments

Comments
 (0)