file-watcher 1.0.9 → 1.0.10
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/lib/file_watcher/watch_job.rb +1 -3
- metadata +15 -4
@@ -32,9 +32,7 @@ class WatchJob
|
|
32
32
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
33
33
|
end
|
34
34
|
|
35
|
-
|
36
|
-
|
37
|
-
body = watch_action[:http][:body].merge({ :args => watch_action[:http][:args].call().push(event.name).push(file_suffix) } )
|
35
|
+
body = watch_action[:http][:body].merge({ :args => watch_action[:http][:args].call(event.name) } )
|
38
36
|
|
39
37
|
log "URL: #{url}"
|
40
38
|
log "body: #{body.to_json}"
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: file-watcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 3
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 1
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
9
|
+
- 10
|
10
|
+
version: 1.0.10
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Paul Santa Clara
|
@@ -16,16 +17,18 @@ autorequire:
|
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2011-
|
20
|
+
date: 2011-08-30 00:00:00 -04:00
|
20
21
|
default_executable:
|
21
22
|
dependencies:
|
22
23
|
- !ruby/object:Gem::Dependency
|
23
24
|
name: rb-inotify
|
24
25
|
prerelease: false
|
25
26
|
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
26
28
|
requirements:
|
27
29
|
- - "="
|
28
30
|
- !ruby/object:Gem::Version
|
31
|
+
hash: 55
|
29
32
|
segments:
|
30
33
|
- 0
|
31
34
|
- 8
|
@@ -37,9 +40,11 @@ dependencies:
|
|
37
40
|
name: base_app
|
38
41
|
prerelease: false
|
39
42
|
requirement: &id002 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
40
44
|
requirements:
|
41
45
|
- - ">="
|
42
46
|
- !ruby/object:Gem::Version
|
47
|
+
hash: 31
|
43
48
|
segments:
|
44
49
|
- 1
|
45
50
|
- 0
|
@@ -51,9 +56,11 @@ dependencies:
|
|
51
56
|
name: json
|
52
57
|
prerelease: false
|
53
58
|
requirement: &id003 !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
54
60
|
requirements:
|
55
61
|
- - ">="
|
56
62
|
- !ruby/object:Gem::Version
|
63
|
+
hash: 1
|
57
64
|
segments:
|
58
65
|
- 1
|
59
66
|
- 4
|
@@ -88,23 +95,27 @@ require_paths:
|
|
88
95
|
- bin
|
89
96
|
- lib
|
90
97
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
91
99
|
requirements:
|
92
100
|
- - ">="
|
93
101
|
- !ruby/object:Gem::Version
|
102
|
+
hash: 3
|
94
103
|
segments:
|
95
104
|
- 0
|
96
105
|
version: "0"
|
97
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
98
108
|
requirements:
|
99
109
|
- - ">="
|
100
110
|
- !ruby/object:Gem::Version
|
111
|
+
hash: 3
|
101
112
|
segments:
|
102
113
|
- 0
|
103
114
|
version: "0"
|
104
115
|
requirements: []
|
105
116
|
|
106
117
|
rubyforge_project:
|
107
|
-
rubygems_version: 1.3.
|
118
|
+
rubygems_version: 1.3.7
|
108
119
|
signing_key:
|
109
120
|
specification_version: 3
|
110
121
|
summary: Use inotify to watch for file system modifcations and take a configured action.
|