inertia_i18n 0.4.1 → 0.4.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: 233834d7267d92e29c7209378f7acfcec0eeb9e8caf0f5605e4940fff5206c58
4
- data.tar.gz: 18e927a425cc0d03d050f06f9c1a9e9e26900026ae8b84a3338d30f81d8ce80b
3
+ metadata.gz: df8d89e26cf65c9ff69fc72a7d2e059b401f26adde1d5732c15a9d58cc5ee842
4
+ data.tar.gz: c7002a972e2d55c1e09c5040aa7150f40f2d71e32cdf59440ddfbda59de978c4
5
5
  SHA512:
6
- metadata.gz: f941c6526e672ee6ece9659470b6d16c408e84c3e5a58f13afe2776fb7eb6df1ff63cf2b083c196fede0093fd902c1861f7a5b24dd508008884907183e45a15b
7
- data.tar.gz: 762bb697ad13c286d438fe923cde68bad3cf3e0e9cdeb6f1aa1042eb083850f1ca716fe6b0d801809879cad59c18eb198d1b1105c6cf06877a5d8742d1070070
6
+ metadata.gz: 3e3075ff9e5f1fd53d058e04f775855e100bc23948f79715010ac0d569f200443b6a966fdfbcb157656183129b24e6afae5e72312a927537f5d83644d7871629
7
+ data.tar.gz: f9c6bc07fd0623ca25b4031638ff53109390fb1ec1ed40d54b6a8769c50ca430428f756d7ec09391ded9e993bcdbeb45ff5f333040db70ef57db57827270dfcf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.4.2] - 2026-02-05
4
+
5
+ ### Fixed
6
+
7
+ - `watch` command not detecting changes when `source_paths` contains `Pathname` objects
8
+
3
9
  ## [0.4.1] - 2026-02-05
4
10
 
5
11
  ### Changed
@@ -31,10 +31,11 @@ module InertiaI18n
31
31
  def watch
32
32
  load_config(options[:config])
33
33
  config = InertiaI18n.configuration
34
+ paths = config.source_paths.map(&:to_s)
34
35
 
35
- puts "👀 Watching #{config.source_paths.join(", ")} for YAML changes..."
36
+ puts "👀 Watching #{paths.join(", ")} for YAML changes..."
36
37
 
37
- listener = Listen.to(*config.source_paths, only: /\.(yml|yaml)$/) do |modified, added, removed|
38
+ listener = Listen.to(*paths, only: /\.(yml|yaml)$/) do |modified, added, removed|
38
39
  puts "📝 Detected locale file changes..."
39
40
  (modified + added + removed).each do |file|
40
41
  puts " #{file}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InertiaI18n
4
- VERSION = "0.4.1"
4
+ VERSION = "0.4.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.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Poimtsev