leofs_manager_client 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2NlNmI4ZDZlYzg3M2FlNGMyZGQ5ODIxZjliMTkzZDY1MDhlNmU5Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWEzOGM1ZDk4NGQzY2U4MWM0NzAwYzBlMTkwNjk4ODFkNWE2YTc3OQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzBlNTE5NDM3NTM0ZTE1NWI0ZTUzOTAzZjIxMmE0NjcxZTNmNDZiZmVlZDYx
|
10
|
+
M2MwYTk2NGY5MGI5YzdmZGYxZTAyN2UyYmNkNGQ1OGJmYWFiY2Y5ZjcxM2Ex
|
11
|
+
NTRkMTI3OTRkNTdiN2UwYjAwNDhhNjQzNzM5MzY4NGE2MDBmZTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDY5YmI3MDZmNDU2ZjhjNzVjZTY5ZDZkMWY3YmMzYjVjMTcxM2YxYjBkOTgy
|
14
|
+
NmI3ZTkzMGEwNzg2NTgyMjI4MjZiNmE0MjVkYmQ1OWIyOWQzZGFjMmFmOGRi
|
15
|
+
MTcyMDA3MThiOTlkMTFjOGRhNDRkY2ZjMjhlMWMwM2VlYTI0Nzc=
|
@@ -134,14 +134,14 @@ module LeoFSManager
|
|
134
134
|
@ratio_of_active_size = h[:ratio_of_active_size]
|
135
135
|
|
136
136
|
last_compaction_start = h[:last_compaction_start]
|
137
|
-
if last_compaction_start == "____-
|
137
|
+
if last_compaction_start == "____-__-__ __:__:__"
|
138
138
|
@last_compaction_start = nil # you have never done compaction
|
139
139
|
else
|
140
140
|
@last_compaction_start = Time.parse(last_compaction_start)
|
141
141
|
end
|
142
142
|
|
143
143
|
last_compaction_end = h[:last_compaction_end]
|
144
|
-
if last_compaction_end == "____-
|
144
|
+
if last_compaction_end == "____-__-__ __:__:__"
|
145
145
|
@last_compaction_end = nil
|
146
146
|
else
|
147
147
|
@last_compaction_end = Time.parse(last_compaction_end)
|
@@ -262,7 +262,7 @@ module LeoFSManager
|
|
262
262
|
@num_of_out_of_targets = h[:num_of_out_of_targets]
|
263
263
|
|
264
264
|
last_compaction_start = h[:last_compaction_start]
|
265
|
-
if last_compaction_start == "____-
|
265
|
+
if last_compaction_start == "____-__-__ __:__:__"
|
266
266
|
@last_compaction_start = nil # you have never done compaction
|
267
267
|
else
|
268
268
|
@last_compaction_start = Time.parse(last_compaction_start)
|
data/lib/leofs_manager_client.rb
CHANGED
@@ -58,8 +58,8 @@ describe LeoFSManager do
|
|
58
58
|
:active_size_of_objects => 0,
|
59
59
|
:total_size_of_objects => 0,
|
60
60
|
:ratio_of_active_size => "0.0%",
|
61
|
-
:last_compaction_start => "____-
|
62
|
-
:last_compaction_end => "____-
|
61
|
+
:last_compaction_start => "____-__-__ __:__:__",
|
62
|
+
:last_compaction_end => "____-__-__ __:__:__"
|
63
63
|
)
|
64
64
|
end
|
65
65
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leofs_manager_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaki Matsushita
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Client for LeoFS Manager
|
15
15
|
email:
|