td-client 0.8.29 → 0.8.30

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ == 2012-09-21 version 0.8.30
3
+
4
+ * Fixed Account#storage_size_string and Table#estimated_storage_size_string
5
+
6
+
2
7
  == 2012-09-17 version 0.8.29
3
8
 
4
9
  * Added Client#core_utilization method
@@ -26,7 +26,7 @@ class Account < Model
26
26
  return "0.0 GB"
27
27
  elsif @storage_size <= 60*1024*1024
28
28
  return "0.01 GB"
29
- elsif @storage_size <= 10*1024*1024*1024
29
+ elsif @storage_size <= 60*1024*1024*1024
30
30
  "%.1f GB" % (@storage_size.to_f / (1024*1024*1024))
31
31
  else
32
32
  "%d GB" % (@storage_size.to_f / (1024*1024*1024)).to_i
@@ -146,7 +146,7 @@ class Table < Model
146
146
  return "0.0 GB"
147
147
  elsif @estimated_storage_size <= 60*1024*1024
148
148
  return "0.01 GB"
149
- elsif @estimated_storage_size <= 10*1024*1024*1024
149
+ elsif @estimated_storage_size <= 60*1024*1024*1024
150
150
  "%.1f GB" % (@estimated_storage_size.to_f / (1024*1024*1024))
151
151
  else
152
152
  "%d GB" % (@estimated_storage_size.to_f / (1024*1024*1024)).to_i
@@ -1,5 +1,5 @@
1
1
  module TreasureData
2
2
 
3
- VERSION = '0.8.29'
3
+ VERSION = '0.8.30'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: td-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.29
4
+ version: 0.8.30
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-18 00:00:00.000000000 Z
12
+ date: 2012-09-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: msgpack