allq 0.3.1 → 0.3.3

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: 93790e614bb65d1094660bc2a560abf44d2d8e6a
4
- data.tar.gz: 3218cc49b7a790750f193baa080a16398c27f140
3
+ metadata.gz: dccf3ec0efd7ab854da5372728daaec0787a895d
4
+ data.tar.gz: 8157bf1ac90e05688ea652f416e2621e5b905691
5
5
  SHA512:
6
- metadata.gz: 2921c08135205dbe2f99ddbc520a02c64f685bf6200b1f15e4cdf663a20f84999846cacb3c254186800acb5b394836a75382a11257fce53b226cbcb235a91925
7
- data.tar.gz: a847caa4de0a704e519028794a461928972d737824a1a2f2ba03c4e44b7912a006fea85c5baaf645d0064f9dbcb2f064482853085bcda5bb20e17439c9c689f5
6
+ metadata.gz: 2a9b6e7562ded29e813206d571cecb921e930f5e6f137dbb5ac87dc0d43fad8727e4827d017e528852ace0dce5c55bd4d244393e707727a0d58b36a6713e4313
7
+ data.tar.gz: c2faf5c044290f55629324f892b1d6ab6e054af7fe9b7948417cff5d01bd409d93c76e996aacfbc0d01313ded82e511b364fff4a8910d7e149d0d58a12d4b9ae
data/lib/allq/client.rb CHANGED
@@ -6,7 +6,7 @@ class AllQ
6
6
 
7
7
  URL = ENV['ALLQ_CLIENT_URL'] || '127.0.0.1:7766'
8
8
  def initialize(url = nil)
9
- @url = URL if url.nil?
9
+ @url = url.nil? ? URL : url
10
10
  @connection = nil
11
11
  reload!
12
12
  end
@@ -92,6 +92,7 @@ class AllQ
92
92
 
93
93
  def reload!
94
94
  @connection.close if @connection
95
+ puts "New --#{@url}"
95
96
  @connection = AllQ::Connection.new(@url)
96
97
  @get_action = AllQ::Get.new(@connection, self)
97
98
  @put_action = AllQ::Put.new(@connection, self)
data/lib/allq/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Allq
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason