rest-ftp-daemon 0.220.1 → 0.220.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/lib/rest-ftp-daemon/constants.rb +1 -1
- data/lib/rest-ftp-daemon/job.rb +4 -1
- data/lib/rest-ftp-daemon/notification.rb +1 -0
- data/lib/rest-ftp-daemon/static/css/main.css +4 -0
- data/lib/rest-ftp-daemon/views/dashboard_jobs.haml +1 -1
- data/rest-ftp-daemon.gemspec +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 531f0b1dc3a7d26674824021472ecbf3d4e505a4
|
4
|
+
data.tar.gz: ef28d315aaecfa47925c9f25bf325e1389fdeeae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 753e7100a33e762a5bd641582c2ad425b7ae2dd5bb81ed6c4cfb3e421cf522d9b8eac015d4a2a155dccf4e97eb3cc1b5b8cdb9a6e4ca085832dd3c7478f8c9c2
|
7
|
+
data.tar.gz: 495073ebbe4f2359976648971d26ef22475d703be8694fe4b4ebf8952f6d9a36f5d0640352f7bf0ad260f0641bfc8ff6d785464eebef52425f51a6965d242a3e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rest-ftp-daemon (0.220.
|
4
|
+
rest-ftp-daemon (0.220.3)
|
5
5
|
double-bag-ftps
|
6
6
|
facter
|
7
7
|
get_process_mem
|
@@ -38,7 +38,7 @@ GEM
|
|
38
38
|
double-bag-ftps (0.1.2)
|
39
39
|
equalizer (0.0.11)
|
40
40
|
eventmachine (1.0.7)
|
41
|
-
facter (2.4.
|
41
|
+
facter (2.4.3)
|
42
42
|
CFPropertyList (~> 2.2.6)
|
43
43
|
ffi (1.9.8)
|
44
44
|
get_process_mem (0.2.0)
|
@@ -57,14 +57,14 @@ GEM
|
|
57
57
|
multi_json (>= 1.3.2)
|
58
58
|
haml (4.0.6)
|
59
59
|
tilt
|
60
|
-
hashie (3.4.
|
60
|
+
hashie (3.4.1)
|
61
61
|
i18n (0.7.0)
|
62
62
|
ice_nine (0.11.1)
|
63
63
|
json (1.8.2)
|
64
|
-
minitest (5.
|
64
|
+
minitest (5.6.0)
|
65
65
|
multi_json (1.11.0)
|
66
66
|
multi_xml (0.5.5)
|
67
|
-
newrelic_rpm (3.11.
|
67
|
+
newrelic_rpm (3.11.2.286)
|
68
68
|
rack (1.6.0)
|
69
69
|
rack-accept (0.4.5)
|
70
70
|
rack (>= 0.4)
|
data/lib/rest-ftp-daemon/job.rb
CHANGED
@@ -130,6 +130,9 @@ module RestFtpDaemon
|
|
130
130
|
rescue Errno::EHOSTDOWN => exception
|
131
131
|
return oops :ended, exception, :conn_host_is_down
|
132
132
|
|
133
|
+
rescue Errno::ENETUNREACH => exception
|
134
|
+
return oops :ended, exception, :conn_unreachable
|
135
|
+
|
133
136
|
rescue Errno::ECONNRESET => exception
|
134
137
|
return oops :ended, exception, :conn_reset_by_peer
|
135
138
|
|
@@ -712,7 +715,7 @@ module RestFtpDaemon
|
|
712
715
|
|
713
716
|
# Prepare notification if signal given
|
714
717
|
return unless event
|
715
|
-
client_notify event, error: error, status: notif_status
|
718
|
+
client_notify event, error: error, status: notif_status, message: "#{exception.class.to_s} | #{exception.message}"
|
716
719
|
end
|
717
720
|
|
718
721
|
if Settings.newrelic_enabled?
|
data/rest-ftp-daemon.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
# Libs
|
4
|
-
require "settingslogic"
|
4
|
+
#require "settingslogic"
|
5
5
|
app_root = File.dirname(__FILE__)
|
6
6
|
require File.expand_path("#{app_root}/lib/rest-ftp-daemon/constants")
|
7
7
|
|
@@ -38,6 +38,5 @@ Gem::Specification.new do |spec|
|
|
38
38
|
spec.add_runtime_dependency "sys-cpu"
|
39
39
|
spec.add_runtime_dependency "timeout"
|
40
40
|
spec.add_runtime_dependency "get_process_mem"
|
41
|
-
|
42
41
|
spec.add_runtime_dependency "newrelic_rpm"
|
43
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest-ftp-daemon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.220.
|
4
|
+
version: 0.220.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno MEDICI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|