summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorRyan McKern <ryan.mckern@puppetlabs.com>2014-05-15 15:01:14 -0700
committerRyan McKern <ryan.mckern@puppetlabs.com>2014-05-15 15:01:14 -0700
commit93c4151edfedb28a0cafa60011c57eb6d76ca6be (patch)
tree5321e18a8badd91c72eb7f6a3b20d62cfe293e3f /Gemfile
parent0761fcf0433b1c73ff9925d1b8fa20a618f28875 (diff)
downloadpuppet-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 'Gemfile')
0 files changed, 0 insertions, 0 deletions