file-watcher 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/file_watcher/watch_job.rb +3 -1
- metadata +3 -3
@@ -32,7 +32,9 @@ class WatchJob
|
|
32
32
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
33
33
|
end
|
34
34
|
|
35
|
-
|
35
|
+
file_suffix = event.name.match(/(\d{2})./)[1]
|
36
|
+
|
37
|
+
body = watch_action[:http][:body].merge({ :args => watch_action[:http][:args].call().push(event.name).push(file_suffix) } )
|
36
38
|
|
37
39
|
log "URL: #{url}"
|
38
40
|
log "body: #{body.to_json}"
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 8
|
9
|
+
version: 1.0.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Paul Santa Clara
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-
|
19
|
+
date: 2011-07-06 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|