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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f37d0ae31182679a375f2f7187055526fe29b64277f3b7f4c618d11a5382989f
4
- data.tar.gz: b7ae9fcf4881a3a56fd9e5acaed9152bada8575acd15b7b1e600702f7f211fad
3
+ metadata.gz: 8f7a75c0cda425e57028f7feb78cb2218d8b4b9a04efcd4c317404a225469d07
4
+ data.tar.gz: bdeb8c09160b6c6ecc397923e2d5e855ae87156f8649aeb08b3d7a71ebf7c67c
5
5
  SHA512:
6
- metadata.gz: fd69f7f5cedf737faebcc0e2c54452bf521a6f40847cc83f7620d800396dc1a847d3a8d4cbfb846c70717762438f8da094f85c3cf5461dc765583ca5ede04055
7
- data.tar.gz: 406bc23c4389ac1be9cf8097ae8a3f8f412bb3c0006d880720a7e0d76a14f5b4f3ef00cfac62de25d94442c9b5748934d360e4cf36f210305df516f202ba85f6
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.random_bytes 16}", &block}
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.random_bytes 16}", &block}
20
+ define_singleton_method(:maintenance) {|&block| get 3.times.map{"/#{SecureRandom.hex 8}"}.join(), &block}
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module Eucalypt
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eucalypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edwin Onuonga