summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/validate_numeric.rb
AgeCommit message (Collapse)Author
2016-10-12(MODULES-3961) emit more deprecation warningsDavid Schmitt
This now emits one deprecation warning for each function used (but not for each call-site). Prior to this, only a single deprecation warning would have been triggered, potentially misleading users. Additionally this adds v4 deprecation stubs for the functions that were missed.
2016-08-08(modules-3533) deprecation for 3.x number functiontphoney
2015-05-27validate_integer, validate_numeric: explicitely reject hashes in arraysDavid Schmitt
Without this patch, Ruby 1.8's Hash#to_s behaviour causes [{1=>2}] to be treated as "12" when validating values.
2014-12-05Fixing ruby 1.8 support.Oliver Bertuch
2014-12-04Add new functions validate_numeric() and validate_integer().Oliver Bertuch