rest-ftp-daemon 0.202 → 0.202.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 +1 -1
- data/lib/rest-ftp-daemon/constants.rb +1 -1
- data/lib/rest-ftp-daemon/helpers.rb +1 -1
- 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: 17db58f7faec4e3e3e0ee8d74687f5c0246612d6
|
4
|
+
data.tar.gz: 41637bdf804f004b75dd3beef565df1a462e9f2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06eca6ee7b15d3fc716b5d5bf43b4e36c3d3e28aa4e11a80f9b7245773b5d3b8dfd21561e1addcccaaed1e7c93e2e843f48a38bfe5a0e710b6e8af781a14d40c
|
7
|
+
data.tar.gz: 7e8cd2df4c2cf7904d26a121729fb186c7f338f1dfa95147e86c8727cc9e335759dcc1c91185da2826c4e845253a358a9f71b75a31c5cb75046b68d945c29679
|
data/Gemfile.lock
CHANGED
@@ -11,7 +11,7 @@ module RestFtpDaemon
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def self.format_bytes number, unit=""
|
14
|
-
return "Ø" if number.nil? || number.zero?
|
14
|
+
return "Ø" if number.nil? || number.to_f.zero?
|
15
15
|
|
16
16
|
units = ["", "k", "M", "G", "T", "P" ]
|
17
17
|
index = ( Math.log( number ) / Math.log( 2 ) ).to_i / 10
|