With the release of 4.0.0, receiving the following error for yaml files with dates
Tried to load unspecified class: Date (Psych::DisallowedClass)
Yaml file that I am attempting to load is
I was able to reproduce locally between two project by simply running the following code
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'yaml'
path = File.join(__dir__, 'file.yml')
data = YAML.load_file(path)
puts data
The version with a 3.3.2 loads as expected
> ./test.rb
{"date"=>#<Date: 2013-10-16 ((2456582j,0s,0n),+0s,2299161j)>}