allq 0.2.4 → 0.2.5
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 +4 -4
- data/lib/allq/client.rb +1 -2
- data/lib/allq/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 573e717f30e1bf0b200a257a14050a0eab5d2898
|
|
4
|
+
data.tar.gz: ff7c07d1f4baf3f8d5aa4112fca0cf1a304a395c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b02308bd2ea3a483e93d10142320f46c1cb2f1ee4bbfc971029f3c776d57d057f6038c11ca58ada527f8748e2352e8320d20838638bfbb5e391368e4b83e55c
|
|
7
|
+
data.tar.gz: 5ffdb8a5c772fce62581f93328306326fb6d9f8b654af59163ade99ceb0b6a5b7f1b98864e168e4d3a9e7d597ec718b0a1b6f3e9b72b049d02fc51710ae13c75
|
data/lib/allq/client.rb
CHANGED
|
@@ -3,10 +3,9 @@ require 'singleton'
|
|
|
3
3
|
class AllQ
|
|
4
4
|
# Represents the client singleton
|
|
5
5
|
class Client
|
|
6
|
-
include Singleton
|
|
7
6
|
|
|
8
7
|
URL = ENV['ALLQ_CLIENT_URL'] || '127.0.0.1:7766'
|
|
9
|
-
def initialize(url)
|
|
8
|
+
def initialize(url = nil)
|
|
10
9
|
url = URL if url.nil?
|
|
11
10
|
|
|
12
11
|
@connection = AllQ::Connection.new(url)
|
data/lib/allq/version.rb
CHANGED