dirwatch 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dirwatch/options/parser.rb +4 -0
- data/lib/dirwatch/options.rb +1 -0
- data/lib/dirwatch/version.rb +1 -1
- data/lib/dirwatch/watcher.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 815a8901f1ff180b5b34c2b4997e4ea4d1fdb18e
|
4
|
+
data.tar.gz: bc0306dd706bd690388c65e05e65f4776bea69ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db9a96ae01fc7099939f8005f7a3a66b7d0e1b6ee4df31178921bbf34201867b55ec554ab2963ee271c000106166957d70e138c4e53a1a4a7dea08e238a6b64d
|
7
|
+
data.tar.gz: 456f2b578c05b11c35ca383a4d67a8322985456bc4b986de596543304b55538b3ff2ee146670cfe4d994fb86eb04d4da9075af41133c6beec97a6b9a0ea6c63b
|
@@ -92,6 +92,10 @@ module Dirwatch
|
|
92
92
|
options.daemonize = daemonize
|
93
93
|
end
|
94
94
|
|
95
|
+
opts.on '--once', 'Run the programm only once' do |once|
|
96
|
+
options.once = once
|
97
|
+
end
|
98
|
+
|
95
99
|
opts.on '--version', 'Show the version' do
|
96
100
|
require 'dirwatch/version'
|
97
101
|
puts "dirwatch #{Dirwatch::VERSION}"
|
data/lib/dirwatch/options.rb
CHANGED
data/lib/dirwatch/version.rb
CHANGED
data/lib/dirwatch/watcher.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dirwatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas Ganz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|