message_bus 4.3.8 → 4.4.0
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 +4 -4
- data/.github/workflows/ci.yml +38 -24
- data/.rubocop.yml +6 -2
- data/CHANGELOG +14 -2
- data/README.md +1 -1
- data/Rakefile +2 -4
- data/lib/message_bus/backends/base.rb +0 -1
- data/lib/message_bus/backends/postgres.rb +1 -1
- data/lib/message_bus/backends/redis.rb +13 -35
- data/lib/message_bus/rack/middleware.rb +5 -1
- data/lib/message_bus/version.rb +1 -1
- data/lib/message_bus.rb +5 -4
- data/message_bus.gemspec +4 -2
- data/package-lock.json +386 -186
- data/spec/integration/http_client_spec.rb +0 -6
- data/spec/lib/message_bus/multi_process_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +7 -24
@@ -16,14 +16,8 @@ describe MessageBus::HTTPClient do
|
|
16
16
|
assert_equal("200", response.code)
|
17
17
|
end
|
18
18
|
|
19
|
-
before do
|
20
|
-
@threads = Thread.list
|
21
|
-
end
|
22
|
-
|
23
19
|
after do
|
24
|
-
new_threads = Thread.list - @threads
|
25
20
|
client.stop
|
26
|
-
new_threads.each(&:join)
|
27
21
|
end
|
28
22
|
|
29
23
|
describe '#start and #stop' do
|
data/spec/spec_helper.rb
CHANGED
@@ -19,7 +19,7 @@ BACKEND_CLASS = MessageBus::BACKENDS.fetch(CURRENT_BACKEND)
|
|
19
19
|
puts "Running with backend: #{CURRENT_BACKEND}"
|
20
20
|
|
21
21
|
def test_only(*backends)
|
22
|
-
skip "Test doesn't apply to #{CURRENT_BACKEND}"
|
22
|
+
skip "Test doesn't apply to #{CURRENT_BACKEND}" if backends.exclude?(CURRENT_BACKEND)
|
23
23
|
end
|
24
24
|
|
25
25
|
def test_never(*backends)
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: message_bus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-14 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rack
|
@@ -238,30 +237,16 @@ dependencies:
|
|
238
237
|
name: rubocop-discourse
|
239
238
|
requirement: !ruby/object:Gem::Requirement
|
240
239
|
requirements:
|
241
|
-
- -
|
240
|
+
- - '='
|
242
241
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
242
|
+
version: 3.8.1
|
244
243
|
type: :development
|
245
244
|
prerelease: false
|
246
245
|
version_requirements: !ruby/object:Gem::Requirement
|
247
246
|
requirements:
|
248
|
-
- -
|
249
|
-
- !ruby/object:Gem::Version
|
250
|
-
version: '0'
|
251
|
-
- !ruby/object:Gem::Dependency
|
252
|
-
name: rubocop-rspec
|
253
|
-
requirement: !ruby/object:Gem::Requirement
|
254
|
-
requirements:
|
255
|
-
- - ">="
|
247
|
+
- - '='
|
256
248
|
- !ruby/object:Gem::Version
|
257
|
-
version:
|
258
|
-
type: :development
|
259
|
-
prerelease: false
|
260
|
-
version_requirements: !ruby/object:Gem::Requirement
|
261
|
-
requirements:
|
262
|
-
- - ">="
|
263
|
-
- !ruby/object:Gem::Version
|
264
|
-
version: '0'
|
249
|
+
version: 3.8.1
|
265
250
|
description: A message bus for rack
|
266
251
|
email:
|
267
252
|
- sam.saffron@gmail.com
|
@@ -355,7 +340,6 @@ homepage: https://github.com/discourse/message_bus
|
|
355
340
|
licenses:
|
356
341
|
- MIT
|
357
342
|
metadata: {}
|
358
|
-
post_install_message:
|
359
343
|
rdoc_options: []
|
360
344
|
require_paths:
|
361
345
|
- lib
|
@@ -370,8 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
370
354
|
- !ruby/object:Gem::Version
|
371
355
|
version: '0'
|
372
356
|
requirements: []
|
373
|
-
rubygems_version: 3.
|
374
|
-
signing_key:
|
357
|
+
rubygems_version: 3.6.2
|
375
358
|
specification_version: 4
|
376
359
|
summary: ''
|
377
360
|
test_files: []
|