watchcat 0.6.0-aarch64-linux → 0.6.1-aarch64-linux

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: b9d81fa2550b74f1fc51df8391f8b83f7bce7e93b180b6753da9fc247d1a67da
4
- data.tar.gz: e7705470952ff1c3dd9f22191233ea9573bbc980a4fe583849e0f04366927637
3
+ metadata.gz: d9de9f2d68145f8ff3a8c52e8eeb3ef74f1a2bab71a56104bb638f766e79f5e7
4
+ data.tar.gz: 680a600e89167905dea03426f5477588c8f199648f0541494df343456c743813
5
5
  SHA512:
6
- metadata.gz: 15686a635eee451410f2400c0039f76f924614db1c23a4fd780437659e98a9dc638add34549d2683c269c3bef64dda27e0b872327fbce5c2b9db6626621c224b
7
- data.tar.gz: 27d15cdfb98d5f8eaece63725e34f3da1d39794eeb6ad77a4efb6d75f6026c715180933fff44cb78dfe7019d57184b53159e3ad448b025bf56c8fddb5b6a3476
6
+ metadata.gz: 59ac20a6d987a064a4754d337c36ab8ecc273c2360b6af0327d4cc87bc8f4a55c70d6d821439d6b0ff748ba683303ac0c7f6308ee5f585df5f4c4bba37e5ac9b
7
+ data.tar.gz: 8c0ee46e119b1be30bd1f3ebb2c1967f02c2835c838c39c6a43bd7005b9e2cb9865f95661d26db3e1bb08de12f0cdfd185f7f46d49f50778369151bffd0e377c
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.
@@ -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: aarch64-linux
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