diff options
author | Ryan McKern <ryan.mckern@puppetlabs.com> | 2014-05-15 15:01:14 -0700 |
---|---|---|
committer | Ryan McKern <ryan.mckern@puppetlabs.com> | 2014-05-15 15:01:14 -0700 |
commit | 93c4151edfedb28a0cafa60011c57eb6d76ca6be (patch) | |
tree | 5321e18a8badd91c72eb7f6a3b20d62cfe293e3f /spec/acceptance/delete_values_spec.rb | |
parent | 0761fcf0433b1c73ff9925d1b8fa20a618f28875 (diff) | |
download | puppet-stdlib-93c4151edfedb28a0cafa60011c57eb6d76ca6be.tar.gz puppet-stdlib-93c4151edfedb28a0cafa60011c57eb6d76ca6be.tar.bz2 |
(MODULES-905) Narrow the confinement in bool2str
Previously, bool2str() accepted a broad array of boolean values and
bare strings, without any attempt to validate that the strings in any
way resembled "true" or "false" (or any of the other values bool2num()
accepts). This commit narrows the input confinement to TrueClass and
FalseClass, which means that bool2str() will only interpolate
strict boolean values now.
Diffstat (limited to 'spec/acceptance/delete_values_spec.rb')
0 files changed, 0 insertions, 0 deletions