twingly-amqp 5.0.0 → 5.0.1
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 +5 -5
- data/README.md +5 -3
- data/lib/twingly/amqp/pinger.rb +1 -1
- data/lib/twingly/amqp/subscription.rb +1 -1
- data/lib/twingly/amqp/version.rb +1 -1
- metadata +8 -23
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: c61cf032af90e6b91d1c690ad02f89c6a46e3cc7879813e47f1ee89a1367609a
|
|
4
|
+
data.tar.gz: 6508f9911ef9dcb8c64854522915129878905e62620dbf022ec104e8a911354a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f66b4eda7c713585780fa20f1bae2948b3251f00929f16fd01273f3298a32fb921eaa334e5814f464eac85446bdc17be227e9f850293a0bb753131f061a6f37
|
|
7
|
+
data.tar.gz: 87c30a0c5e817ea29be19da7b99e3d156f4ba6ca303abd63ebb265827673c90ac3b64ca22bd9d3e5df355163fb29b888931e41d6637282460d598c2bff4114b4
|
data/README.md
CHANGED
|
@@ -215,10 +215,12 @@ bundle exec rake spec:unit
|
|
|
215
215
|
|
|
216
216
|
To run static code analysis:
|
|
217
217
|
|
|
218
|
-
|
|
218
|
+
gem install rubocop
|
|
219
219
|
|
|
220
|
-
|
|
221
|
-
|
|
220
|
+
rubocop
|
|
221
|
+
|
|
222
|
+
# optionally on single file(s)
|
|
223
|
+
rubocop lib/twingly/amqp/*
|
|
222
224
|
|
|
223
225
|
## Release workflow
|
|
224
226
|
|
data/lib/twingly/amqp/pinger.rb
CHANGED
|
@@ -5,7 +5,7 @@ module Twingly
|
|
|
5
5
|
module AMQP
|
|
6
6
|
class Subscription
|
|
7
7
|
def initialize(queue_name:, exchange_topic: nil, routing_key: nil,
|
|
8
|
-
routing_keys: nil, consumer_threads:
|
|
8
|
+
routing_keys: nil, consumer_threads: 1, prefetch: 20,
|
|
9
9
|
connection: nil, max_length: nil)
|
|
10
10
|
@queue_name = queue_name
|
|
11
11
|
@exchange_topic = exchange_topic
|
data/lib/twingly/amqp/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: twingly-amqp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.
|
|
4
|
+
version: 5.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Twingly AB
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-09-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bunny
|
|
@@ -36,14 +36,14 @@ dependencies:
|
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '
|
|
39
|
+
version: '12'
|
|
40
40
|
type: :development
|
|
41
41
|
prerelease: false
|
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: '
|
|
46
|
+
version: '12'
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: rspec
|
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -58,20 +58,6 @@ dependencies:
|
|
|
58
58
|
- - "~>"
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
60
|
version: '3'
|
|
61
|
-
- !ruby/object:Gem::Dependency
|
|
62
|
-
name: rubocop
|
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
|
64
|
-
requirements:
|
|
65
|
-
- - "~>"
|
|
66
|
-
- !ruby/object:Gem::Version
|
|
67
|
-
version: '0.49'
|
|
68
|
-
type: :development
|
|
69
|
-
prerelease: false
|
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
-
requirements:
|
|
72
|
-
- - "~>"
|
|
73
|
-
- !ruby/object:Gem::Version
|
|
74
|
-
version: '0.49'
|
|
75
61
|
description: Publish and subscribe to messages via RabbitMQ
|
|
76
62
|
email:
|
|
77
63
|
- support@twingly.com
|
|
@@ -95,7 +81,7 @@ files:
|
|
|
95
81
|
homepage: https://github.com/twingly/twingly-amqp
|
|
96
82
|
licenses: []
|
|
97
83
|
metadata: {}
|
|
98
|
-
post_install_message:
|
|
84
|
+
post_install_message:
|
|
99
85
|
rdoc_options: []
|
|
100
86
|
require_paths:
|
|
101
87
|
- lib
|
|
@@ -110,9 +96,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
110
96
|
- !ruby/object:Gem::Version
|
|
111
97
|
version: '0'
|
|
112
98
|
requirements: []
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
signing_key:
|
|
99
|
+
rubygems_version: 3.1.2
|
|
100
|
+
signing_key:
|
|
116
101
|
specification_version: 4
|
|
117
102
|
summary: Ruby library for talking to RabbitMQ
|
|
118
103
|
test_files: []
|