inertia_i18n 0.1.1 → 0.1.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 +5 -1
- data/lib/generators/inertia_i18n/templates/i18n_spec.rb +15 -15
- data/lib/inertia_i18n/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: 387c687735a83f8df1f619dc381a81293006c1a4985e5f2720b6d97b545deaad
|
|
4
|
+
data.tar.gz: 4c3bc331e6891a437439b405fab4fa37f93e0616d8a33d17980d9136e101b9e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5c26ade97a6f4071f1a9e55154aeeac077055e820a751d1f2bbe768f62d8c9193aca4bfabf6f43c23365f78002e06a0fec285152e8643cded690b7d8718a93f
|
|
7
|
+
data.tar.gz: 3f491bcfde5fa3a51ebc31a60bc3f731b5406fee34f507961b34bd6522941726bc9f41aaa52b67f66c52abf2e10662d992f23687496e0d9d175dfa3224c04e96
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.1.2] - 2026-01-16
|
|
4
|
+
|
|
5
|
+
- Fix `LocalJumpError` in generated RSpec test file
|
|
6
|
+
|
|
3
7
|
## [0.1.1] - 2026-01-16
|
|
4
8
|
|
|
5
9
|
- Change generated test file paths to `spec/inertia_i18n_spec.rb` and `test/inertia_i18n_test.rb`
|
|
6
10
|
|
|
7
|
-
## [0.1.0] - 2026-01-
|
|
11
|
+
## [0.1.0] - 2026-01-16
|
|
8
12
|
|
|
9
13
|
- Initial release
|
|
@@ -9,23 +9,23 @@ RSpec.describe InertiaI18n::HealthChecker do
|
|
|
9
9
|
|
|
10
10
|
checker = described_class.new.check!
|
|
11
11
|
|
|
12
|
-
return if checker.healthy?
|
|
13
|
-
|
|
14
12
|
message = ["\nTranslation health check failed!"]
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
14
|
+
unless checker.healthy?
|
|
15
|
+
if checker.issues[:missing].any?
|
|
16
|
+
message << "\nMissing Keys (#{checker.issues[:missing].count}):"
|
|
17
|
+
checker.issues[:missing].each { |i| message << " - #{i[:key]}" }
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
if checker.issues[:unused].any?
|
|
21
|
+
message << "\nUnused Keys (#{checker.issues[:unused].count}):"
|
|
22
|
+
checker.issues[:unused].each { |i| message << " - #{i[:key]}" }
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
if checker.issues[:unsync].any?
|
|
26
|
+
message << "\nLocale Synchronization Issues (#{checker.issues[:unsync].count}):"
|
|
27
|
+
checker.issues[:unsync].each { |i| message << " - #{i[:key]} (in #{i[:locale]})" }
|
|
28
|
+
end
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
expect(checker.healthy?).to be(true), message.join("\n")
|
data/lib/inertia_i18n/version.rb
CHANGED