govuk_message_queue_consumer 3.0.2 → 3.1.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48237ae34d62ad2c19bfa687518f0f83b8953855
|
|
4
|
+
data.tar.gz: 3078b5856d7cbd3f1b3eeb2365f7a924337ba9bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a821d0c9b7c3d65de3d8aa88cafca57ac50ea3196f5add31a3108edfcfe90664f723ab4de9357f697e17512fead995fb0036a7be9f0270379908ee16769461e5
|
|
7
|
+
data.tar.gz: 7b1c8112e94b10db93a0038377e980a06fbfe4acfbe8953308a1a90302e44150fd2972f6880533e8cddb952a30104c23a4040f7af8cb83b3949577c631e29171
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -38,9 +38,8 @@ This is a ruby gem that deals with the boiler plate code of communicating with
|
|
|
38
38
|
[RabbitMQ](https://www.rabbitmq.com/). The user of this gem is left the task of
|
|
39
39
|
supplying the configuration and a class that processes messages.
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
incremented.
|
|
41
|
+
The gem is automatically released by Jenkins. To release a new version, raise a
|
|
42
|
+
pull request with the version number incremented.
|
|
44
43
|
|
|
45
44
|
### Dependencies
|
|
46
45
|
|
|
@@ -201,7 +200,7 @@ bundle exec rake spec
|
|
|
201
200
|
- [Bunny](https://github.com/ruby-amqp/bunny) is the RabbitMQ client we use.
|
|
202
201
|
- [The Bunny Guides](http://rubybunny.info/articles/guides.html) explain all
|
|
203
202
|
AMQP concepts really well.
|
|
204
|
-
- The [
|
|
203
|
+
- The [Developer Docs](https://docs.publishing.service.gov.uk/manual/rabbitmq.html)
|
|
205
204
|
documents the usage of "heartbeat" messages, which this gem also supports.
|
|
206
205
|
|
|
207
206
|
## Licence
|
|
@@ -36,7 +36,7 @@ module GovukMessageQueueConsumer
|
|
|
36
36
|
@statsd_client.increment("#{@queue_name}.#{message.status}")
|
|
37
37
|
rescue Exception => e
|
|
38
38
|
@statsd_client.increment("#{@queue_name}.uncaught_exception")
|
|
39
|
-
|
|
39
|
+
GovukError.notify(e) if defined?(GovukError)
|
|
40
40
|
@logger.error "Uncaught exception in processor: \n\n #{e.class}: #{e.message}\n\n#{e.backtrace.join("\n")}"
|
|
41
41
|
exit(1) # Ensure rabbitmq requeues outstanding messages
|
|
42
42
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_message_queue_consumer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0
|
|
4
|
+
version: 3.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-09-27 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.2.0
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: gem_publisher
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - "~>"
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.5.0
|
|
34
|
-
type: :development
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - "~>"
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.5.0
|
|
41
27
|
- !ruby/object:Gem::Dependency
|
|
42
28
|
name: rspec
|
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -120,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
120
106
|
version: '0'
|
|
121
107
|
requirements: []
|
|
122
108
|
rubyforge_project:
|
|
123
|
-
rubygems_version: 2.
|
|
109
|
+
rubygems_version: 2.6.13
|
|
124
110
|
signing_key:
|
|
125
111
|
specification_version: 4
|
|
126
112
|
summary: AMQP message queue consumption with GOV.UK conventions
|