kafkr 0.5.5 → 0.5.7

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
  SHA256:
3
- metadata.gz: 839d5db49f24a6d283f12d213016c498834b12e90dcbb29a8e261100870be59f
4
- data.tar.gz: b2700c8cb00ef4ea12207dc7323251a3e9ece950c60ccc17b9254ba3481763f7
3
+ metadata.gz: 61f0dfd7c65259a4684880f7a1ba6f7749f95de46e4eee8faf4b6d629604f3d2
4
+ data.tar.gz: e8ca8789b46ea257d93381e54b4ae8ad343e38fbf16bae276527f1abc3128867
5
5
  SHA512:
6
- metadata.gz: c3b88b1c980c88d577d75d056f723b59f358829f5f231429d15bdf7e4db3487a00d777dfe63cd32e7b12b60742c1c3affb9087fddfafb5fb81f1917ea86bee1f
7
- data.tar.gz: fb0971030fa3a95cda35423beef5a4da7dcfffaad41c9fa4f7c2081c09074eeadf2afc7ec90df0f4bcd29fb3120dced5702869c998f045ce3fd61f5becac6a00
6
+ metadata.gz: 882d352ee426b9ea072d70cefa25502fcb56a616672ddae678f7f7390a6958f40657bd53cd05f4921717b46ac3129bb95bd996c5a5998c491d1673c5c0cac6a3
7
+ data.tar.gz: 711faef688da9ec89affd06f51e8b7a57af39e37a9e214425e3a15e1bf755852e754e1188445f831eaa4e785c4cf583ae3863c73599325b64c0f4672efc0e225
@@ -163,8 +163,7 @@ module Kafkr
163
163
  def listen_for(message, send_message)
164
164
  attempt = 0
165
165
  begin
166
- socket = TCPSocket.new( Consumer.configuration.host, Consumer.configuration.port)
167
- puts "Connected to server. #{Consumer.configuration.host} #{Consumer.configuration.port} " if attempt == 0
166
+ socket = TCPSocket.new( Consumer.configuration.host, Consumer.configuration.port)
168
167
  attempt = 0
169
168
 
170
169
  Timeout.timeout(20) do
@@ -207,7 +206,6 @@ module Kafkr
207
206
  attempt = 0
208
207
  loop do
209
208
  socket = TCPSocket.new(Consumer.configuration.host, Consumer.configuration.port)
210
- puts "Connected to server. #{Consumer.configuration.host} #{Consumer.configuration.port} " if attempt == 0
211
209
  attempt = 0
212
210
 
213
211
  loop do
@@ -18,6 +18,7 @@ module Kafkr
18
18
  @configuration.queue_file = MESSAGE_QUEUE
19
19
  @configuration.acknowledged_file = ACKNOWLEDGED_MESSAGE_QUEUE
20
20
  @configuration.message_queue = []
21
+ @configuration.acknowledged_messages = []
21
22
  @configuration.acknowledged_messages = load_acknowledged_messages
22
23
  load_queue_from_file
23
24
  @configuration
data/lib/kafkr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kafkr
4
- VERSION = "0.5.5"
4
+ VERSION = "0.5.7"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kafkr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-26 00:00:00.000000000 Z
11
+ date: 2024-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gibberish
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.4.21
74
+ rubygems_version: 3.5.3
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: A homage to kafkr implmented in ruby