solidus_core_devise_token_auth 2.8.0.alpha.12 → 2.8.0.alpha.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spree/core/validators/email.rb +9 -0
- data/lib/spree/core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f580cbd13ed6c7716cdaec1d6023a2d12533beb0e1feb40f6bb6b793c31a4a1
|
4
|
+
data.tar.gz: d38514a7ee74776933d1024f2637ebdc3da4fa9b56b7ff2372cd22a9234c1fa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e11bed15e2edc8016907ce3b88e462e39405d5b420411d241cba65464510a405bbe4606e6ec88cac9298d147117682a5d12fad937395c7dd04f3c85394fc8f6
|
7
|
+
data.tar.gz: fa8ca3a9e99a1114997e3519e94a3eafbdf34681095359f6aab0fcc14309163b863059cdf37f94832fc1a7523080cdac69d738f3af922baa080506a46c39ae61
|
@@ -21,3 +21,12 @@ module Spree
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
24
|
+
|
25
|
+
# @private
|
26
|
+
unless defined?(EmailValidator)
|
27
|
+
EmailValidator = ActiveSupport::Deprecation::DeprecatedConstantProxy.new(
|
28
|
+
'EmailValidator',
|
29
|
+
'Spree::EmailValidator',
|
30
|
+
message: "EmailValidator is deprecated! Use Spree::EmailValidator instead.\nChange `validates :email, email: true` to `validates :email, 'spree/email' => true`\n"
|
31
|
+
)
|
32
|
+
end
|
data/lib/spree/core/version.rb
CHANGED