govuk_message_queue_consumer 5.0.0 → 5.0.2
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7477038f026166dbf8fa38f197074786063d2aa28d8f1b90e3f9cae4cba723a8
|
4
|
+
data.tar.gz: 281d1c62af7af856dfecafbacf5dcdf0ee68e90634f4db58319e1d9529a1d43f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4026ad61626bfc0c074e03d1dea060e98b82f79235d8ce97e76316e0898195ead32ad5403ec49e4690d78e0a03c02e507d0dc2767ba902fc72f26a7846f3db8d
|
7
|
+
data.tar.gz: 72c8702efff7b3284004d4c7ef0d83fded9912299490bfaec32f923df9611e3ec0bb17804e1b10f1d81b13e2d508e7a0e456f24a925d82f98691751fe5970023
|
data/CHANGELOG.md
CHANGED
@@ -1,104 +1,114 @@
|
|
1
|
-
#
|
1
|
+
# Changelog
|
2
2
|
|
3
|
-
|
4
|
-
- Allow clients to specify a Bunny worker thread pool size of greater than 1. The default behaviour remains unchanged.
|
5
|
-
- Allow clients to specify "client prefetch" to allow more than one unacked message on a channel at a time. The default behaviour remains unchanged.
|
6
|
-
- Clean up some disused remnants of the batch consumer feature. The feature was removed in 4.0.0.
|
3
|
+
## 5.0.2
|
7
4
|
|
8
|
-
|
5
|
+
* Add explicit gem dependency for `ostruct` gem (extracted from stdlib into a gem from Ruby 3.5.0)
|
6
|
+
([#131](https://github.com/alphagov/govuk_message_queue_consumer/pull/131))
|
7
|
+
|
8
|
+
## 5.0.1
|
9
|
+
|
10
|
+
* Add explicit require for `ostruct` library to `MockMessage` (previously relied on `ostruct` being
|
11
|
+
required somewhere in consuming code)
|
12
|
+
|
13
|
+
## 5.0.0
|
14
|
+
|
15
|
+
* BREAKING: remove disused support for statsd. No clients in alphagov use the statsd functionality any more, so this is only theoretically breaking.
|
16
|
+
* Allow clients to specify a Bunny worker thread pool size of greater than 1. The default behaviour remains unchanged.
|
17
|
+
* Allow clients to specify "client prefetch" to allow more than one unacked message on a channel at a time. The default behaviour remains unchanged.
|
18
|
+
* Clean up some disused remnants of the batch consumer feature. The feature was removed in 4.0.0.
|
19
|
+
|
20
|
+
## 4.2.0
|
9
21
|
|
10
22
|
* Drop support for Ruby 3.0. The minimum required Ruby version is now 3.1.4.
|
11
23
|
* Add support for Ruby 3.3.
|
12
|
-
|
13
|
-
|
24
|
+
* Drop support for Ruby 2.7.
|
25
|
+
* Fix ability to handle system signals, and report non-`SIGTERM` errors to `GovukError`
|
14
26
|
|
15
|
-
|
27
|
+
## 4.1.0
|
16
28
|
|
17
|
-
|
29
|
+
* Support configuration via
|
18
30
|
[`RABBITMQ_URL`](https://github.com/ruby-amqp/bunny/blob/066496d8/docs/guides/connecting.md#the-rabbitmq_url-environment-variable)
|
19
31
|
instead of `RABBITMQ_HOSTS`, `RABBITMQ_VHOST`, `RABBITMQ_USER` and
|
20
32
|
`RABBITMQ_PASSWORD`, which are deprecated and will be removed in a later
|
21
33
|
version.
|
22
|
-
|
34
|
+
* Update [bunny](https://github.com/ruby-amqp/bunny/) from 2.11 to 2.17, which
|
23
35
|
is the last version that supports Ruby 2.7. See [Bunny
|
24
36
|
changelog](https://github.com/ruby-amqp/bunny/blob/main/ChangeLog.md#changes-between-bunny-216x-and-2170-sep-11th-2020).
|
25
37
|
|
26
|
-
|
38
|
+
## 4.0.0
|
27
39
|
|
28
|
-
|
40
|
+
* Breaking: remove batch consumer ([#73](https://github.com/alphagov/govuk_message_queue_consumer/pull/73))
|
29
41
|
|
30
|
-
|
42
|
+
## 3.5.0
|
31
43
|
|
32
|
-
|
44
|
+
* Stop reporting `SignalExceptions` to `GovukError`.
|
33
45
|
|
34
|
-
|
46
|
+
## 3.4.0
|
35
47
|
|
36
|
-
|
48
|
+
* Add ability to override default consumer subscribe options with `subscribe_opts` parameter
|
37
49
|
|
38
|
-
|
50
|
+
## 3.3.0
|
39
51
|
|
40
|
-
|
52
|
+
* Add access to `payload`, `delivery_info`, `header` in `GovukMessageQueueConsumer::MockMessage` for testing.
|
41
53
|
|
42
|
-
|
54
|
+
## 3.2.1
|
43
55
|
|
44
|
-
|
56
|
+
* Upgrade [bunny](http://rubybunny.info/) to 2.11
|
45
57
|
|
46
|
-
|
58
|
+
## 3.2.0
|
47
59
|
|
48
|
-
|
49
|
-
|
60
|
+
* Add batch process capabilities
|
61
|
+
* Refactor `process_chain` to `message_consumer`
|
50
62
|
|
51
|
-
|
63
|
+
## 3.1.0
|
52
64
|
|
53
|
-
|
65
|
+
* Change Airbrake to GovukError
|
54
66
|
|
55
|
-
|
67
|
+
## 3.0.2
|
56
68
|
|
57
|
-
|
69
|
+
* Republish 3.0.1 to correct checksum.
|
58
70
|
|
59
|
-
|
71
|
+
## 3.0.1
|
60
72
|
|
61
|
-
|
73
|
+
* Fix a bug that caused the test-helpers to error ([#34](https://github.com/alphagov/govuk_message_queue_consumer/pull/34))
|
62
74
|
|
63
|
-
|
75
|
+
## 3.0.0
|
64
76
|
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
77
|
+
* Updated README to conform changes on [PR #32](https://github.com/alphagov/govuk_message_queue_consumer/pull/32)
|
78
|
+
* Remove `exchange_name` parameter [PR #34](https://github.com/alphagov/govuk_message_queue_consumer/pull/34)
|
79
|
+
* Don't build test files in the gem [PR #33](https://github.com/alphagov/govuk_message_queue_consumer/pull/33)
|
80
|
+
* Prevent consumer from creating rabbitmq queues or bindings [PR #32](https://github.com/alphagov/govuk_message_queue_consumer/pull/32)
|
69
81
|
|
70
|
-
|
82
|
+
## 2.1.0
|
71
83
|
|
72
|
-
|
84
|
+
* Add support for sending stats to Statsd
|
73
85
|
|
74
|
-
|
86
|
+
## 2.0.1
|
75
87
|
|
76
88
|
* Add support for Airbrake.
|
77
89
|
|
78
|
-
|
79
|
-
|
80
|
-
- README updates making it clearer how to use the gem
|
81
|
-
- Use environment variables for RabbitMQ configuration
|
82
|
-
- Use keyword arguments for the `Consumer` setup
|
83
|
-
- Add rspec shared examples for testing a message processor
|
84
|
-
- Add `GovukMessageQueueConsumer::MockMessage` for easy testing
|
85
|
-
- Add `GovukMessageQueueConsumer::JSONProcessor` as an intermediate processor for JSON payloads
|
86
|
-
- Add Airbrake notification for gem errors
|
87
|
-
- Remove active_support dependency
|
90
|
+
## 2.0.0
|
88
91
|
|
89
|
-
|
92
|
+
* README updates making it clearer how to use the gem
|
93
|
+
* Use environment variables for RabbitMQ configuration
|
94
|
+
* Use keyword arguments for the `Consumer` setup
|
95
|
+
* Add rspec shared examples for testing a message processor
|
96
|
+
* Add `GovukMessageQueueConsumer::MockMessage` for easy testing
|
97
|
+
* Add `GovukMessageQueueConsumer::JSONProcessor` as an intermediate processor for JSON payloads
|
98
|
+
* Add Airbrake notification for gem errors
|
99
|
+
* Remove active_support dependency
|
90
100
|
|
91
|
-
|
92
|
-
- Make test helpers easier to use
|
93
|
-
- Readme improvements
|
94
|
-
- Initial release!
|
101
|
+
## 1.0.0
|
95
102
|
|
96
|
-
|
103
|
+
* Rename the gem to `govuk_message_queue_consumer`
|
104
|
+
* Make test helpers easier to use
|
105
|
+
* Readme improvements
|
106
|
+
* Initial release!
|
97
107
|
|
98
|
-
|
99
|
-
- relax the ruby version as it's causing problems in projects trying to use it
|
108
|
+
## 0.9.1
|
100
109
|
|
110
|
+
* Bug fix: relax the ruby version as it's causing problems in projects trying to use it
|
101
111
|
|
102
|
-
|
112
|
+
## 0.9.0
|
103
113
|
|
104
|
-
|
114
|
+
* Initial implementation of the gem
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_message_queue_consumer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-10 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: bunny
|
@@ -24,6 +23,20 @@ dependencies:
|
|
24
23
|
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
25
|
version: '2.17'
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: ostruct
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
27
40
|
- !ruby/object:Gem::Dependency
|
28
41
|
name: bunny-mock
|
29
42
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +99,14 @@ dependencies:
|
|
86
99
|
requirements:
|
87
100
|
- - '='
|
88
101
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
102
|
+
version: 5.0.9
|
90
103
|
type: :development
|
91
104
|
prerelease: false
|
92
105
|
version_requirements: !ruby/object:Gem::Requirement
|
93
106
|
requirements:
|
94
107
|
- - '='
|
95
108
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
109
|
+
version: 5.0.9
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: yard
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
@@ -133,7 +146,6 @@ files:
|
|
133
146
|
homepage: https://github.com/alphagov/govuk_message_queue_consumer
|
134
147
|
licenses: []
|
135
148
|
metadata: {}
|
136
|
-
post_install_message:
|
137
149
|
rdoc_options: []
|
138
150
|
require_paths:
|
139
151
|
- lib
|
@@ -148,8 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
160
|
- !ruby/object:Gem::Version
|
149
161
|
version: '0'
|
150
162
|
requirements: []
|
151
|
-
rubygems_version: 3.5
|
152
|
-
signing_key:
|
163
|
+
rubygems_version: 3.6.5
|
153
164
|
specification_version: 4
|
154
165
|
summary: AMQP message queue consumption with GOV.UK conventions
|
155
166
|
test_files: []
|