maidservice 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maidservice/listener.rb +2 -2
- data/lib/maidservice/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15e82f3b0c8c0003385f9fea80039dfc2e38a5a5
|
4
|
+
data.tar.gz: c7be037f5fb96059af8812dacce5ef2c1f7b4d15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7fc22c752528b6732d3fd657fb0005e0d2a5504718dfa66d90a3880cdf680fe120e79a1ea8f655c3723b88373054b01a73c99c7c3fed7487864f1e9c40800f7
|
7
|
+
data.tar.gz: 26f571bf19e4e7b478a6050f5ea89658c97aba58aa20309712eed9a834459e1b23e2b383b20584d8fae3727ed1eaf4501cf7ffce278f8d7a4711c274710812fe
|
data/lib/maidservice/listener.rb
CHANGED
@@ -37,10 +37,10 @@ module Maidservice
|
|
37
37
|
# never gets here.
|
38
38
|
end
|
39
39
|
|
40
|
-
# TODO:
|
40
|
+
# TODO: scary powerful. Protect against bad ideas
|
41
41
|
def self.clear_page(full_path)
|
42
42
|
return unless ActionController::Base.perform_caching
|
43
|
-
|
43
|
+
FileUtils.rm_rf(full_path) if File.exist?(full_path)
|
44
44
|
File.delete(full_path + '.gz') if File.exist?(full_path + '.gz')
|
45
45
|
end
|
46
46
|
|
data/lib/maidservice/version.rb
CHANGED