rest-ftp-daemon 0.210.0 → 0.210.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad1215dadf62110ff9e20ee3e5100c7af016c258
4
- data.tar.gz: e5e14d4cd2f4bf5170915e4a8ab0f2fde3046c59
3
+ metadata.gz: 5d8aec8b5846bea6d6c295f2ff6ab4c195791057
4
+ data.tar.gz: 9af61c3e0e3a9d30584ff12b6cc13b6411c85efd
5
5
  SHA512:
6
- metadata.gz: 0f67f2a19ef8e17abc200bce126192127595c8c8e3c712840e23fffbf462bd0b06221f1e3c828c4fe46c334f834bc8312de60b42d9cdedd02f25ac63d0028dd2
7
- data.tar.gz: af5f5a20d55f85cbe5213f2db1f6ed5593c538283c2add01608a34eff6a20e322620f0123b365457859f9d731bf6a6a0efdb6c2a08556ac4bf39fe64ce921a89
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.202.2)
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.0)
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.1)
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.9)
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.4)
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)
@@ -1,6 +1,6 @@
1
1
  # Terrific constants
2
2
  APP_NAME = "rest-ftp-daemon"
3
- APP_VER = "0.210.0"
3
+ APP_VER = "0.210.1"
4
4
 
5
5
 
6
6
  # Jobs and workers
@@ -117,7 +117,7 @@ module RestFtpDaemon
117
117
  transfer
118
118
 
119
119
  rescue SocketError => exception
120
- return oops :ended, exception, :conn_socket
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, :conn_timeout
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, :ftp_perm
144
+ return oops :ended, exception, :ftp_perm_error
142
145
 
143
146
  rescue Net::FTPTempError => exception
144
- return oops :ended, exception, :ftp_temp
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest-ftp-daemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.210.0
4
+ version: 0.210.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno MEDICI