i18n-js 3.8.1 → 3.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/README.md +3 -2
- data/lib/i18n/js/middleware.rb +1 -1
- data/lib/i18n/js/private/config_store.rb +1 -1
- data/lib/i18n/js/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4eebc45e9890bdf47c3c7183b008b7383fcfb6415756ca7152bc7b20e5362989
|
|
4
|
+
data.tar.gz: f4228b2bd329a17f99abc3e2cb455ed846126fdecb31cb2cf89ab361ae383a36
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0af9e0e46cbbbeccc196296198d67457c103185713a3df784cc5a8ccf1670a9852a9a0ba1a8ce1aa46f885569bedbc12d1f956270860e67990a05f8e514c5c7a
|
|
7
|
+
data.tar.gz: 6c974b2d308f08edaaf0e387000c3736fb87ece6f012563dd7d731cfd8919d3d850d0c123e5f646e59b911ab613c3e9b7e4fe8bff90d9266227f1871b5cba914
|
data/CHANGELOG.md
CHANGED
|
@@ -18,6 +18,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
18
18
|
- Nothing
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
## [3.8.2] - 2021-03-18
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- [Ruby] Stop using deprecated method
|
|
26
|
+
(PR: https://github.com/fnando/i18n-js/pull/598)
|
|
27
|
+
- [Ruby] Fix typo in error class reference
|
|
28
|
+
(Commit: https://github.com/fnando/i18n-js/commit/cc075ad0a36e940205d0a14390379d69013d188e)
|
|
29
|
+
|
|
30
|
+
|
|
21
31
|
## [3.8.1] - 2021-02-25
|
|
22
32
|
|
|
23
33
|
### Fixed
|
|
@@ -481,7 +491,8 @@ And today is not April Fools' Day
|
|
|
481
491
|
|
|
482
492
|
|
|
483
493
|
|
|
484
|
-
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.8.
|
|
494
|
+
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.8.2...HEAD
|
|
495
|
+
[3.8.2]: https://github.com/fnando/i18n-js/compare/v3.8.1...v3.8.2
|
|
485
496
|
[3.8.1]: https://github.com/fnando/i18n-js/compare/v3.8.0...v3.8.1
|
|
486
497
|
[3.8.0]: https://github.com/fnando/i18n-js/compare/v3.7.1...v3.8.0
|
|
487
498
|
[3.7.1]: https://github.com/fnando/i18n-js/compare/v3.7.0...v3.7.1
|
data/README.md
CHANGED
|
@@ -55,8 +55,9 @@ yarn add i18n-js
|
|
|
55
55
|
npm install i18n-js
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
For more details, see
|
|
59
|
-
[this gist](https://gist.github.com/bazzel/ecdff4718962e57c2d5569cf01d332fe)
|
|
58
|
+
For more details, see:
|
|
59
|
+
- [this gist](https://gist.github.com/bazzel/ecdff4718962e57c2d5569cf01d332fe)
|
|
60
|
+
- https://github.com/fnando/i18n-js/issues/597
|
|
60
61
|
|
|
61
62
|
#### Rails app with [Asset Pipeline](http://guides.rubyonrails.org/asset_pipeline.html)
|
|
62
63
|
|
data/lib/i18n/js/middleware.rb
CHANGED
|
@@ -45,7 +45,7 @@ module I18n
|
|
|
45
45
|
|
|
46
46
|
def save_cache(new_cache)
|
|
47
47
|
# path could be a symbolic link
|
|
48
|
-
FileUtils.mkdir_p(cache_dir) unless File.
|
|
48
|
+
FileUtils.mkdir_p(cache_dir) unless File.exist?(cache_dir)
|
|
49
49
|
File.open(cache_path, "w+") do |file|
|
|
50
50
|
file << new_cache.to_yaml
|
|
51
51
|
end
|
data/lib/i18n/js/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: i18n-js
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.8.
|
|
4
|
+
version: 3.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nando Vieira
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-03-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: i18n
|
|
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
226
226
|
- !ruby/object:Gem::Version
|
|
227
227
|
version: '0'
|
|
228
228
|
requirements: []
|
|
229
|
-
rubygems_version: 3.2.
|
|
229
|
+
rubygems_version: 3.2.14
|
|
230
230
|
signing_key:
|
|
231
231
|
specification_version: 4
|
|
232
232
|
summary: It's a small library to provide the Rails I18n translations on the Javascript.
|