date_validator 0.8.0 → 0.8.1

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: 5f8f859465fc2a2eedc9ca6e02e571595b90379d
4
- data.tar.gz: 5512229010aa291eccd0f7aae359e7007b2eccfb
3
+ metadata.gz: 64c74e7124cae4c859430982336b626a78ed31a9
4
+ data.tar.gz: b7d7eb4581f8455351639780b4e7484062d1630c
5
5
  SHA512:
6
- metadata.gz: cfa3bf68fb302764c093774e54b72a4ad57ad4543b39a6e05a1cc706d4b8670559cdae735f9abded88926f38cfe0024efcded0f6210adfc790b9afa78a54121c
7
- data.tar.gz: c1efda702378e821041575bcd9dd2f2b5867ef2b7fedffe54307b91e43b953708b21399deb381351b7b32a7efe12bbb39c3687617d7474549197b9d6c7b7c5bd
6
+ metadata.gz: c1211d0270a5b4e047c7c2fa6d15f4da30ce401e7a633df01f468a32b1257ed2f67f1dad7b28c1ca693d1a9ccfdcc6c6e65fdf031099c50b0532871f063baf34
7
+ data.tar.gz: 2244976f32203b9a077260674f57d736dc2e8fbfc37886176955a62344e904ee4b22a43248040450770876cd533998f678cd29777f418e25e27bd393765990e9
@@ -1,5 +1,6 @@
1
1
  module DateValidator
2
2
  class Engine < Rails::Engine
3
- paths["config/locales"] = 'locales'
3
+ files = Dir[Pathname.new(File.dirname(__FILE__)).join('../..', 'locales', '*.yml')]
4
+ config.i18n.load_path += files
4
5
  end
5
6
  end
@@ -1,4 +1,4 @@
1
1
  module DateValidator
2
2
  # The version number.
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
  end
@@ -2,8 +2,8 @@ ja:
2
2
  errors:
3
3
  messages:
4
4
  not_a_date: "は日付ではありません"
5
- after: "は%{date}より前に設定してください"
6
- after_or_equal_to: "は%{date}以前に設定してください"
7
- before: "は%{date}より後に設定してください"
8
- before_or_equal_to: "は%{date}以後に設定してください"
5
+ after: "は%{date}より後に設定してください"
6
+ after_or_equal_to: "は%{date}以後に設定してください"
7
+ before: "は%{date}より前に設定してください"
8
+ before_or_equal_to: "は%{date}以前に設定してください"
9
9
  equal_to: "は%{date}にしてください"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: date_validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oriol Gual
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-05-23 00:00:00.000000000 Z
13
+ date: 2015-06-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activemodel