allq 0.3.3 → 0.3.4

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: dccf3ec0efd7ab854da5372728daaec0787a895d
4
- data.tar.gz: 8157bf1ac90e05688ea652f416e2621e5b905691
3
+ metadata.gz: 7ef014bf42e3b2aae0712a29d16dbfe84250f37f
4
+ data.tar.gz: 47e014a2bee172ace5f140df9f1705a64f6a2a26
5
5
  SHA512:
6
- metadata.gz: 2a9b6e7562ded29e813206d571cecb921e930f5e6f137dbb5ac87dc0d43fad8727e4827d017e528852ace0dce5c55bd4d244393e707727a0d58b36a6713e4313
7
- data.tar.gz: c2faf5c044290f55629324f892b1d6ab6e054af7fe9b7948417cff5d01bd409d93c76e996aacfbc0d01313ded82e511b364fff4a8910d7e149d0d58a12d4b9ae
6
+ metadata.gz: '0496073b8f00999644900528ce4fbf3e8debb3bda574d4febde0a3b4c13ee6e6a5ada6ab91eafb4a63b4b9946299d206f286032663ce2d6921d107b245c78f28'
7
+ data.tar.gz: 17d369cd64192b6a0eab7bf8334e32bfc21637fbe09e6a849984a0cccbd6cab79a6618da78be0d5dd9ab1c2c951c08375a2d72dbeb7682bbbd2348cd0cc65aea
@@ -5,6 +5,8 @@ class AllQ
5
5
  class Base
6
6
  attr_reader :connection, :client
7
7
 
8
+ ALLQ_DEBUG_DATA = ENV["ALLQ_DEBUG_DATA"]
9
+
8
10
  def initialize(connection, client)
9
11
  @connection = connection
10
12
  @client = client
@@ -25,7 +27,7 @@ class AllQ
25
27
  def send_hash_as_json(data_hash)
26
28
  transmit_data = data_hash.to_json
27
29
  result = nil
28
- puts "transmitting data: #{transmit_data}"
30
+ puts "transmitting data: #{transmit_data}" if ALLQ_DEBUG_DATA
29
31
  @connection.transmit(transmit_data) do |response|
30
32
  result = response
31
33
  end
@@ -1,3 +1,3 @@
1
1
  module Allq
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
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.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason