puppetlabs-stdlib/spec
Steve Huff 4a5218a8af Reworked number-handling logic
No more coercing to String and regex matching.  Instead, we now coerce
to Integer at the beginning or raise an error if we cannot coerce to
Integer.

A consequence of this change is that the function will now accept
blatantly non-numeric strings as input, and return false.  This seems a
bit goofy to me, but it's how String#to_i works.  If we really don't
like this, then I'm open to suggestions.
2013-03-29 12:54:37 -04:00
..
functions Add getparam function to get defined resource parameters 2013-01-09 17:51:12 -08:00
monkey_patches puppet-lint cleanup 2012-11-15 10:38:03 -06:00
unit Reworked number-handling logic 2013-03-29 12:54:37 -04:00
spec.opts Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
spec_helper.rb Revert "Revert "Merge branch '2.5.x' into 3.0.x"" 2012-10-25 15:44:14 -07:00
watchr.rb (Maint) Add watchr autotest script 2011-10-10 12:03:57 -07:00