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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a4954965db51e0c477201a5fd1b3951c8442545556630e63fa733a429da252d
4
- data.tar.gz: b5e20502b975c6a77a12a045432fe54c66026b26b5a78c0a5bf2472d83eb092d
3
+ metadata.gz: 387c687735a83f8df1f619dc381a81293006c1a4985e5f2720b6d97b545deaad
4
+ data.tar.gz: 4c3bc331e6891a437439b405fab4fa37f93e0616d8a33d17980d9136e101b9e7
5
5
  SHA512:
6
- metadata.gz: f3d2a66d32aee58cdb436187dcfb75cef820322f80de05a042733343dfa913fe3fcf38259727c993ea44f21aec46d4d0b1be6d58bd47ad6e09c8df76a42d9057
7
- data.tar.gz: 7f0b6a6857d5eba1602131f8f4e0ab7617e1c3c69da0d5c946c4a49b64daf109d0adb8fee89002808d8e0d1bffcfbf7de437420c27667ca1f70072f40c57af2c
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-06
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
- if checker.issues[:missing].any?
17
- message << "\nMissing Keys (#{checker.issues[:missing].count}):"
18
- checker.issues[:missing].each { |i| message << " - #{i[:key]}" }
19
- end
20
-
21
- if checker.issues[:unused].any?
22
- message << "\nUnused Keys (#{checker.issues[:unused].count}):"
23
- checker.issues[:unused].each { |i| message << " - #{i[:key]}" }
24
- end
25
-
26
- if checker.issues[:unsync].any?
27
- message << "\nLocale Synchronization Issues (#{checker.issues[:unsync].count}):"
28
- checker.issues[:unsync].each { |i| message << " - #{i[:key]} (in #{i[:locale]})" }
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")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InertiaI18n
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inertia_i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Poimtsev