watchcat 0.6.0-x86_64-linux → 0.6.1-x86_64-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: f73e550dd46b2a73e5736688916d385f433d2172c73c2a5daa3cb6b314335c75
4
- data.tar.gz: 44273a9b0af912d3244c1f105043e6b742b7d7114fae00f5f778b8f53cd711ef
3
+ metadata.gz: 97ec272af3f14ed2d080d30e909fc2436ccac8a30cdb46373b828f47ce0570ca
4
+ data.tar.gz: 5cf9f5f64908a0d1fda10133ba3aaefc2c4eeaad52c14497bafa3452f9951910
5
5
  SHA512:
6
- metadata.gz: d2a80c334be52c39ecb08ef253b8f4baf5c5b18cadac93c06d721c9e4dce6da1967bee6c45a4b76afdd188a1301686aa2efc469251928d52b75680fc5e6eb729
7
- data.tar.gz: 798d2c836bc134eb640ee8fcabea28dc19f8ce9653bd9b1a8f7429826c463ab031b4e527320c2999c6a213b6fc9e861e0d26e452fd7919a5828230bb52cee002
6
+ metadata.gz: 3f306f0531adb65c0a23c87c3eb541d18d7ec2f36a2eeac856673591047d7a733f30885cdef8ee4dbb50111379a873d5d42a1b9fa11f2d1b85251bf15e452672
7
+ data.tar.gz: abdea5504ee4885d5f0a01d8d2a186d73013304d611ed6863b36182291a39203f33baf74353333b150cd8ebad328fa9a7f89b9cd6aa76dac19cb6c2fd8514eb1
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: x86_64-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