file-watcher 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/file_watcher/watch_job.rb +1 -1
- metadata +2 -2
@@ -32,7 +32,7 @@ class WatchJob
|
|
32
32
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
33
33
|
end
|
34
34
|
|
35
|
-
file_suffix = event.name.match(/(\d{2})
|
35
|
+
file_suffix = event.name.match(/(\d{2})\./)[1]
|
36
36
|
|
37
37
|
body = watch_action[:http][:body].merge({ :args => watch_action[:http][:args].call().push(event.name).push(file_suffix) } )
|
38
38
|
|