rest-ftp-daemon 0.210.0 → 0.210.1
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 +7 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d8aec8b5846bea6d6c295f2ff6ab4c195791057
|
4
|
+
data.tar.gz: 9af61c3e0e3a9d30584ff12b6cc13b6411c85efd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1248cc2cc1d72685aab50bd7484d9def61778db88927f0289554cffe688c7c435efc7826c81e15fcbd5f2e29cc685685c74e543617426deef5fdb645edd805fd
|
7
|
+
data.tar.gz: e9a1322ec94049fd03b1cd68a19c6a09674295615b02c88a15268eda4df731ba0f7f3d826daab3d93bf88417fb29538a6c45d3c47e2b54c44b2634429d6de777
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rest-ftp-daemon (0.
|
4
|
+
rest-ftp-daemon (0.210.1)
|
5
5
|
double-bag-ftps
|
6
6
|
facter
|
7
7
|
grape
|
@@ -17,7 +17,7 @@ GEM
|
|
17
17
|
remote: http://rubygems.org/
|
18
18
|
specs:
|
19
19
|
CFPropertyList (2.2.8)
|
20
|
-
activesupport (4.2.
|
20
|
+
activesupport (4.2.1)
|
21
21
|
i18n (~> 0.7)
|
22
22
|
json (~> 1.7, >= 1.7.7)
|
23
23
|
minitest (~> 5.1)
|
@@ -30,11 +30,11 @@ GEM
|
|
30
30
|
builder (3.2.2)
|
31
31
|
coercible (1.0.0)
|
32
32
|
descendants_tracker (~> 0.0.1)
|
33
|
-
daemons (1.2.
|
33
|
+
daemons (1.2.2)
|
34
34
|
descendants_tracker (0.0.4)
|
35
35
|
thread_safe (~> 0.3, >= 0.3.1)
|
36
36
|
double-bag-ftps (0.1.2)
|
37
|
-
equalizer (0.0.
|
37
|
+
equalizer (0.0.11)
|
38
38
|
eventmachine (1.0.7)
|
39
39
|
facter (2.4.1)
|
40
40
|
CFPropertyList (~> 2.2.6)
|
@@ -81,7 +81,7 @@ GEM
|
|
81
81
|
timeout-extensions (0.0.0)
|
82
82
|
tzinfo (1.2.2)
|
83
83
|
thread_safe (~> 0.1)
|
84
|
-
virtus (1.0.
|
84
|
+
virtus (1.0.5)
|
85
85
|
axiom-types (~> 0.1)
|
86
86
|
coercible (~> 1.0)
|
87
87
|
descendants_tracker (~> 0.0, >= 0.0.3)
|
data/lib/rest-ftp-daemon/job.rb
CHANGED
@@ -117,7 +117,7 @@ module RestFtpDaemon
|
|
117
117
|
transfer
|
118
118
|
|
119
119
|
rescue SocketError => exception
|
120
|
-
return oops :ended, exception, :
|
120
|
+
return oops :ended, exception, :conn_socket_error
|
121
121
|
|
122
122
|
rescue EOFError => exception
|
123
123
|
return oops :ended, exception, :conn_eof
|
@@ -125,6 +125,9 @@ module RestFtpDaemon
|
|
125
125
|
rescue Errno::EHOSTDOWN => exception
|
126
126
|
return oops :ended, exception, :conn_host_is_down
|
127
127
|
|
128
|
+
rescue Errno::ECONNRESET => exception
|
129
|
+
return oops :ended, exception, :conn_reset_by_peer
|
130
|
+
|
128
131
|
rescue Errno::ENOTCONN => exception
|
129
132
|
return oops :ended, exception, :conn_failed
|
130
133
|
|
@@ -132,16 +135,16 @@ module RestFtpDaemon
|
|
132
135
|
return oops :ended, exception, :conn_refused
|
133
136
|
|
134
137
|
rescue Timeout::Error, Errno::ETIMEDOUT => exception
|
135
|
-
return oops :ended, exception, :
|
138
|
+
return oops :ended, exception, :conn_timed_out
|
136
139
|
|
137
140
|
rescue OpenSSL::SSL::SSLError => exception
|
138
141
|
return oops :ended, exception, :conn_openssl_error
|
139
142
|
|
140
143
|
rescue Net::FTPPermError => exception
|
141
|
-
return oops :ended, exception, :
|
144
|
+
return oops :ended, exception, :ftp_perm_error
|
142
145
|
|
143
146
|
rescue Net::FTPTempError => exception
|
144
|
-
return oops :ended, exception, :
|
147
|
+
return oops :ended, exception, :ftp_temp_error
|
145
148
|
|
146
149
|
rescue Errno::EMFILE => exception
|
147
150
|
return oops :ended, exception, :too_many_open_files
|