active_validation 4.0.1 → 4.0.2
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/.DS_Store +0 -0
- data/lib/active_validation/railtie.rb +4 -2
- data/lib/active_validation/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5900ea8701e57940246bd10f2008d20b476b9ac2
|
4
|
+
data.tar.gz: a263fb5af884117a892f8cf956c2522452d92d1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9e37a268bd06a3cd969ac9956425ccff6fa2e3d26d735a7c1b13913a20b66d2d1b5b5a1ec06df5e3e4fe61f441b56d260cf1da01897d15644f30cd314eb108d
|
7
|
+
data.tar.gz: da8b17e845ecdcd7c5e4f2ea359fd44622dca810e9c8289b17fc254857c605f465aacfcaee70b0d27f81385cadc1b7e91a481ade9527290f67156cc918d218ad
|
Binary file
|
@@ -1,4 +1,6 @@
|
|
1
1
|
if defined?(Rails)
|
2
|
+
require 'rails'
|
3
|
+
|
2
4
|
class ActiveValidation::Railtie < ::Rails::Railtie
|
3
5
|
|
4
6
|
initializer 'active_validation' do |app|
|
@@ -9,11 +11,11 @@ if defined?(Rails)
|
|
9
11
|
end
|
10
12
|
end
|
11
13
|
|
14
|
+
protected
|
15
|
+
|
12
16
|
def self.path(locale)
|
13
17
|
File.expand_path("../../config/locales/#{locale}.yml", __FILE__)
|
14
18
|
end
|
15
19
|
|
16
|
-
private_class_method :path
|
17
|
-
|
18
20
|
end
|
19
21
|
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: 4.0.
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
227
|
version: '0'
|
228
228
|
requirements: []
|
229
229
|
rubyforge_project:
|
230
|
-
rubygems_version: 2.6.
|
230
|
+
rubygems_version: 2.6.7
|
231
231
|
signing_key:
|
232
232
|
specification_version: 4
|
233
233
|
summary: Gem for commonly used validators.
|