active_validation 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_validation/version.rb +1 -1
- data/lib/active_validation.rb +1 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54926a3d8fc2b37ef4b5c0b7fe82950194ba01ff
|
4
|
+
data.tar.gz: e45693ab9e903846a35cccdf56a9e45bd9cf451b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da1f48998504391bb0366d46c1ebde39a63f484f120858ee21f19ed1e2ccad3e3c0722b2fb6ab944ed191d375520548e820e1ac8f019043e7e24d6bb3f9dc06f
|
7
|
+
data.tar.gz: 768dfb0d945c9b0509747bacbac1f5e403b5213f9b2c38541b9049f98d89e58d5442c63e132fd2e470e447e0baa820d0ced1eee6dd42db353a0b5f5ae9089be5
|
data/lib/active_validation.rb
CHANGED
@@ -68,7 +68,7 @@ if defined?(Rails)
|
|
68
68
|
|
69
69
|
initializer 'active_validation' do |app|
|
70
70
|
ActiveValidation::Railtie.instance_eval do
|
71
|
-
|
71
|
+
[app.config.i18n.available_locales].each do |locale|
|
72
72
|
(I18n.load_path << path(locale)) if File.file?(path(locale))
|
73
73
|
end
|
74
74
|
end
|
@@ -80,11 +80,6 @@ if defined?(Rails)
|
|
80
80
|
File.expand_path("../../config/locales/#{locale}.yml", __FILE__)
|
81
81
|
end
|
82
82
|
|
83
|
-
def self.locales_from(args)
|
84
|
-
array = Array(args || [])
|
85
|
-
array.blank? ? '*' : array
|
86
|
-
end
|
87
|
-
|
88
83
|
end
|
89
84
|
end
|
90
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_validation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|