diff options
author | Jeremy Evans <code@jeremyevans.net> | 2022-01-24 12:03:50 -0800 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2022-01-25 15:14:36 +1300 |
commit | 2cc96fcd3bedd41aace4f4816dce665aca0e2ff9 (patch) | |
tree | 073f40adb2a799c688c91233cf45723f27ed1436 /Gemfile | |
parent | fba681965d592c312d4d4ce6694eb4ae5e9d0f04 (diff) | |
download | rack-2cc96fcd3bedd41aace4f4816dce665aca0e2ff9.tar.gz |
Do not assume YAML.unsafe_load is defined in mock specs
It does not appear to be defined with the YAML shipped in Ruby
2.4-2.7. If not defined, define it to call load. Fixes tests
when you don't force a psych version beyond the one that ships
with Ruby. Remove psych from Gemfile so we test the version
that ships with Ruby.
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -11,8 +11,6 @@ group :maintenance, optional: true do gem "rubocop-packaging", require: false end -gem "psych", "~> 4.0" - group :doc do gem 'rdoc' end |