eucalypt 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eucalypt/core/helpers/maintenance.rb +2 -2
- data/lib/eucalypt/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f7a75c0cda425e57028f7feb78cb2218d8b4b9a04efcd4c317404a225469d07
|
4
|
+
data.tar.gz: bdeb8c09160b6c6ecc397923e2d5e855ae87156f8649aeb08b3d7a71ebf7c67c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17f71e63591e98d0962f21e3dd5b97c323f8b2b2bea9390c009af5cbb7515090964650f9e3684798d555cd5ed43ee78b511f60a968c996187014cfe535a02d1d
|
7
|
+
data.tar.gz: '08b56b4b2a5bae2dee883d72eb01f0e44198024772a901892608667fd03242d1cf0e8e430f95b7ae5d50de251dc2bf4f37f643a06eb6663f74d9e3fd51378f3e'
|
@@ -14,9 +14,9 @@ class ApplicationController < Sinatra::Base
|
|
14
14
|
unlink '*', &block
|
15
15
|
end
|
16
16
|
else
|
17
|
-
define_singleton_method(:maintenance) {|&block| get "/#{SecureRandom.
|
17
|
+
define_singleton_method(:maintenance) {|&block| get 3.times.map{"/#{SecureRandom.hex 8}"}.join(), &block}
|
18
18
|
end
|
19
19
|
else
|
20
|
-
define_singleton_method(:maintenance) {|&block| get "/#{SecureRandom.
|
20
|
+
define_singleton_method(:maintenance) {|&block| get 3.times.map{"/#{SecureRandom.hex 8}"}.join(), &block}
|
21
21
|
end
|
22
22
|
end
|
data/lib/eucalypt/version.rb
CHANGED