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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 88e6abeb2671373a73e45dcb0e9c6113f0dff4eb
4
- data.tar.gz: 18246d8b693ae43f9826da3cc9e12b68bb3ea71d
3
+ metadata.gz: 531f0b1dc3a7d26674824021472ecbf3d4e505a4
4
+ data.tar.gz: ef28d315aaecfa47925c9f25bf325e1389fdeeae
5
5
  SHA512:
6
- metadata.gz: ca113c332188c4e022d04b72cdad13d1390a0ebb57df194815d703c67e5467eb32bc924d98f989ce98d5f9ed31b4450a5aea3efa7672dfa3fc52114409f73bb8
7
- data.tar.gz: 2579560529ff9366e887d2ca2c9b7641325b5f2e8fa46be59a2caa18b587f578463ec54d6d54bbfba9aee48897279e9bf3e08271da2be73a52a79b69f697d306
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.1)
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.1)
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.0)
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.5.1)
64
+ minitest (5.6.0)
65
65
  multi_json (1.11.0)
66
66
  multi_xml (0.5.5)
67
- newrelic_rpm (3.11.1.284)
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)
@@ -1,7 +1,7 @@
1
1
  # Terrific constants
2
2
  APP_NAME = "rest-ftp-daemon"
3
3
  APP_NICK = "rftpd"
4
- APP_VER = "0.220.1"
4
+ APP_VER = "0.220.3"
5
5
 
6
6
 
7
7
  # Jobs and workers
@@ -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?
@@ -33,6 +33,7 @@ module RestFtpDaemon
33
33
  id: params[:id].to_s,
34
34
  signal: "#{NOTIFY_PREFIX}.#{params[:event].to_s}",
35
35
  error: params[:error],
36
+ message: params[:message],
36
37
  host: Settings.host.to_s,
37
38
  }
38
39
  body[:status] = params[:status] if params[:status].is_a? Enumerable
@@ -82,4 +82,8 @@ a.page.btn {
82
82
  padding: 3px 3px;
83
83
  }
84
84
 
85
+ #box-jobs .error {
86
+ min-width: 100px;
87
+ }
88
+
85
89
 
@@ -34,7 +34,7 @@
34
34
  %th <=>
35
35
  %th target
36
36
  %th queued
37
- %th{width: 150} status
37
+ %th.error status
38
38
  %th{"min-width" => 120} error
39
39
  %th.text-right size
40
40
  %th.text-right bitrate
@@ -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.1
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-01 00:00:00.000000000 Z
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler