varnish_rest_api 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d268360931560ab61ab2f44cbcfe66015231af26
4
- data.tar.gz: 376496089b4666f465a10446fd569456edcb4b6a
3
+ metadata.gz: 292f4c3c7f0f76325cb4767278282c396680a8f8
4
+ data.tar.gz: e2accf7cadcf58e045bd64b1ce2971eafd5a90ed
5
5
  SHA512:
6
- metadata.gz: 6cf07ad3911e41aa485fd952eb0278864755ab8cf25e86336eb55811f9606966d0261a133844311f2df7b00f128af6726d31626d09070d40dd5dfe076847e709
7
- data.tar.gz: 84b3e88def9dbd7f9d223da6d6884a41b56c9a2092ae7e17bb4e2c38e16c148e79024ad902d5b55a72b04dafc7a7bd46bbbe576548582bcd55815a73b2ffa7ab
6
+ metadata.gz: a64873933fea987b59a601f214e178d0eeb9716bd71a965b2c03c3833a9958aab29d209a771285bf2b08da612973aa66354184060b12886c89343c258ad3ae52
7
+ data.tar.gz: 3f28aabe1ae29fb0ea1833d1b0cb22261f2c98c48029081b12a7a2ca4f1f3f702a704ec2d13acb4e7534328710e03cbbc358bc8c18d53af88b0aa088f10318c3
@@ -4,9 +4,10 @@ require 'json'
4
4
  require 'ostruct'
5
5
  require 'zk'
6
6
  require 'socket'
7
+ require 'varnish_rest_api/version'
7
8
 
8
9
  class VarnishBase
9
-
10
+
10
11
  def initialize(params = {})
11
12
  @mgmt_port = params.fetch(:mgmt_port, 6082)
12
13
  @port = params.fetch(:port, 4567)
@@ -20,6 +21,7 @@ class VarnishBase
20
21
  @varnishadm = "#{@varnishadm_path.to_s} -T #{@mgmt_host.to_s}:#{@mgmt_port.to_s} -S #{@secret.to_s}"
21
22
  @hostname = Socket.gethostname
22
23
 
24
+ puts "varnish_rest_api version #{VarnishRestApiVersion::VERSION}"
23
25
  puts "varnishadm command line: " + @varnishadm.to_s
24
26
 
25
27
  if @use_zookeeper && !@zookeeper_host.empty?
@@ -1,3 +1,3 @@
1
- module VarnishRestApi
2
- VERSION = "0.0.9"
1
+ module VarnishRestApiVersion
2
+ VERSION = "0.0.10"
3
3
  end
@@ -5,7 +5,7 @@ require 'varnish_rest_api/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "varnish_rest_api"
8
- spec.version = VarnishRestApi::VERSION
8
+ spec.version = VarnishRestApiVersion::VERSION
9
9
  spec.authors = ["Jonathan Colby"]
10
10
  spec.email = ["jcolby@team.mobile.de"]
11
11
  spec.summary = %q{A sinatra rest api for varnish.}
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.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Colby