flash_validators 3.0.8 → 3.0.9

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: 5e9f1369c6d41d384eebbbe18403b58ffc91d4a3
4
- data.tar.gz: e3ffcee08efa244a54183b4f395e97cdc4780e02
3
+ metadata.gz: afa2a42d8b48bb15109730d1ad00881b411c5a40
4
+ data.tar.gz: 096f592d0acbf88cdd94c5815e440da636f562f8
5
5
  SHA512:
6
- metadata.gz: 59cdde21c98d7171cf88faf5b252996392b7b8df0d009027b4c01ffa6c5c16915f10a2d33616da8bab669ce88ec2dbdf2ff58cab0ebe7c1b8622ca2b1b957127
7
- data.tar.gz: a82ea1416a0b24b0f1e20a0e202f1c037ba09e0d74b90ca813abc8d9dc76b98871e41ac65cf15c80f32b6c895f73f7a0d0f4097d201c5ccd1bcda17361222eea
6
+ metadata.gz: f4372a5dbf73b8b1b1b03d8eb3d6b7736c1a1f4250e074e868be5b5ba32efb776a90ba2de4f851af3a385635a5c2e72e24e7d920c47ffd3a9a819ae7ad37fd73
7
+ data.tar.gz: 55bb165ffecc613cc78ac2cac8de539f7b7638f064420d711172b6a4ae8664e302e3c639651cc6a5ff4ffc800cb7434579dd9c5c900e98f8a0fee2eb4124a97c
@@ -1,3 +1,3 @@
1
1
  module FlashValidators
2
- VERSION = "3.0.8"
2
+ VERSION = "3.0.9"
3
3
  end
@@ -70,7 +70,7 @@ if defined?(Rails)
70
70
  locales = locales_from(app.config.i18n.available_locales)
71
71
 
72
72
  locales.each do |locale|
73
- if ['en'].include?(locale)
73
+ if File.file?(path(locale))
74
74
  I18n.load_path << path(locale)
75
75
  end
76
76
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flash_validators
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.8
4
+ version: 3.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez