Update gem i18n-js to pick up locale changes

We had some problems recently with changes in en.yml not being picked up
by i18n-js to be included in all.js. There have been some patches for
the current version that have an impact on that:

578555f57e
db3cdf82aa
a88b206644

Trying it out locally, the updated i18n-js gem works while the old
version doesn't update the Javascript translations when new keys are
added. To reproduce the issue, you can add a new key in `en.yml` and
reference it from an Angular template in `app/assets/javascripts/`. The
old version complained about a missing translation until you ran:
```
bundle exec rake tmp:cache:clear
```

We don't need to do that any more.
This commit is contained in:
Maikel Linke
2018-07-23 16:16:04 +10:00
parent 97e61dc6f9
commit f0f9662957

View File

@@ -439,8 +439,8 @@ GEM
multi_json (~> 1.0)
multi_xml
i18n (0.6.11)
i18n-js (3.0.0)
i18n (~> 0.6, >= 0.6.6)
i18n-js (3.0.11)
i18n (>= 0.6.6, < 2)
immigrant (0.1.6)
activerecord (>= 3.0)
foreigner (>= 1.2.1)