i18n-js 4.2.2 → 4.2.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08fcf5b6b9e3cff755d11708a88e88cc8d30609251cba16f52e396a86014ac85'
|
4
|
+
data.tar.gz: 90b3fa30d3e6115fe76f81b5621caba070160cf585890f122aa8f646ee10fd2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02d7a1a0d46b452727465a35cc9a9c46f4e8fe3d0baee2680e75d70fd6512972c7a28481795f9d0a07295612bd8553b932fb27fae2e86f83adc39e4d8aec5209
|
7
|
+
data.tar.gz: 9987a9679a3aa39f50f70e4b7b67469c2c7549b61b738f3104b837119a1afeb253e932119f24bdb39f29ffdb9b1840aa4f9b20035d1a70f71e51cfc8f0310b03
|
data/CHANGELOG.md
CHANGED
@@ -11,6 +11,10 @@ Prefix your message with one of the following:
|
|
11
11
|
- [Security] in case of vulnerabilities.
|
12
12
|
-->
|
13
13
|
|
14
|
+
## v4.2.3 - Mar 29, 2023
|
15
|
+
|
16
|
+
- [Fixed] Load plugins when running `i18n lint:*` commands.
|
17
|
+
|
14
18
|
## v4.2.2 - Dec 30, 2022
|
15
19
|
|
16
20
|
- [Changed] Do not re-export files whose contents haven't changed.
|
data/MIGRATING_FROM_V3_TO_V4.md
CHANGED
@@ -68,6 +68,8 @@ module I18nJS
|
|
68
68
|
end
|
69
69
|
|
70
70
|
config = load_config_file(config_file)
|
71
|
+
I18nJS.load_plugins!
|
72
|
+
I18nJS.initialize_plugins!(config: config)
|
71
73
|
Schema.validate!(config)
|
72
74
|
|
73
75
|
load_require_file!(require_file) if require_file
|
@@ -82,7 +84,7 @@ module I18nJS
|
|
82
84
|
.map {|key| key.gsub(/^.*?\./, "") }
|
83
85
|
end
|
84
86
|
|
85
|
-
default_locale_keys = mapping.delete(default_locale)
|
87
|
+
default_locale_keys = mapping.delete(default_locale) || mapping
|
86
88
|
|
87
89
|
if ignored_keys.any?
|
88
90
|
ui.stdout_print "=> Check #{options[:config_file].inspect} for " \
|
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: 4.2.
|
4
|
+
version: 4.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glob
|
@@ -225,10 +225,10 @@ metadata:
|
|
225
225
|
rubygems_mfa_required: 'true'
|
226
226
|
homepage_uri: https://github.com/fnando/i18n-js
|
227
227
|
bug_tracker_uri: https://github.com/fnando/i18n-js/issues
|
228
|
-
source_code_uri: https://github.com/fnando/i18n-js/tree/v4.2.
|
229
|
-
changelog_uri: https://github.com/fnando/i18n-js/tree/v4.2.
|
230
|
-
documentation_uri: https://github.com/fnando/i18n-js/tree/v4.2.
|
231
|
-
license_uri: https://github.com/fnando/i18n-js/tree/v4.2.
|
228
|
+
source_code_uri: https://github.com/fnando/i18n-js/tree/v4.2.3
|
229
|
+
changelog_uri: https://github.com/fnando/i18n-js/tree/v4.2.3/CHANGELOG.md
|
230
|
+
documentation_uri: https://github.com/fnando/i18n-js/tree/v4.2.3/README.md
|
231
|
+
license_uri: https://github.com/fnando/i18n-js/tree/v4.2.3/LICENSE.md
|
232
232
|
post_install_message:
|
233
233
|
rdoc_options: []
|
234
234
|
require_paths:
|
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
244
|
- !ruby/object:Gem::Version
|
245
245
|
version: '0'
|
246
246
|
requirements: []
|
247
|
-
rubygems_version: 3.4.
|
247
|
+
rubygems_version: 3.4.6
|
248
248
|
signing_key:
|
249
249
|
specification_version: 4
|
250
250
|
summary: Export i18n translations and use them on JavaScript.
|