varnish_rest_api 0.0.14 → 0.0.15

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
  SHA1:
3
- metadata.gz: 45204c8198a6e43567a474233106d834e82c27bd
4
- data.tar.gz: 2c19b28160fc45733778040a4c3c6c5d15315bba
3
+ metadata.gz: 8748abdd2d57c5e5461e03d40c539fd2b8157cb2
4
+ data.tar.gz: 462e46ddf65afb9c66170a610ad82dbff6981cff
5
5
  SHA512:
6
- metadata.gz: 04a3c50ac7ed8f571817484916a6aaaddece73a9a201a8b6cb4666b14db17325fb9e854549e7774f67e79ea37dd1b5517938014f56c48a60e12ae9abfbbdbecf
7
- data.tar.gz: ebb6e6dd2a90da31299cb3a406a96982b11e292e4939e8d6ac892647e181960a436c0e10e996e264ffdd3e5767fa1f4347fd49cbe9dcaf1338f036508354921c
6
+ metadata.gz: f654a08c9325f923e468bf4bbee2b3d8b05642870212f538e86d92b6e25408d8a00db0b0e758b4f1ca5cec84dffc2f65ff45d9463af03fdf681a786f1cfbd6cd
7
+ data.tar.gz: 541fd532a9f6631e1601c7c819b49e8e7587aca46714cf72adc9f0ddde499e80a71cc1ba0579980a84defde54e287bdf1f047709a335a8c8a5088ae5ddfa39a5
@@ -128,7 +128,7 @@ get %r{^/(.*?)/(in|out)$} do
128
128
  action = params[:captures].last
129
129
  health = action == 'out' ? 'sick' : 'auto'
130
130
 
131
- if (params[:safe].blank?)
131
+ if (params[:safe].nil?)
132
132
  safe = true
133
133
  else
134
134
  if (params[:safe] =~ (/^(false|f|no|n|0)$/i))
@@ -1,3 +1,3 @@
1
1
  module VarnishRestApiVersion
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: varnish_rest_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Colby