diff --git a/lib/cob_web_index.rb b/lib/cob_web_index.rb index 99f98d2..49d1ec3 100644 --- a/lib/cob_web_index.rb +++ b/lib/cob_web_index.rb @@ -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 @@ -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