amqp-client 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 337f82d8ebaf862fd8fd1acd17f9b71be2aaee6de02f0c7c59786b222d5c5c0c
4
- data.tar.gz: 040adffbda90616864a845517a1904efa5c1dbb25e30e63febe3f34b3cf4f752
3
+ metadata.gz: 7d7dae171425db13570982c850a9efaeca9bc848be72b0a7e8652bef0407181d
4
+ data.tar.gz: e8e263b52a8055cb4385b980727c7ef5e35af5bbf127ac270474145ac77ebfc2
5
5
  SHA512:
6
- metadata.gz: 5700b885356d0c36060ffb4a9ad819bc26672a3d89fef6283cb5c4789ae3ddeafeaa57917f3001947fbdc38954eabfb138b8a98ed4a187a66912e5fb47bb3200
7
- data.tar.gz: 034c2aa88d93bf45063d41b87e92cb20545deadf7c98930a7b6626e448a84036d234274c8c1066a85e6fd35a1274dfb392128a037f6fac7a330aee0af9907a74
6
+ metadata.gz: eb41014541c095620671d2a19564051eb65bcbf296e3f7464b4542f4a22ff74867b0466063eed15442f26d3acbec1de81c498cf94cb77adce612fe413389523c
7
+ data.tar.gz: c7620262a2de427abb0efb06b253e065f3aa41e4a59feee4336045650afc2c8ac389a8ce784631b17e8f8a9d95be426eb370b7573f068c9848dd5130baeb0564
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  ## [Unreleased]
2
2
 
3
3
 
4
+ ## [0.2.1] - 2021-08-19
5
+
6
+ - More arguments to be passed to AMQP::Client::Queue
7
+ - Can require with 'amqp-client'
8
+
4
9
  ## [0.2.0] - 2021-08-19
5
10
 
6
11
  - Much improved and with a high level client
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "amqp/client"
data/lib/amqp/client.rb CHANGED
@@ -123,8 +123,8 @@ module AMQP
123
123
  self
124
124
  end
125
125
 
126
- def subscribe(prefetch: 1, arguments: {}, &blk)
127
- @client.subscribe(@name, prefetch: prefetch, arguments: arguments, &blk)
126
+ def subscribe(no_ack: false, prefetch: 1, worker_threads: 1, arguments: {}, &blk)
127
+ @client.subscribe(@name, no_ack: no_ack, prefetch: prefetch, worker_threads: worker_threads, arguments: arguments, &blk)
128
128
  self
129
129
  end
130
130
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AMQP
4
4
  class Client
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amqp-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Hörberg
@@ -29,6 +29,7 @@ files:
29
29
  - amqp-client.gemspec
30
30
  - bin/console
31
31
  - bin/setup
32
+ - lib/amqp-client.rb
32
33
  - lib/amqp/client.rb
33
34
  - lib/amqp/client/channel.rb
34
35
  - lib/amqp/client/connection.rb