summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/source_file.rb
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2008-12-19 15:05:29 +0100
committerJames Turnbull <james@lovedthanlost.net>2009-03-14 11:29:10 +1100
commit73a0757b559d7e4fbd1da43bbcf4e60fd9155896 (patch)
treefee97655c589893369fbc6308024054942b8966a /lib/puppet/rails/source_file.rb
parent84d6637cfc47a14114493254ec8e68f2887a93d8 (diff)
downloadpuppet-73a0757b559d7e4fbd1da43bbcf4e60fd9155896.tar.gz
puppet-73a0757b559d7e4fbd1da43bbcf4e60fd9155896.tar.xz
puppet-73a0757b559d7e4fbd1da43bbcf4e60fd9155896.zip
Fix #1828 - Scope.number? wasn't strict enough and could produce wrong results
Some invalid numbers were treated as numbers and conversion to Integer was failing returning 0 (for instance 0.24.7). Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/rails/source_file.rb')
0 files changed, 0 insertions, 0 deletions