Sha256: d3fa5b4bd58860137516b6a0566eec5d55d84a87af85918bee9438e1fa63bf75

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

en:
  errors:
    array?: "%{name} must be an array"

    empty?: "%{name} cannot be empty"

    exclusion?: "%{name} must not be one of: %{list}"

    eql?: "%{name} must be equal to %{eql_value}"

    filled?: "%{name} must be filled"

    format?: "%{name} is in invalid format"

    gt?: "%{name} must be greater than %{num}"

    gteq?: "%{name} must be greater than or equal to %{num}"

    hash?: "%{name} must be a hash"

    inclusion?: "%{name} must be one of: %{list}"

    bool?: "%{name} must be boolean"

    int?: "%{name} must be an integer"

    float?: "%{name} must be a float"

    decimal?: "%{name} must be a decimal"

    date?: "%{name} must be a date"

    date_time?: "%{name} must be a date time"

    time?: "%{name} must be a time"

    key?: "%{name} is missing"

    attr?: "%{name} is missing"

    lt?: "%{name} must be less than %{num} (%{value} was given)"

    lteq?: "%{name} must be less than or equal to %{num}"

    max_size?: "%{name} size cannot be greater than %{num}"

    min_size?: "%{name} size cannot be less than %{num}"

    none?: "%{name} cannot be defined"

    str?: "%{name} must be a string"

    size?:
      arg:
        default: "%{name} size must be %{num}"
        range: "%{name} size must be within %{left} - %{right}"

      value:
        string:
          arg:
            default: "%{name} length must be %{num}"
            range: "%{name} length must be within %{left} - %{right}"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-validation-0.6.0 config/errors.yml