inertia_i18n 0.7.0 → 0.8.1

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: 4e612133c6b6af1e6269626c3af83a4c27c846b50f2b75f1a12d51559425a3d5
4
- data.tar.gz: f2524dc747a6314a7a482566b086cc854b1a1276ae048b04cb8002946d5a4910
3
+ metadata.gz: 3af416da59e34b8da7a51451c98708d846762a3123ee761a70d4fb92c75d2baa
4
+ data.tar.gz: 3652eda3451023478522d699ff06a37a635ff973b3f6a3c185450e4231671f5d
5
5
  SHA512:
6
- metadata.gz: e2675724ebf16a84ce0a13c3b7d09cc7d16b4c587f79c5ba05840100e796f16d86193e590011f08c6685d557926f63966191456c7bb72d4345397013d4fee80f
7
- data.tar.gz: 166504db3b51629f77c9fb112c53f5ba87e661d1558f72beb22f2849996ded50dbee7c94a8879cfe07fd54590291df22ac97bd87e28a6a39c956b5e1e19a323a
6
+ metadata.gz: 6c9de417beb25ff7c4154fc72ad115b7ac1b74760eaf7338759dd18a6c1dc11e0b2bc4383820997d3e8663179a3d73751d49c76a7ec36aa5f3e6e808aaf9ea44
7
+ data.tar.gz: acc5057b9589b2dfadea3b4eb3785913a1df215d47c806bed7a8d1cf06bc0fc7a4b91c10ff5836fbb02eb425c70cb1d339465436054b2c5a539472495e78ea2b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.8.1] - 2026-07-15
4
+
5
+ ### Changed
6
+
7
+ - CI now tests against Ruby 3.3+ (Ruby 3.2 removed from the test matrix). The gem itself still supports Ruby >= 3.2.
8
+ - Dependency updates (concurrent-ruby 1.3.7, nokogiri 1.19.4, erb 6.0.4, rack 3.2.6, rack-session 2.1.2, activesupport 8.1.2.1, json 2.19.2, loofah 2.25.1)
9
+
10
+ ## [0.8.0] - 2026-02-27
11
+
12
+ ### Added
13
+
14
+ - **Full Pluralization Support:** `Converter` now fully supports parsing `zero`, `one`, `two`, `few`, `many`, and `other` plural forms from YAML into i18next JSON syntax.
15
+ - **Smart Plural Syncing:** `health` check `unsync` and `unused` commands now group plural keys (e.g. `apples_one`, `apples_few`) under a single `apples (plural forms)` message. This prevents false positives when locales have differing sets of pluralization rules (e.g. Russian vs. English) and drastically reduces warning noise.
16
+
3
17
  ## [0.7.0] - 2026-02-27
4
18
 
5
19
  ### Added
data/README.md CHANGED
@@ -217,6 +217,8 @@ en:
217
217
  }
218
218
  ```
219
219
 
220
+ *Note: The converter supports all standard plural forms (`zero`, `one`, `two`, `few`, `many`, `other`) and maps them to the syntax expected by i18next.*
221
+
220
222
  ### Smart Scanning
221
223
 
222
224
  Detects translation usage in:
@@ -152,7 +152,7 @@ module InertiaI18n
152
152
 
153
153
  def normalize_keys_for_sync(keys)
154
154
  plural_suffixes = %w[_zero _one _two _few _many _other]
155
-
155
+
156
156
  normalized = Set.new
157
157
  keys.each do |key|
158
158
  suffix = plural_suffixes.find { |s| key.end_with?(s) }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InertiaI18n
4
- VERSION = "0.7.0"
4
+ VERSION = "0.8.1"
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.7.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Poimtsev
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  - !ruby/object:Gem::Version
199
199
  version: '0'
200
200
  requirements: []
201
- rubygems_version: 4.0.7
201
+ rubygems_version: 4.0.16
202
202
  specification_version: 4
203
203
  summary: Translation management for Inertia.js applications
204
204
  test_files: []