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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb8cd253dc74ddd13d47f208a057dac0fd9d9010
4
- data.tar.gz: cad450fab5d69069450e6e2ef569acaa768168e4
3
+ metadata.gz: 17db58f7faec4e3e3e0ee8d74687f5c0246612d6
4
+ data.tar.gz: 41637bdf804f004b75dd3beef565df1a462e9f2d
5
5
  SHA512:
6
- metadata.gz: 543c89c37961fcc553660758cdca12d464d2c52e8c203d184fc034247a41550103574c94ccd7215e6cbd75392e6709c9bb66cf7d63f2a116e847cc77973c6888
7
- data.tar.gz: f501f9e4203a23adcd969ead187d79314caac1b852fb62e7b83593f0d727317b2d151652627464c9a8c01ef8f8034d4a9ebb29aab587fc2367cc1180ba99799f
6
+ metadata.gz: 06eca6ee7b15d3fc716b5d5bf43b4e36c3d3e28aa4e11a80f9b7245773b5d3b8dfd21561e1addcccaaed1e7c93e2e843f48a38bfe5a0e710b6e8af781a14d40c
7
+ data.tar.gz: 7e8cd2df4c2cf7904d26a121729fb186c7f338f1dfa95147e86c8727cc9e335759dcc1c91185da2826c4e845253a358a9f71b75a31c5cb75046b68d945c29679
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rest-ftp-daemon (0.201.1)
4
+ rest-ftp-daemon (0.202.1)
5
5
  double-bag-ftps
6
6
  facter
7
7
  grape
@@ -1,6 +1,6 @@
1
1
  # Terrific constants
2
2
  APP_NAME = "rest-ftp-daemon"
3
- APP_VER = "0.202"
3
+ APP_VER = "0.202.1"
4
4
 
5
5
 
6
6
  # Logging
@@ -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
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.202'
4
+ version: 0.202.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno MEDICI