active_validation 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30fc4f9a1e1513760c6a6e89377de0ec0fad9986
4
- data.tar.gz: 5c53383b55cbe7500f0665375035599b759ae9f8
3
+ metadata.gz: 54926a3d8fc2b37ef4b5c0b7fe82950194ba01ff
4
+ data.tar.gz: e45693ab9e903846a35cccdf56a9e45bd9cf451b
5
5
  SHA512:
6
- metadata.gz: 899cd1d1afea9f43a373f483d8ebb18bb12191e4f85f903332529f29ed0f57602d2754ff48b6a9f3604b0bd16aa2cb7b2aa2a1b5dbce4325851a8e64908fbff0
7
- data.tar.gz: 5aac70ad5078bdecd33492af3c9bb1cb4a82e0496bfe757fbe10c660a72e57a9db2b7f4bea14609c872cfa99df6e06867019b687f5d03b0b30bba624a82ec82c
6
+ metadata.gz: da1f48998504391bb0366d46c1ebde39a63f484f120858ee21f19ed1e2ccad3e3c0722b2fb6ab944ed191d375520548e820e1ac8f019043e7e24d6bb3f9dc06f
7
+ data.tar.gz: 768dfb0d945c9b0509747bacbac1f5e403b5213f9b2c38541b9049f98d89e58d5442c63e132fd2e470e447e0baa820d0ced1eee6dd42db353a0b5f5ae9089be5
@@ -1,3 +1,3 @@
1
1
  module ActiveValidation
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
@@ -68,7 +68,7 @@ if defined?(Rails)
68
68
 
69
69
  initializer 'active_validation' do |app|
70
70
  ActiveValidation::Railtie.instance_eval do
71
- locales_from(app.config.i18n.available_locales).each do |locale|
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.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-14 00:00:00.000000000 Z
11
+ date: 2015-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel