Releases
v2.0.0
Compare
Sorry, something went wrong.
No results found
jlw
released this
17 Apr 20:31
What Changed
ensure the configured param! ... options are valid before trying to validate the input value
raises RailsSimpleParams::InvalidConfiguration which contains a message as well as the .param name
refactor exceptions
keep RailsSimpleParams::InvalidParameter as the umbrella for any rejected input values
sub-class exceptions by the kind of rejection:
RailsSimpleParam::EmptyParameter
RailsSimpleParam::InvalidFormat
RailsSimpleParam::InvalidIdentity
RailsSimpleParam::InvalidOption
RailsSimpleParam::InvalidType
RailsSimpleParam::MissingParameter
RailsSimpleParam::OutOfRange
RailsSimpleParam::TooLarge
RailsSimpleParam::TooLong
RailsSimpleParam::TooShort
RailsSimpleParam::TooSmall
Fixes
remove a dead unit test for a file upload (identified by validating param! ... options)
Other Changes
Full Change Set
v1.4.0...v2.0.0
You can’t perform that action at this time.