watchcat 0.6.0-arm64-darwin → 0.6.1-arm64-darwin

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: b8cd7b52aebfcca83f0bf9507e351e538efa6f3c81b9e0a27d7e6ed104194cec
4
- data.tar.gz: defa7289a622df3684111e96f80e46e741757b81f16a9f4dd13f374b090ce28e
3
+ metadata.gz: 02ca4fce23ad0168f8afef55a8d9df0bf82fa3d4d4b201d2f9d5b8a71c88db26
4
+ data.tar.gz: c2885a6b84476b4f04f36f64899ce0dd9a06bde314d456f23590271feeb65beb
5
5
  SHA512:
6
- metadata.gz: 19034265729f9313959577af0c017dfee7eadda3a4c29c5238013e2a18f40cd7c821c48e6389932f3e147b9de34bfc96f96853b0be7916e9373f91b297f299eb
7
- data.tar.gz: 9f8f61fc124d620296611017e14c6868a59962caa0db86d9af9c2dc1ac0f45a09b0eb44ed2631803f361c31fdb3ca54195920b5bfb3b5a5df34e9a774d68c611
6
+ metadata.gz: 02734eea66b46e6c641f0e8a5d335c95e6cf396e77cff0f02a8385c5e7026759083b52bca82a1a9188d8c56575459f228b1be49f135c3c9940f3feb4d3d48f6c
7
+ data.tar.gz: 30fbc962352417c7af6f102fd049c305ef9b03bf84d5ff11d3a76a68a15c864f0d6f62dc664a82e8ca7aa39d54513b77ab61151f2cf0947b0eb1375184d95f3b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 0.6.1
4
+
5
+ * Add `#alive?` to the watcher returned by `Watchcat.watch` for checking whether the background watcher thread is still running.
6
+ * Fix `ignore_access` being a no-op on macOS: FSEvents has no `Access` event kind, so a plain read was surfacing as an unclassified `Modify(Metadata)` event instead and passing the filter unfiltered.
7
+
3
8
  ## 0.6.0
4
9
 
5
10
  * Add `#watch`, `#unwatch`, and `#watched` to the watcher returned by `Watchcat.watch` for dynamically managing watched paths.
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -71,6 +71,12 @@ module Watchcat
71
71
  @paths.dup
72
72
  end
73
73
 
74
+ # Whether the background watcher thread is still running. `false` before
75
+ # `#start` is called, after `#stop`, or if the thread died unexpectedly.
76
+ def alive?
77
+ !@watch_thread.nil? && @watch_thread.alive?
78
+ end
79
+
74
80
  private
75
81
 
76
82
  def start_watching
@@ -1,3 +1,3 @@
1
1
  module Watchcat
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watchcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Yuji Yaginuma
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-08-03 00:00:00.000000000 Z
11
+ date: 2026-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: psych