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 +4 -4
- data/CHANGELOG.md +9 -1
- data/lib/i18n/js/engine.rb +5 -3
- data/lib/i18n/js/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2750b5bafd7ceaefcf74278810f3cc126ab11d943b3bb44373d8d839ac2ff715
|
4
|
+
data.tar.gz: 4fd313c8447e68f57fae8488680339bd46f475371646280324865b4b4d6437d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
data/lib/i18n/js/engine.rb
CHANGED
@@ -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
|
-
#
|
68
|
-
#
|
69
|
-
|
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
|
data/lib/i18n/js/version.rb
CHANGED