message_bus_client_worker 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/Dockerfile +2 -2
- data/Gemfile.lock +14 -12
- data/README.md +9 -4
- data/lib/message_bus_client_worker/version.rb +1 -1
- data/message_bus_client_worker.gemspec +1 -1
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f7e3c9b947b2fa159ea74d50f018784ac5fcd25bdf021ef845c505b28c90ff6
|
4
|
+
data.tar.gz: 264bb1f14cabfda8a51c058907879d205497fe05226c4c9e8d3ab8a85e11cafc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d708bfd122db410bf056edf86213fef2bc6fbf12560d78cc6eb6575db42ad9cf9b76418cdc02896d4e12785fd8f73b0ec0e0f1190dd7f17a29cfa44509b480dd
|
7
|
+
data.tar.gz: 550a4e018642df9e5569a31fcf0f5783ff57022c361a9d84e20f69884ce3535cd991042417d62d3e97f59e759f0d970dfe2c0818623114d0b1d56da4a74d3222
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.6.3
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [1.2.2] - 2020-03-12
|
8
|
+
### Fixed
|
9
|
+
- ensure sidekiq `< 6` is installed, since `Sidekiq::Logging` is not available
|
10
|
+
|
7
11
|
## [1.2.1] - 2019-06-11
|
8
12
|
### Fixed
|
9
13
|
- conflicting last id when differentiating with headers
|
data/Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
FROM ruby:2.
|
1
|
+
FROM ruby:2.6.3
|
2
2
|
|
3
3
|
WORKDIR /gem
|
4
4
|
|
@@ -9,7 +9,7 @@ ENV BUNDLE_GEMFILE=/gem/Gemfile \
|
|
9
9
|
COPY Gemfile Gemfile.lock message_bus_client_worker.gemspec /gem/
|
10
10
|
COPY lib/message_bus_client_worker/version.rb /gem/lib/message_bus_client_worker/
|
11
11
|
|
12
|
-
RUN gem install bundler
|
12
|
+
RUN gem install bundler && \
|
13
13
|
bundle install --jobs 20 --retry 5
|
14
14
|
|
15
15
|
COPY . /gem
|
data/Gemfile.lock
CHANGED
@@ -1,43 +1,44 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
message_bus_client_worker (1.2.
|
4
|
+
message_bus_client_worker (1.2.2)
|
5
5
|
activesupport
|
6
6
|
addressable
|
7
7
|
excon
|
8
8
|
gem_config
|
9
9
|
light-service
|
10
|
-
sidekiq (>= 5.1)
|
10
|
+
sidekiq (>= 5.1, < 6)
|
11
11
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activesupport (
|
15
|
+
activesupport (6.0.2.1)
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
17
|
i18n (>= 0.7, < 2)
|
18
18
|
minitest (~> 5.1)
|
19
19
|
tzinfo (~> 1.1)
|
20
|
-
|
21
|
-
|
20
|
+
zeitwerk (~> 2.2)
|
21
|
+
addressable (2.7.0)
|
22
|
+
public_suffix (>= 2.0.2, < 5.0)
|
22
23
|
byebug (10.0.2)
|
23
24
|
coderay (1.1.2)
|
24
25
|
concurrent-ruby (1.0.5)
|
25
26
|
connection_pool (2.2.2)
|
26
27
|
diff-lcs (1.3)
|
27
|
-
excon (0.
|
28
|
-
gem_config (0.3.
|
29
|
-
i18n (1.
|
28
|
+
excon (0.72.0)
|
29
|
+
gem_config (0.3.2)
|
30
|
+
i18n (1.8.2)
|
30
31
|
concurrent-ruby (~> 1.0)
|
31
32
|
light-service (0.12.0)
|
32
33
|
method_source (0.9.0)
|
33
|
-
minitest (5.
|
34
|
+
minitest (5.14.0)
|
34
35
|
pry (0.11.3)
|
35
36
|
coderay (~> 1.1.0)
|
36
37
|
method_source (~> 0.9.0)
|
37
38
|
pry-byebug (3.6.0)
|
38
39
|
byebug (~> 10.0)
|
39
40
|
pry (~> 0.10)
|
40
|
-
public_suffix (
|
41
|
+
public_suffix (4.0.3)
|
41
42
|
rack (2.0.6)
|
42
43
|
rack-protection (2.0.3)
|
43
44
|
rack
|
@@ -65,9 +66,10 @@ GEM
|
|
65
66
|
rack-protection (>= 1.5.0)
|
66
67
|
redis (>= 3.3.5, < 5)
|
67
68
|
thread_safe (0.3.6)
|
68
|
-
tzinfo (1.2.
|
69
|
+
tzinfo (1.2.6)
|
69
70
|
thread_safe (~> 0.1)
|
70
71
|
wait (0.5.3)
|
72
|
+
zeitwerk (2.3.0)
|
71
73
|
|
72
74
|
PLATFORMS
|
73
75
|
ruby
|
@@ -82,4 +84,4 @@ DEPENDENCIES
|
|
82
84
|
wait
|
83
85
|
|
84
86
|
BUNDLED WITH
|
85
|
-
1.
|
87
|
+
1.17.3
|
data/README.md
CHANGED
@@ -34,10 +34,15 @@ MessageBusClientWorker.configure do |c|
|
|
34
34
|
c.subscriptions = {
|
35
35
|
# Format is
|
36
36
|
# "https://domain.com" => {
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
37
|
+
# headers: {
|
38
|
+
# "Some header" => "only if you want",
|
39
|
+
# },
|
40
|
+
# channels: {
|
41
|
+
# "/a_channel" => {
|
42
|
+
# processor: "ProcessorClass",
|
43
|
+
# message_id: 0,
|
44
|
+
# }
|
45
|
+
# },
|
41
46
|
# }
|
42
47
|
"https://etc.com" => {
|
43
48
|
headers: {
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.require_paths = ["lib"]
|
32
32
|
|
33
33
|
spec.add_dependency "gem_config"
|
34
|
-
spec.add_dependency "sidekiq", ">= 5.1"
|
34
|
+
spec.add_dependency "sidekiq", ">= 5.1", "< 6"
|
35
35
|
spec.add_dependency "excon"
|
36
36
|
spec.add_dependency "addressable"
|
37
37
|
spec.add_dependency "light-service"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: message_bus_client_worker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ramon Tayag
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_config
|
@@ -31,6 +31,9 @@ dependencies:
|
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '5.1'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '6'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -38,6 +41,9 @@ dependencies:
|
|
38
41
|
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
43
|
version: '5.1'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '6'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: excon
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,8 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
226
|
- !ruby/object:Gem::Version
|
221
227
|
version: '0'
|
222
228
|
requirements: []
|
223
|
-
|
224
|
-
rubygems_version: 2.7.7
|
229
|
+
rubygems_version: 3.0.8
|
225
230
|
signing_key:
|
226
231
|
specification_version: 4
|
227
232
|
summary: Subscribe to MessageBus using Sidekiq workers
|