rabbit_messaging 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -10
- data/.gitignore +3 -1
- data/.rubocop.yml +4 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +163 -146
- data/README.md +1 -1
- data/lib/rabbit/receiving/handler_resolver.rb +2 -2
- data/lib/rabbit/receiving/worker.rb +2 -0
- data/lib/rabbit/version.rb +1 -1
- data/lib/rabbit.rb +1 -1
- data/log/.keep +0 -0
- data/rabbit_messaging.gemspec +0 -11
- metadata +4 -143
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54edf1eb0f95086a958e8218b583661bb39b970480f7ffbcca93f53da5c20d3b
|
4
|
+
data.tar.gz: f5330e45e0c48193ae929e814ddaa19c0d3be7de4def288411d620ece56ead28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6fb98cfec10c2d185a0b11865b864e079b39de06d4bb87968d994ac9927e74820551d0ac263848560c3cd6db76f6a8b049e1d2cb895f70136bddae686ab280b
|
7
|
+
data.tar.gz: 6339eddf4545a7fca7f96b0b887d9507a274f1806a2ecab0e298aac5fa59015e0106ac88babcdd92821542c61a811b85aae408d774b6b26e9a528cdac6871af9
|
data/.github/workflows/test.yml
CHANGED
@@ -15,8 +15,6 @@ jobs:
|
|
15
15
|
with:
|
16
16
|
ruby-version: "3.0"
|
17
17
|
bundler-cache: true
|
18
|
-
- name: Create log dir
|
19
|
-
run: mkdir -p log
|
20
18
|
- name: Run Linter
|
21
19
|
run: bundle exec rubocop
|
22
20
|
- name: Run audit
|
@@ -29,7 +27,6 @@ jobs:
|
|
29
27
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
30
28
|
specs:
|
31
29
|
runs-on: ubuntu-latest
|
32
|
-
continue-on-error: ${{ matrix.experimental }}
|
33
30
|
|
34
31
|
# We want to run on external PRs, but not on our own internal PRs as they'll be run on push event
|
35
32
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'umbrellio/rabbit_messaging'
|
@@ -37,11 +34,7 @@ jobs:
|
|
37
34
|
strategy:
|
38
35
|
fail-fast: false
|
39
36
|
matrix:
|
40
|
-
ruby: ["2.
|
41
|
-
experimental: [false]
|
42
|
-
include:
|
43
|
-
- ruby: head
|
44
|
-
experimental: true
|
37
|
+
ruby: ["2.7", "3.0", "3.1", "3.2"]
|
45
38
|
|
46
39
|
steps:
|
47
40
|
- uses: actions/checkout@v2
|
@@ -49,7 +42,5 @@ jobs:
|
|
49
42
|
with:
|
50
43
|
ruby-version: ${{ matrix.ruby }}
|
51
44
|
bundler-cache: true
|
52
|
-
- name: Create log dir
|
53
|
-
run: mkdir -p log
|
54
45
|
- name: Run specs
|
55
46
|
run: bundle exec rspec
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -4,6 +4,7 @@ inherit_gem:
|
|
4
4
|
AllCops:
|
5
5
|
DisplayCopNames: true
|
6
6
|
TargetRubyVersion: 2.5
|
7
|
+
SuggestExtensions: false
|
7
8
|
Include:
|
8
9
|
- lib/**/*.rb
|
9
10
|
- spec/**/*.rb
|
@@ -19,3 +20,6 @@ Style/Alias:
|
|
19
20
|
Style/HashConversion:
|
20
21
|
Exclude:
|
21
22
|
- spec/**/*
|
23
|
+
|
24
|
+
RSpec/VerifiedDoubleReference:
|
25
|
+
EnforcedStyle: string
|
data/Gemfile
CHANGED
@@ -2,3 +2,15 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
gemspec
|
5
|
+
|
6
|
+
gem "bundler"
|
7
|
+
gem "bundler-audit"
|
8
|
+
gem "pry"
|
9
|
+
gem "rails"
|
10
|
+
gem "rake"
|
11
|
+
gem "rspec"
|
12
|
+
gem "rspec-its"
|
13
|
+
gem "rubocop-config-umbrellio"
|
14
|
+
gem "sentry-ruby-core"
|
15
|
+
gem "simplecov"
|
16
|
+
gem "simplecov-lcov"
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rabbit_messaging (0.
|
4
|
+
rabbit_messaging (0.13.0)
|
5
5
|
bunny (~> 2.0)
|
6
|
-
exception_notification
|
7
6
|
lamian
|
8
7
|
rails (>= 5.2)
|
9
8
|
sneakers (~> 2.0)
|
@@ -12,204 +11,226 @@ PATH
|
|
12
11
|
GEM
|
13
12
|
remote: https://rubygems.org/
|
14
13
|
specs:
|
15
|
-
actioncable (
|
16
|
-
actionpack (=
|
17
|
-
activesupport (=
|
14
|
+
actioncable (7.0.4.2)
|
15
|
+
actionpack (= 7.0.4.2)
|
16
|
+
activesupport (= 7.0.4.2)
|
18
17
|
nio4r (~> 2.0)
|
19
18
|
websocket-driver (>= 0.6.1)
|
20
|
-
actionmailbox (
|
21
|
-
actionpack (=
|
22
|
-
activejob (=
|
23
|
-
activerecord (=
|
24
|
-
activestorage (=
|
25
|
-
activesupport (=
|
19
|
+
actionmailbox (7.0.4.2)
|
20
|
+
actionpack (= 7.0.4.2)
|
21
|
+
activejob (= 7.0.4.2)
|
22
|
+
activerecord (= 7.0.4.2)
|
23
|
+
activestorage (= 7.0.4.2)
|
24
|
+
activesupport (= 7.0.4.2)
|
26
25
|
mail (>= 2.7.1)
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
26
|
+
net-imap
|
27
|
+
net-pop
|
28
|
+
net-smtp
|
29
|
+
actionmailer (7.0.4.2)
|
30
|
+
actionpack (= 7.0.4.2)
|
31
|
+
actionview (= 7.0.4.2)
|
32
|
+
activejob (= 7.0.4.2)
|
33
|
+
activesupport (= 7.0.4.2)
|
32
34
|
mail (~> 2.5, >= 2.5.4)
|
35
|
+
net-imap
|
36
|
+
net-pop
|
37
|
+
net-smtp
|
33
38
|
rails-dom-testing (~> 2.0)
|
34
|
-
actionpack (
|
35
|
-
actionview (=
|
36
|
-
activesupport (=
|
37
|
-
rack (~> 2.0, >= 2.0
|
39
|
+
actionpack (7.0.4.2)
|
40
|
+
actionview (= 7.0.4.2)
|
41
|
+
activesupport (= 7.0.4.2)
|
42
|
+
rack (~> 2.0, >= 2.2.0)
|
38
43
|
rack-test (>= 0.6.3)
|
39
44
|
rails-dom-testing (~> 2.0)
|
40
45
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
41
|
-
actiontext (
|
42
|
-
actionpack (=
|
43
|
-
activerecord (=
|
44
|
-
activestorage (=
|
45
|
-
activesupport (=
|
46
|
+
actiontext (7.0.4.2)
|
47
|
+
actionpack (= 7.0.4.2)
|
48
|
+
activerecord (= 7.0.4.2)
|
49
|
+
activestorage (= 7.0.4.2)
|
50
|
+
activesupport (= 7.0.4.2)
|
51
|
+
globalid (>= 0.6.0)
|
46
52
|
nokogiri (>= 1.8.5)
|
47
|
-
actionview (
|
48
|
-
activesupport (=
|
53
|
+
actionview (7.0.4.2)
|
54
|
+
activesupport (= 7.0.4.2)
|
49
55
|
builder (~> 3.1)
|
50
56
|
erubi (~> 1.4)
|
51
57
|
rails-dom-testing (~> 2.0)
|
52
58
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
53
|
-
activejob (
|
54
|
-
activesupport (=
|
59
|
+
activejob (7.0.4.2)
|
60
|
+
activesupport (= 7.0.4.2)
|
55
61
|
globalid (>= 0.3.6)
|
56
|
-
activemodel (
|
57
|
-
activesupport (=
|
58
|
-
activerecord (
|
59
|
-
activemodel (=
|
60
|
-
activesupport (=
|
61
|
-
activestorage (
|
62
|
-
actionpack (=
|
63
|
-
activejob (=
|
64
|
-
activerecord (=
|
65
|
-
activesupport (=
|
66
|
-
marcel (~> 1.0
|
67
|
-
mini_mime (
|
68
|
-
activesupport (
|
62
|
+
activemodel (7.0.4.2)
|
63
|
+
activesupport (= 7.0.4.2)
|
64
|
+
activerecord (7.0.4.2)
|
65
|
+
activemodel (= 7.0.4.2)
|
66
|
+
activesupport (= 7.0.4.2)
|
67
|
+
activestorage (7.0.4.2)
|
68
|
+
actionpack (= 7.0.4.2)
|
69
|
+
activejob (= 7.0.4.2)
|
70
|
+
activerecord (= 7.0.4.2)
|
71
|
+
activesupport (= 7.0.4.2)
|
72
|
+
marcel (~> 1.0)
|
73
|
+
mini_mime (>= 1.1.0)
|
74
|
+
activesupport (7.0.4.2)
|
69
75
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
70
76
|
i18n (>= 1.6, < 2)
|
71
77
|
minitest (>= 5.1)
|
72
78
|
tzinfo (~> 2.0)
|
73
|
-
zeitwerk (~> 2.3)
|
74
79
|
amq-protocol (2.3.2)
|
75
80
|
ast (2.4.2)
|
76
81
|
builder (3.2.4)
|
77
|
-
bundler-audit (0.
|
82
|
+
bundler-audit (0.9.1)
|
78
83
|
bundler (>= 1.2.0, < 3)
|
79
84
|
thor (~> 1.0)
|
80
|
-
bunny (2.
|
85
|
+
bunny (2.20.3)
|
81
86
|
amq-protocol (~> 2.3, >= 2.3.1)
|
82
87
|
sorted_set (~> 1, >= 1.0.2)
|
83
88
|
coderay (1.1.3)
|
84
|
-
concurrent-ruby (1.
|
89
|
+
concurrent-ruby (1.2.0)
|
85
90
|
crass (1.0.6)
|
86
|
-
|
91
|
+
date (3.3.3)
|
92
|
+
diff-lcs (1.5.0)
|
87
93
|
docile (1.4.0)
|
88
|
-
erubi (1.
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
globalid (0.4.2)
|
93
|
-
activesupport (>= 4.2.0)
|
94
|
-
i18n (1.8.10)
|
94
|
+
erubi (1.12.0)
|
95
|
+
globalid (1.1.0)
|
96
|
+
activesupport (>= 5.0)
|
97
|
+
i18n (1.12.0)
|
95
98
|
concurrent-ruby (~> 1.0)
|
96
|
-
|
99
|
+
json (2.6.3)
|
100
|
+
lamian (1.7.0)
|
97
101
|
rails (>= 4.2)
|
98
|
-
loofah (2.
|
102
|
+
loofah (2.19.1)
|
99
103
|
crass (~> 1.0.2)
|
100
104
|
nokogiri (>= 1.5.9)
|
101
|
-
mail (2.
|
105
|
+
mail (2.8.1)
|
102
106
|
mini_mime (>= 0.1.1)
|
103
|
-
|
107
|
+
net-imap
|
108
|
+
net-pop
|
109
|
+
net-smtp
|
110
|
+
marcel (1.0.2)
|
104
111
|
method_source (1.0.0)
|
105
|
-
mini_mime (1.
|
106
|
-
mini_portile2 (2.
|
107
|
-
minitest (5.
|
108
|
-
|
109
|
-
|
110
|
-
|
112
|
+
mini_mime (1.1.2)
|
113
|
+
mini_portile2 (2.8.1)
|
114
|
+
minitest (5.17.0)
|
115
|
+
net-imap (0.3.4)
|
116
|
+
date
|
117
|
+
net-protocol
|
118
|
+
net-pop (0.1.2)
|
119
|
+
net-protocol
|
120
|
+
net-protocol (0.2.1)
|
121
|
+
timeout
|
122
|
+
net-smtp (0.3.3)
|
123
|
+
net-protocol
|
124
|
+
nio4r (2.5.8)
|
125
|
+
nokogiri (1.14.2)
|
126
|
+
mini_portile2 (~> 2.8.0)
|
111
127
|
racc (~> 1.4)
|
112
|
-
parallel (1.
|
113
|
-
parser (3.
|
128
|
+
parallel (1.22.1)
|
129
|
+
parser (3.2.1.0)
|
114
130
|
ast (~> 2.4.1)
|
115
|
-
pry (0.14.
|
131
|
+
pry (0.14.2)
|
116
132
|
coderay (~> 1.1)
|
117
133
|
method_source (~> 1.0)
|
118
|
-
racc (1.
|
119
|
-
rack (2.2.
|
120
|
-
rack-test (
|
121
|
-
rack (>= 1.
|
122
|
-
rails (
|
123
|
-
actioncable (=
|
124
|
-
actionmailbox (=
|
125
|
-
actionmailer (=
|
126
|
-
actionpack (=
|
127
|
-
actiontext (=
|
128
|
-
actionview (=
|
129
|
-
activejob (=
|
130
|
-
activemodel (=
|
131
|
-
activerecord (=
|
132
|
-
activestorage (=
|
133
|
-
activesupport (=
|
134
|
+
racc (1.6.2)
|
135
|
+
rack (2.2.6.2)
|
136
|
+
rack-test (2.0.2)
|
137
|
+
rack (>= 1.3)
|
138
|
+
rails (7.0.4.2)
|
139
|
+
actioncable (= 7.0.4.2)
|
140
|
+
actionmailbox (= 7.0.4.2)
|
141
|
+
actionmailer (= 7.0.4.2)
|
142
|
+
actionpack (= 7.0.4.2)
|
143
|
+
actiontext (= 7.0.4.2)
|
144
|
+
actionview (= 7.0.4.2)
|
145
|
+
activejob (= 7.0.4.2)
|
146
|
+
activemodel (= 7.0.4.2)
|
147
|
+
activerecord (= 7.0.4.2)
|
148
|
+
activestorage (= 7.0.4.2)
|
149
|
+
activesupport (= 7.0.4.2)
|
134
150
|
bundler (>= 1.15.0)
|
135
|
-
railties (=
|
136
|
-
sprockets-rails (>= 2.0.0)
|
151
|
+
railties (= 7.0.4.2)
|
137
152
|
rails-dom-testing (2.0.3)
|
138
153
|
activesupport (>= 4.2.0)
|
139
154
|
nokogiri (>= 1.6)
|
140
|
-
rails-html-sanitizer (1.
|
141
|
-
loofah (~> 2.
|
142
|
-
railties (
|
143
|
-
actionpack (=
|
144
|
-
activesupport (=
|
155
|
+
rails-html-sanitizer (1.5.0)
|
156
|
+
loofah (~> 2.19, >= 2.19.1)
|
157
|
+
railties (7.0.4.2)
|
158
|
+
actionpack (= 7.0.4.2)
|
159
|
+
activesupport (= 7.0.4.2)
|
145
160
|
method_source
|
146
|
-
rake (>=
|
161
|
+
rake (>= 12.2)
|
147
162
|
thor (~> 1.0)
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
163
|
+
zeitwerk (~> 2.5)
|
164
|
+
rainbow (3.1.1)
|
165
|
+
rake (13.0.6)
|
166
|
+
rbtree (0.4.6)
|
167
|
+
regexp_parser (2.7.0)
|
152
168
|
rexml (3.2.5)
|
153
|
-
rspec (3.
|
154
|
-
rspec-core (~> 3.
|
155
|
-
rspec-expectations (~> 3.
|
156
|
-
rspec-mocks (~> 3.
|
157
|
-
rspec-core (3.
|
158
|
-
rspec-support (~> 3.
|
159
|
-
rspec-expectations (3.
|
169
|
+
rspec (3.12.0)
|
170
|
+
rspec-core (~> 3.12.0)
|
171
|
+
rspec-expectations (~> 3.12.0)
|
172
|
+
rspec-mocks (~> 3.12.0)
|
173
|
+
rspec-core (3.12.1)
|
174
|
+
rspec-support (~> 3.12.0)
|
175
|
+
rspec-expectations (3.12.2)
|
160
176
|
diff-lcs (>= 1.2.0, < 2.0)
|
161
|
-
rspec-support (~> 3.
|
177
|
+
rspec-support (~> 3.12.0)
|
162
178
|
rspec-its (1.3.0)
|
163
179
|
rspec-core (>= 3.0.0)
|
164
180
|
rspec-expectations (>= 3.0.0)
|
165
|
-
rspec-mocks (3.
|
181
|
+
rspec-mocks (3.12.3)
|
166
182
|
diff-lcs (>= 1.2.0, < 2.0)
|
167
|
-
rspec-support (~> 3.
|
168
|
-
rspec-support (3.
|
169
|
-
rubocop (1.
|
183
|
+
rspec-support (~> 3.12.0)
|
184
|
+
rspec-support (3.12.0)
|
185
|
+
rubocop (1.43.0)
|
186
|
+
json (~> 2.3)
|
170
187
|
parallel (~> 1.10)
|
171
|
-
parser (>= 3.
|
188
|
+
parser (>= 3.2.0.0)
|
172
189
|
rainbow (>= 2.2.2, < 4.0)
|
173
190
|
regexp_parser (>= 1.8, < 3.0)
|
174
|
-
rexml
|
175
|
-
rubocop-ast (>= 1.
|
191
|
+
rexml (>= 3.2.5, < 4.0)
|
192
|
+
rubocop-ast (>= 1.24.1, < 2.0)
|
176
193
|
ruby-progressbar (~> 1.7)
|
177
|
-
unicode-display_width (>=
|
178
|
-
rubocop-ast (1.
|
179
|
-
parser (>= 3.
|
180
|
-
rubocop-config-umbrellio (1.
|
181
|
-
rubocop (
|
182
|
-
rubocop-performance (
|
183
|
-
rubocop-rails (
|
184
|
-
rubocop-rake (
|
185
|
-
rubocop-rspec (
|
186
|
-
rubocop-sequel (
|
187
|
-
rubocop-performance (1.
|
188
|
-
rubocop (>=
|
194
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
195
|
+
rubocop-ast (1.26.0)
|
196
|
+
parser (>= 3.2.1.0)
|
197
|
+
rubocop-config-umbrellio (1.43.0.81)
|
198
|
+
rubocop (~> 1.43.0)
|
199
|
+
rubocop-performance (~> 1.15.0)
|
200
|
+
rubocop-rails (~> 2.17.0)
|
201
|
+
rubocop-rake (~> 0.6.0)
|
202
|
+
rubocop-rspec (~> 2.16.0)
|
203
|
+
rubocop-sequel (~> 0.3.3)
|
204
|
+
rubocop-performance (1.15.2)
|
205
|
+
rubocop (>= 1.7.0, < 2.0)
|
189
206
|
rubocop-ast (>= 0.4.0)
|
190
|
-
rubocop-rails (2.
|
207
|
+
rubocop-rails (2.17.4)
|
191
208
|
activesupport (>= 4.2.0)
|
192
209
|
rack (>= 1.1)
|
193
|
-
rubocop (>=
|
194
|
-
rubocop-rake (0.
|
195
|
-
rubocop
|
196
|
-
rubocop-rspec (2.2.0)
|
210
|
+
rubocop (>= 1.33.0, < 2.0)
|
211
|
+
rubocop-rake (0.6.0)
|
197
212
|
rubocop (~> 1.0)
|
198
|
-
|
199
|
-
|
213
|
+
rubocop-rspec (2.16.0)
|
214
|
+
rubocop (~> 1.33)
|
215
|
+
rubocop-sequel (0.3.4)
|
200
216
|
rubocop (~> 1.0)
|
201
217
|
ruby-progressbar (1.11.0)
|
218
|
+
sentry-ruby (5.8.0)
|
219
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
220
|
+
sentry-ruby-core (5.8.0)
|
221
|
+
concurrent-ruby
|
222
|
+
sentry-ruby (= 5.8.0)
|
202
223
|
serverengine (2.0.7)
|
203
224
|
sigdump (~> 0.2.2)
|
204
|
-
set (1.0.
|
225
|
+
set (1.0.3)
|
205
226
|
sigdump (0.2.4)
|
206
|
-
simplecov (0.
|
227
|
+
simplecov (0.22.0)
|
207
228
|
docile (~> 1.1)
|
208
229
|
simplecov-html (~> 0.11)
|
209
230
|
simplecov_json_formatter (~> 0.1)
|
210
231
|
simplecov-html (0.12.3)
|
211
232
|
simplecov-lcov (0.8.0)
|
212
|
-
simplecov_json_formatter (0.1.
|
233
|
+
simplecov_json_formatter (0.1.4)
|
213
234
|
sneakers (2.11.0)
|
214
235
|
bunny (~> 2.12)
|
215
236
|
concurrent-ruby (~> 1.0)
|
@@ -219,23 +240,17 @@ GEM
|
|
219
240
|
sorted_set (1.0.3)
|
220
241
|
rbtree
|
221
242
|
set (~> 1.0)
|
222
|
-
sprockets (4.0.2)
|
223
|
-
concurrent-ruby (~> 1.0)
|
224
|
-
rack (> 1, < 3)
|
225
|
-
sprockets-rails (3.2.2)
|
226
|
-
actionpack (>= 4.0)
|
227
|
-
activesupport (>= 4.0)
|
228
|
-
sprockets (>= 3.0.0)
|
229
243
|
tainbox (2.1.2)
|
230
244
|
activesupport
|
231
|
-
thor (1.1
|
232
|
-
|
245
|
+
thor (1.2.1)
|
246
|
+
timeout (0.3.2)
|
247
|
+
tzinfo (2.0.6)
|
233
248
|
concurrent-ruby (~> 1.0)
|
234
|
-
unicode-display_width (2.
|
235
|
-
websocket-driver (0.7.
|
249
|
+
unicode-display_width (2.4.2)
|
250
|
+
websocket-driver (0.7.5)
|
236
251
|
websocket-extensions (>= 0.1.0)
|
237
252
|
websocket-extensions (0.1.5)
|
238
|
-
zeitwerk (2.
|
253
|
+
zeitwerk (2.6.7)
|
239
254
|
|
240
255
|
PLATFORMS
|
241
256
|
ruby
|
@@ -245,12 +260,14 @@ DEPENDENCIES
|
|
245
260
|
bundler-audit
|
246
261
|
pry
|
247
262
|
rabbit_messaging!
|
263
|
+
rails
|
248
264
|
rake
|
249
265
|
rspec
|
250
266
|
rspec-its
|
251
267
|
rubocop-config-umbrellio
|
252
|
-
|
268
|
+
sentry-ruby-core
|
269
|
+
simplecov
|
253
270
|
simplecov-lcov
|
254
271
|
|
255
272
|
BUNDLED WITH
|
256
|
-
2.
|
273
|
+
2.4.7
|
data/README.md
CHANGED
@@ -87,7 +87,7 @@ require "rabbit_messaging"
|
|
87
87
|
|
88
88
|
* `exception_notifier` (`Proc`)
|
89
89
|
|
90
|
-
By default, exceptions are reported using `
|
90
|
+
By default, exceptions are reported using `Sentry` (see [sentry gem](https://github.com/getsentry/sentry-ruby)).
|
91
91
|
You can provide your own notifier like this:
|
92
92
|
|
93
93
|
```ruby
|
@@ -27,8 +27,8 @@ module Rabbit::Receiving::HandlerResolver
|
|
27
27
|
handler
|
28
28
|
else
|
29
29
|
raise UnsupportedEvent, "#{event.inspect} event from #{group_id.inspect} group is not " \
|
30
|
-
|
31
|
-
|
30
|
+
"supported, it requires a #{name.inspect} class inheriting from " \
|
31
|
+
"\"Rabbit::EventHandler\" to be defined"
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
data/lib/rabbit/version.rb
CHANGED
data/lib/rabbit.rb
CHANGED
data/log/.keep
ADDED
File without changes
|
data/rabbit_messaging.gemspec
CHANGED
@@ -20,19 +20,8 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
22
|
spec.add_runtime_dependency "bunny", "~> 2.0"
|
23
|
-
spec.add_runtime_dependency "exception_notification"
|
24
23
|
spec.add_runtime_dependency "lamian"
|
25
24
|
spec.add_runtime_dependency "rails", ">= 5.2"
|
26
25
|
spec.add_runtime_dependency "sneakers", "~> 2.0"
|
27
26
|
spec.add_runtime_dependency "tainbox"
|
28
|
-
|
29
|
-
spec.add_development_dependency "bundler"
|
30
|
-
spec.add_development_dependency "bundler-audit"
|
31
|
-
spec.add_development_dependency "pry"
|
32
|
-
spec.add_development_dependency "rake"
|
33
|
-
spec.add_development_dependency "rspec"
|
34
|
-
spec.add_development_dependency "rspec-its"
|
35
|
-
spec.add_development_dependency "rubocop-config-umbrellio"
|
36
|
-
spec.add_development_dependency "simplecov", ">= 0.21"
|
37
|
-
spec.add_development_dependency "simplecov-lcov"
|
38
27
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbit_messaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Umbrellio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: exception_notification
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: lamian
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,132 +80,6 @@ dependencies:
|
|
94
80
|
- - ">="
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: bundler
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: bundler-audit
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: pry
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rake
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rspec
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: rspec-its
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - ">="
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: rubocop-config-umbrellio
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - ">="
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '0'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - ">="
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '0'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: simplecov
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - ">="
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '0.21'
|
202
|
-
type: :development
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - ">="
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: '0.21'
|
209
|
-
- !ruby/object:Gem::Dependency
|
210
|
-
name: simplecov-lcov
|
211
|
-
requirement: !ruby/object:Gem::Requirement
|
212
|
-
requirements:
|
213
|
-
- - ">="
|
214
|
-
- !ruby/object:Gem::Version
|
215
|
-
version: '0'
|
216
|
-
type: :development
|
217
|
-
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - ">="
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: '0'
|
223
83
|
description: Rabbit (Rabbit Messaging)
|
224
84
|
email:
|
225
85
|
- oss@umbrellio.biz
|
@@ -259,6 +119,7 @@ files:
|
|
259
119
|
- lib/rabbit/test_helpers.rb
|
260
120
|
- lib/rabbit/version.rb
|
261
121
|
- lib/rabbit_messaging.rb
|
122
|
+
- log/.keep
|
262
123
|
- rabbit_messaging.gemspec
|
263
124
|
homepage: https://github.com/umbrellio/rabbit_messaging
|
264
125
|
licenses: []
|
@@ -278,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
278
139
|
- !ruby/object:Gem::Version
|
279
140
|
version: '0'
|
280
141
|
requirements: []
|
281
|
-
rubygems_version: 3.
|
142
|
+
rubygems_version: 3.4.7
|
282
143
|
signing_key:
|
283
144
|
specification_version: 4
|
284
145
|
summary: Rabbit (Rabbit Messaging)
|