kelredd-repository 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,8 +6,8 @@ module Repository
6
6
  def abbrev_file_size(size_in_bytes)
7
7
  value = size_in_bytes
8
8
  FILE_SIZE_ABBREVS.each do |abbrev|
9
- return value.to_s + ' ' + abbrev if value < 1000 || abbrev == FILE_SIZE_ABBREVS.last
10
- value /= 1000
9
+ return value.to_s + ' ' + abbrev if value < 1024 || abbrev == FILE_SIZE_ABBREVS.last
10
+ value /= 1024
11
11
  end
12
12
  end
13
13
 
@@ -3,7 +3,7 @@ module Repository
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- TINY = 2
6
+ TINY = 3
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelredd-repository
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelredd
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-22 00:00:00 -07:00
12
+ date: 2009-06-02 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15