Skip to content

Commit

Permalink
Merge pull request #164 from tulibraries/DEVO-654-ruby-upgrade-v2
Browse files Browse the repository at this point in the history
Fix argument error in ruby 3.1 version.
  • Loading branch information
sensei100 authored Dec 16, 2022
2 parents e6b56c3 + 2566485 commit ef17a87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cob_web_index.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def self.pull(opts = {})
.each do |path|
url = "#{base_url}#{path}.json"

ingest(opts.merge(ingest_path: url, delete_collection: delete.once))
ingest(**opts.merge(ingest_path: url, delete_collection: delete.once))
end
end

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

Dir.glob(fixtures).each do |file|
ingest(opts.merge(ingest_path: file, delete_collection: delete.once))
ingest(**opts.merge(ingest_path: file, delete_collection: delete.once))
end
end
end
Expand Down

0 comments on commit ef17a87

Please sign in to comment.