i18n-js 3.0.6 → 3.0.7

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
  SHA256:
3
- metadata.gz: 8876b958725c3fb0670a31a6ff1c2b25d697db8d2842acb142c86ca8df46fbe0
4
- data.tar.gz: 7ba32802400ef2e9ab4a9d07afd2b7eadba47f60e087bdf6de441f29204f183e
3
+ metadata.gz: 2750b5bafd7ceaefcf74278810f3cc126ab11d943b3bb44373d8d839ac2ff715
4
+ data.tar.gz: 4fd313c8447e68f57fae8488680339bd46f475371646280324865b4b4d6437d6
5
5
  SHA512:
6
- metadata.gz: d90c6639b712a323d5471cbfdb0bec2ebdffd50f3f78cb2ca30d2d59c3b4cf03592af83f8d6471837e05ab1aa20526a73b440ac1587b42dcd826d322bb2c8e1f
7
- data.tar.gz: 0cddfd47ca93dafcdd02ce304011c9388bc8d7e075a957a9b24a98edcb7a60202efad1266080c3d9721925d274441d4ae372f5be8b9f8be23d3e0237a4b53212
6
+ metadata.gz: 8bccb10c908add935804e7b640a3b0fcb1b656e11f8e034791c5261103fc790272c179cd976a40ff225fc7a3eb5abc2a76e53ec7c0e421193d854e48b16313a8
7
+ data.tar.gz: efacce778c4a6350eb7fca8887bdc7603afcaad0d50bf9471b14ad7df920f880f1533b3b5a94650908119daf6d0c81b306a14e077edde08a1507f2bbb7d79784
data/CHANGELOG.md CHANGED
@@ -18,6 +18,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
18
18
  - Nothing
19
19
 
20
20
 
21
+ ## [3.0.7] - 2018-05-30
22
+
23
+ ### Fixed
24
+
25
+ - [Ruby] Fix new bug occuring when config file is absent
26
+
27
+
21
28
  ## [3.0.6] - 2018-05-30
22
29
 
23
30
  ### Fixed
@@ -294,7 +301,8 @@ And today is not April Fools' Day
294
301
 
295
302
 
296
303
 
297
- [Unreleased]: https://github.com/fnando/i18n-js/compare/v3.0.6...HEAD
304
+ [Unreleased]: https://github.com/fnando/i18n-js/compare/v3.0.7...HEAD
305
+ [3.0.7]: https://github.com/fnando/i18n-js/compare/v3.0.6...v3.0.7
298
306
  [3.0.6]: https://github.com/fnando/i18n-js/compare/v3.0.5...v3.0.6
299
307
  [3.0.5]: https://github.com/fnando/i18n-js/compare/v3.0.4...v3.0.5
300
308
  [3.0.4]: https://github.com/fnando/i18n-js/compare/v3.0.3...v3.0.4
@@ -64,9 +64,11 @@ module I18n
64
64
  # Absolute path is required or
65
65
  # Sprockets assumes it's a logical path
66
66
  #
67
- # Also it's fine to depend on an absent file
68
- # Sprocket will ignore paths of absent files
69
- context.depend_on(File.expand_path(I18n::JS.config_file_path))
67
+ # Calling `depend on` with an absent file
68
+ # will invoke `resolve` and will throw an error in the end
69
+ if I18n::JS.config_file_exists?
70
+ context.depend_on(File.expand_path(I18n::JS.config_file_path))
71
+ end
70
72
  end
71
73
 
72
74
  source
@@ -2,6 +2,6 @@
2
2
 
3
3
  module I18n
4
4
  module JS
5
- VERSION = "3.0.6"
5
+ VERSION = "3.0.7"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-js
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.6
4
+ version: 3.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira