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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d932970843f5d25f14117bd66f2f2ec3903324bb
4
- data.tar.gz: 0c8572a51416a466cc3cb4f313952e4f75447de0
3
+ metadata.gz: 5900ea8701e57940246bd10f2008d20b476b9ac2
4
+ data.tar.gz: a263fb5af884117a892f8cf956c2522452d92d1a
5
5
  SHA512:
6
- metadata.gz: '08d6ca92e810dbaebea9fa97bc861dcce0028d803e94bd76846ab080be3128787dad3a6ebd97b1dc804ff5564cfb019a10ebd4e52acb83e142045738658444ad'
7
- data.tar.gz: c708bc6a229f45bf94a1fe7497d7b311259184a1e04f13321d8011f02f8019fa2bcfd7d2fe11d47c3710f1d228315a972fdbbf8cf61b79319ce43ea3c320e7f2
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
@@ -1,3 +1,3 @@
1
1
  module ActiveValidation
2
- VERSION = '4.0.1'.freeze
2
+ VERSION = '4.0.2'.freeze
3
3
  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.1
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-01 00:00:00.000000000 Z
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.6
230
+ rubygems_version: 2.6.7
231
231
  signing_key:
232
232
  specification_version: 4
233
233
  summary: Gem for commonly used validators.