active_validation 4.1.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rake +0 -1
- data/lib/active_validation.rb +4 -4
- data/lib/active_validation/validators/csv_validator.rb +2 -0
- data/lib/active_validation/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa071f15b682de9aea75e8f7fdee81e7cd859a90
|
4
|
+
data.tar.gz: 3592128e46c0d3ee1664db0820adebb5cb20dc12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a62bb29b7e6b2b458a14cb5917a27c6ebe7990b14b404644e2b839adf484c35c417626d757ffbccf89bbeedc296aa4e253775aba68de1f2d3c3392c694d6d4d5
|
7
|
+
data.tar.gz: dce8abeeb8e63d58c618a9a37e27993306cd2fc8880931a965789500118afb2d2ef1c27445ce09f89e16f1a59e8900286bcb11eab1125e95f42879ba6de1a175
|
data/bin/rake
CHANGED
data/lib/active_validation.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require
|
5
|
-
|
3
|
+
%w[action_dispatch active_model active_support].each do |file_name|
|
4
|
+
require file_name
|
5
|
+
end
|
6
|
+
|
6
7
|
require 'active_support/core_ext/time/zones'
|
7
8
|
require 'active_validation/version'
|
8
|
-
require 'csv'
|
9
9
|
|
10
10
|
ACTIVE_VALIDATION_VALIDATORS ||= %w[
|
11
11
|
alpha alpha_numeric base64 boolean coordinate credit_card csv currency cusip email equality
|