Merge leading and trailing whitespace validators
authorTom Hughes <tom@compton.nu>
Mon, 5 Nov 2018 18:29:17 +0000 (18:29 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 5 Nov 2018 18:29:17 +0000 (18:29 +0000)
commitb4ef61a9f31ac8bb911c094bc2fb00a9fa2102a6
treea090e9db90fd69883dd00f6dd90881a860aa0f75
parent873ac155cabfb1aab8d887d07bc8389617d3f843
Merge leading and trailing whitespace validators
app/models/user.rb
app/validators/leading_whitespace_validator.rb [deleted file]
app/validators/trailing_whitespace_validator.rb [deleted file]
app/validators/whitespace_validator.rb [new file with mode: 0644]
test/validators/leading_whitespace_validator_test.rb [deleted file]
test/validators/trailing_whitespace_validator_test.rb [deleted file]
test/validators/whitespace_validator_test.rb [new file with mode: 0644]