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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97b15e37264fd723e24e117c532eb84154a3cad6
4
- data.tar.gz: f650b8955acef0018411251f5235ea657528f726
3
+ metadata.gz: fa071f15b682de9aea75e8f7fdee81e7cd859a90
4
+ data.tar.gz: 3592128e46c0d3ee1664db0820adebb5cb20dc12
5
5
  SHA512:
6
- metadata.gz: 1dc2eec213c87b3aaacba8ef31a6493776226282b6d5712e678268c610bf4d5fa6521befbda1fa1e6e340c3f9fd15f3bfa5a7a796759361de4332b61febfdbd9
7
- data.tar.gz: 17d3b763f99f4e42dda210f423d4d5bb10b71e4774d5d9e36083dd5d2c40c67165fb9d9af1546cbea8fc6ff1ef770f23b5c9bc741b253e3b3ed5ce799bc0ed1b
6
+ metadata.gz: a62bb29b7e6b2b458a14cb5917a27c6ebe7990b14b404644e2b839adf484c35c417626d757ffbccf89bbeedc296aa4e253775aba68de1f2d3c3392c694d6d4d5
7
+ data.tar.gz: dce8abeeb8e63d58c618a9a37e27993306cd2fc8880931a965789500118afb2d2ef1c27445ce09f89e16f1a59e8900286bcb11eab1125e95f42879ba6de1a175
data/bin/rake CHANGED
@@ -5,7 +5,6 @@
5
5
  #
6
6
  # The application 'rake' is installed as part of a gem, and
7
7
  # this file is here to facilitate running it.
8
- #
9
8
 
10
9
  require 'pathname'
11
10
  ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', Pathname.new(__FILE__).realpath)
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'action_dispatch'
4
- require 'active_model'
5
- require 'active_support'
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
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'csv'
4
+
3
5
  class CsvValidator < ActiveModel::EachValidator
4
6
 
5
7
  CHECKS ||= {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveValidation
4
- VERSION ||= '4.1.0'
4
+ VERSION ||= '5.0.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_validation
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez