Releases: faustinoaq/watcher
Releases · faustinoaq/watcher
v0.3.0
v0.2.3
- Add Boolean
flag
to check if file is checked by first time - Change files format data from
{filename => timestamp}
to{filename => {flag, timestamp}}
v0.2.1
- Fix version on
shard.yml
file andWatcher::VERSION
v0.2.0
- Fix interval argument
- Add specs
- Allow to use Float64 and Int32 as interval
v0.1.9
- Fix interval issues
v0.1.7
- Add documentation
- Add the ability of change default watcher interval per watch
Watcher.watch(files, interval: 5) do |event|
event.on_change do
# ...
end
end
v0.1.6
- Add Watcher.interval to config file scan time interval (default 1.second)
v0.1.5
- Remove default logs
- Fix spec
v0.1.3
- Change private method
scan
toscanner
- Change
event.change
toevent.status
v0.1.1
- Fix
watch
is not expected to be invoked with a block, but a block was given. - Add private method
Watcher.scan
to detect new files