diff options
author | Bobby McDonald <bobbymcwho@gmail.com> | 2019-10-18 00:13:46 -0400 |
---|---|---|
committer | Bobby McDonald <bobbymcwho@gmail.com> | 2019-10-25 20:27:26 -0400 |
commit | 3dfa27f1196851864a6c477400b3b70ffb5aff32 (patch) | |
tree | 40a3fb004fa5f61af1f501c46a49de0cb58e46dd /UPGRADING.md | |
parent | 61209169b454ce11455091f087a61de61c48e28d (diff) | |
download | hashie-3dfa27f1196851864a6c477400b3b70ffb5aff32.tar.gz |
Remove references to blacklists and whitelists
Diffstat (limited to 'UPGRADING.md')
-rw-r--r-- | UPGRADING.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UPGRADING.md b/UPGRADING.md index 1374e10..24fe253 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -50,7 +50,7 @@ There shouldn't really be a case that anyone was relying on catching this specif The `Hashie::Mash#load` method now accepts options, changing the interface of `Parser#initialize`. If you have a custom parser, you must update its `initialize` method. -For example, `Hashie::Extensions::Parsers::YamlErbParser` now accepts `whitelist_classes`, `whitelist_symbols` and `aliases` options. +For example, `Hashie::Extensions::Parsers::YamlErbParser` now accepts `permitted_classes`, `permitted_symbols` and `aliases` options. Before: @@ -76,7 +76,7 @@ end Options can now be passed into `Mash#load`. ```ruby -Mash.load(filename, whitelist_classes: []) +Mash.load(filename, permitted_classes: []) ``` ### Upgrading to 3.5.2 |