rest-ftp-daemon 1.0.14 → 1.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rest-ftp-daemon/helpers/transfer.rb +5 -5
- data/rest-ftp-daemon.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acc6af653bd1b83732551408b79c4911b6e41cf3
|
4
|
+
data.tar.gz: 4e6bd70a74cae3014051cefeb17f9651631d6e7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d59baea2867363ff294b5dfebb495ba6fbcc7cbec6040138ddc27169b7db8424105f7a2deac622eed162cea5a69475b9226113d24c5b2bbe9c4e8dcfb3a66f0
|
7
|
+
data.tar.gz: 511b3b07f3fe03d79e0fd557130234ff0c48dafbf53d374e6204365282205d532b045d086a031bdf8450389785d5a9cbc64d5a0fefc649d6cb8e1e5c35b926c9
|
@@ -90,13 +90,13 @@ module RestFtpDaemon
|
|
90
90
|
# set_info INFO_TRANFER_BITRATE, @current_bitrate.round(0)
|
91
91
|
|
92
92
|
# Log progress
|
93
|
-
|
93
|
+
fields = [
|
94
94
|
"#{percent0} %",
|
95
|
-
format_bytes(@transfer_sent, "B"),
|
96
|
-
format_bytes(@current_bitrate.round(0), "bps")
|
95
|
+
format_bytes(@transfer_sent.to_i, "B"),
|
96
|
+
format_bytes(@current_bitrate.to_f.round(0), "bps")
|
97
97
|
]
|
98
|
-
|
99
|
-
log_info "progress #{
|
98
|
+
stack = fields.map { |txt| ("%#{LOG_PIPE_LEN.to_i}s" % txt) }.join("\t")
|
99
|
+
log_info "progress #{stack} \t#{name}"
|
100
100
|
|
101
101
|
# Prepare and send notification
|
102
102
|
client_notify :progress, status: {
|
data/rest-ftp-daemon.gemspec
CHANGED
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: 1.0.
|
4
|
+
version: 1.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno MEDICI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -562,7 +562,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
562
562
|
version: '0'
|
563
563
|
requirements: []
|
564
564
|
rubyforge_project:
|
565
|
-
rubygems_version: 2.
|
565
|
+
rubygems_version: 2.6.8
|
566
566
|
signing_key:
|
567
567
|
specification_version: 4
|
568
568
|
summary: RESTful transfer jobs daemon
|