lib/u-case/with_validation.rb in u-case-2.3.1 vs lib/u-case/with_validation.rb in u-case-2.4.0
- old
+ new
@@ -1,3 +1,6 @@
# frozen_string_literal: true
-require 'micro/case/with_validation'
+warn 'Deprecation: "u-case/with_validation" will be deprecated in the next major release.' \
+ 'Please use "u-case/with_activemodel_validation" instead of it.'
+
+require 'u-case/with_activemodel_validation'