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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/watchcat/executor.rb +6 -0
- data/lib/watchcat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9de9f2d68145f8ff3a8c52e8eeb3ef74f1a2bab71a56104bb638f766e79f5e7
|
|
4
|
+
data.tar.gz: 680a600e89167905dea03426f5477588c8f199648f0541494df343456c743813
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
data/lib/watchcat/executor.rb
CHANGED
|
@@ -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
|
data/lib/watchcat/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2026-08-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: psych
|