lib/aws/record/validators/numericality.rb in aws-sdk-1.8.0 vs lib/aws/record/validators/numericality.rb in aws-sdk-1.8.1
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+# Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
@@ -21,10 +21,10 @@
ACCEPTED_OPTIONS = [
:greater_than, :greater_than_or_equal_to,
:less_than, :less_than_or_equal_to,
:equal_to, :only_integer, :odd, :even,
- :message, :allow_nil, :on, :if, :unless,
+ :message, :allow_nil, :allow_blank, :on, :if, :unless,
]
COMPARISONS = {
:equal_to => :==,
:greater_than => :>,