file_monitoring 0.0.4 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/file_monitoring +4 -2
- data/lib/file_monitoring/daemon_win32.rb +29 -0
- data/lib/file_monitoring/file_monitoring.rb +11 -10
- data/lib/file_monitoring/monitor_path.rb +19 -10
- data/lib/file_monitoring/version.rb +5 -0
- data/lib/file_monitoring.rb +1 -8
- data/test/file_monitoring/file_monitoring_test/conf.yml +4 -0
- data/test/file_monitoring/file_monitoring_test/conf_win32.yml +5 -0
- data/test/file_monitoring/file_monitoring_test/log +56 -0
- data/test/file_monitoring/file_monitoring_test.rb +0 -0
- data/test/file_monitoring/monitor_path_test/dir1000/test_file.1000 +1000 -0
- data/test/file_monitoring/monitor_path_test/dir1000/test_file.1000.0 +1000 -0
- data/test/file_monitoring/monitor_path_test/dir1000/test_file.1000.1 +1000 -0
- data/test/file_monitoring/monitor_path_test/dir1500/test_file.1500 +1500 -0
- data/test/file_monitoring/monitor_path_test/dir1500/test_file.1500.0 +1500 -0
- data/test/file_monitoring/monitor_path_test/dir1500/test_file.1500.1 +1500 -0
- data/test/file_monitoring/monitor_path_test/test_file.500 +500 -0
- data/test/file_monitoring/monitor_path_test/test_file.500.0 +500 -0
- data/test/file_monitoring/monitor_path_test/test_file.500.1 +500 -0
- data/test/file_monitoring/monitor_path_test.rb +157 -0
- metadata +71 -10
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: file_monitoring
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01-01 00:00:00.
|
12
|
+
date: 2012-01-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: algorithms
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,31 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: daemons
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: log
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
28
49
|
none: false
|
29
50
|
requirements:
|
30
51
|
- - ! '>='
|
@@ -32,10 +53,15 @@ dependencies:
|
|
32
53
|
version: '0'
|
33
54
|
type: :runtime
|
34
55
|
prerelease: false
|
35
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
36
62
|
- !ruby/object:Gem::Dependency
|
37
63
|
name: params
|
38
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
39
65
|
none: false
|
40
66
|
requirements:
|
41
67
|
- - ! '>='
|
@@ -43,7 +69,12 @@ dependencies:
|
|
43
69
|
version: '0'
|
44
70
|
type: :runtime
|
45
71
|
prerelease: false
|
46
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
47
78
|
description: Deamon for monitoring file changes in set of patterns (blobs).
|
48
79
|
email: kolmanv@gmail.com
|
49
80
|
executables:
|
@@ -52,8 +83,24 @@ extensions: []
|
|
52
83
|
extra_rdoc_files: []
|
53
84
|
files:
|
54
85
|
- lib/file_monitoring.rb
|
86
|
+
- lib/file_monitoring/daemon_win32.rb
|
55
87
|
- lib/file_monitoring/file_monitoring.rb
|
56
88
|
- lib/file_monitoring/monitor_path.rb
|
89
|
+
- lib/file_monitoring/version.rb
|
90
|
+
- test/file_monitoring/file_monitoring_test/conf.yml
|
91
|
+
- test/file_monitoring/file_monitoring_test/conf_win32.yml
|
92
|
+
- test/file_monitoring/file_monitoring_test/log
|
93
|
+
- test/file_monitoring/file_monitoring_test.rb
|
94
|
+
- test/file_monitoring/monitor_path_test/dir1000/test_file.1000
|
95
|
+
- test/file_monitoring/monitor_path_test/dir1000/test_file.1000.0
|
96
|
+
- test/file_monitoring/monitor_path_test/dir1000/test_file.1000.1
|
97
|
+
- test/file_monitoring/monitor_path_test/dir1500/test_file.1500
|
98
|
+
- test/file_monitoring/monitor_path_test/dir1500/test_file.1500.0
|
99
|
+
- test/file_monitoring/monitor_path_test/dir1500/test_file.1500.1
|
100
|
+
- test/file_monitoring/monitor_path_test/test_file.500
|
101
|
+
- test/file_monitoring/monitor_path_test/test_file.500.0
|
102
|
+
- test/file_monitoring/monitor_path_test/test_file.500.1
|
103
|
+
- test/file_monitoring/monitor_path_test.rb
|
57
104
|
- bin/file_monitoring
|
58
105
|
homepage: http://github.com/kolmanv/bbfs
|
59
106
|
licenses: []
|
@@ -75,8 +122,22 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
122
|
version: '0'
|
76
123
|
requirements: []
|
77
124
|
rubyforge_project:
|
78
|
-
rubygems_version: 1.8.
|
125
|
+
rubygems_version: 1.8.23
|
79
126
|
signing_key:
|
80
127
|
specification_version: 3
|
81
128
|
summary: Deamon for monitoring file changes.
|
82
|
-
test_files:
|
129
|
+
test_files:
|
130
|
+
- test/file_monitoring/file_monitoring_test/conf.yml
|
131
|
+
- test/file_monitoring/file_monitoring_test/conf_win32.yml
|
132
|
+
- test/file_monitoring/file_monitoring_test/log
|
133
|
+
- test/file_monitoring/file_monitoring_test.rb
|
134
|
+
- test/file_monitoring/monitor_path_test/dir1000/test_file.1000
|
135
|
+
- test/file_monitoring/monitor_path_test/dir1000/test_file.1000.0
|
136
|
+
- test/file_monitoring/monitor_path_test/dir1000/test_file.1000.1
|
137
|
+
- test/file_monitoring/monitor_path_test/dir1500/test_file.1500
|
138
|
+
- test/file_monitoring/monitor_path_test/dir1500/test_file.1500.0
|
139
|
+
- test/file_monitoring/monitor_path_test/dir1500/test_file.1500.1
|
140
|
+
- test/file_monitoring/monitor_path_test/test_file.500
|
141
|
+
- test/file_monitoring/monitor_path_test/test_file.500.0
|
142
|
+
- test/file_monitoring/monitor_path_test/test_file.500.1
|
143
|
+
- test/file_monitoring/monitor_path_test.rb
|