garbageman 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/VERSION +1 -1
- data/garbageman.gemspec +1 -1
- data/lib/garbageman/collector.rb +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDIzZmI4OTVlOTVhZTA2Y2M4ZTQwZTRhYWFlMjAzYjc2MmU5YjE3MA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTRjM2E2ZTE4NDg2N2E0NDg4YzVlYjE5ZTY0OTE5MzkzM2VhNzc4NQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDU5NjY5MjE4YmQ4NDkyZGU4NjM4ZmVmMzY4NGRhMGFmOWVmYmQzNGEyZTJl
|
10
|
+
Y2Y3MTcxNTc4MzIyYzlmYzE5NTdkZDJkNDIyOWVmZjE3MGVmZTc3YmYyY2M3
|
11
|
+
MjVkOGZlZjY0OGU5YjMwYjBlMjRjODJiMmIzMjdhZDcwMjdlOTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZThhNjUyMTViMmM5NmEzMWY4MTNjZTRjYTFiYjhhMTVlYTllNzNjMzk4OTRj
|
14
|
+
NTYxZTEyMjQ3NTBhMzBjN2FhMDlkNTdhM2FjNDY5ZDQ4ZTZiZjE3MjFlMGM3
|
15
|
+
YjNmNDQxODJmYTE1OTY3MGYwN2Q4NTAxOThmM2UxNWNhY2M5NjM=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.5
|
data/garbageman.gemspec
CHANGED
data/lib/garbageman/collector.rb
CHANGED
@@ -130,9 +130,14 @@ module GarbageMan
|
|
130
130
|
end
|
131
131
|
end
|
132
132
|
|
133
|
+
# creates the gc yaml file or resets the status back to selected
|
133
134
|
def create_gc_yaml
|
134
135
|
return unless server_index
|
135
|
-
|
136
|
+
if File.exists?(Config.gc_yaml_file)
|
137
|
+
return unless current_server?
|
138
|
+
else
|
139
|
+
return unless server_index == 0
|
140
|
+
end
|
136
141
|
write_gc_yaml server_index, SELECTED
|
137
142
|
end
|
138
143
|
|