filewatcher 0.1.1 → 0.1.2
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.
- data/README.rdoc +4 -3
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/bin/filewatcher +1 -1
- metadata +20 -4
data/README.rdoc
CHANGED
@@ -4,7 +4,6 @@ Simple file watcher. Monitors changes in files by polling files.
|
|
4
4
|
|
5
5
|
= Command line utility
|
6
6
|
|
7
|
-
|
8
7
|
Filewatcher scans filesystem and execute shell commands when files changes.
|
9
8
|
|
10
9
|
Usage:
|
@@ -27,7 +26,9 @@ Options:
|
|
27
26
|
|
28
27
|
sudo gem install filewatcher
|
29
28
|
|
30
|
-
|
29
|
+
You need ruby and rubygems installed.
|
30
|
+
|
31
|
+
= Ruby API
|
31
32
|
|
32
33
|
Examples:
|
33
34
|
|
@@ -73,4 +74,4 @@ Find method by c00lrguy: http://snippets.dzone.com/posts/show/5457
|
|
73
74
|
|
74
75
|
== Copyright
|
75
76
|
|
76
|
-
Copyright (c)
|
77
|
+
Copyright (c) 2011 Thomas Flemming. See LICENSE for details.
|
data/Rakefile
CHANGED
@@ -12,6 +12,7 @@ begin
|
|
12
12
|
gem.executables = ["filewatcher"]
|
13
13
|
gem.authors = ["Thomas Flemming"]
|
14
14
|
gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
|
15
|
+
gem.add_dependency "trollop", ">= 1.16.2"
|
15
16
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
17
|
end
|
17
18
|
rescue LoadError
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/bin/filewatcher
CHANGED
@@ -4,7 +4,7 @@ require 'filewatcher'
|
|
4
4
|
require 'trollop'
|
5
5
|
|
6
6
|
options = Trollop::options do
|
7
|
-
version "filewatcher, version 0.1.
|
7
|
+
version "filewatcher, version 0.1.2 by Thomas Flemming 2011"
|
8
8
|
banner <<-EOS
|
9
9
|
Filewatcher scans filesystem and execute shell commands when files changes.
|
10
10
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filewatcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Thomas Flemming
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-01-
|
18
|
+
date: 2011-01-20 00:00:00 +01:00
|
19
19
|
default_executable: filewatcher
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -32,6 +32,22 @@ dependencies:
|
|
32
32
|
version: "0"
|
33
33
|
type: :development
|
34
34
|
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: trollop
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 83
|
44
|
+
segments:
|
45
|
+
- 1
|
46
|
+
- 16
|
47
|
+
- 2
|
48
|
+
version: 1.16.2
|
49
|
+
type: :runtime
|
50
|
+
version_requirements: *id002
|
35
51
|
description: Detect changes in files.
|
36
52
|
email: thomas.flemming@gmail.com
|
37
53
|
executables:
|