i18n-js 3.8.1 → 3.8.2

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: 6d84f832afa07fc57d3a47e72590f2f4c3bc9839f84957a53936f43f3d65118f
4
- data.tar.gz: 12bb23a1f69e681d01cbdc2667b172994bdb55ae3e848b74449b03c0af552fa2
3
+ metadata.gz: 4eebc45e9890bdf47c3c7183b008b7383fcfb6415756ca7152bc7b20e5362989
4
+ data.tar.gz: f4228b2bd329a17f99abc3e2cb455ed846126fdecb31cb2cf89ab361ae383a36
5
5
  SHA512:
6
- metadata.gz: d7820635c32a92cb118e2896171366adef9f7b1e55249cbce3b548d2cfbf49757c17d6016f86fcde82c5d43a112df9689604d1c086b78961e94fc4fbe7cad645
7
- data.tar.gz: 6ed8844898cc3d6b8c4b7373d0f55863a0d86885548dcf07ed853d50e297050739e9e79ab69770fce1a0bb166196593a8eb3cfa48b61c2dc4c024da21717ebf6
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.1...HEAD
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
 
@@ -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.exists?(cache_dir)
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
@@ -16,7 +16,7 @@ module I18n
16
16
  return @config if @config
17
17
 
18
18
  yield.tap do |obj|
19
- raise AugumentError, "unexpected falsy object from block" unless obj
19
+ raise ArgumentError, "unexpected falsy object from block" unless obj
20
20
 
21
21
  @config = obj
22
22
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module I18n
4
4
  module JS
5
- VERSION = "3.8.1"
5
+ VERSION = "3.8.2"
6
6
  end
7
7
  end
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.1
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-02-25 00:00:00.000000000 Z
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.11
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.