govuk_message_queue_consumer 3.2.1 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a2f504ad161d09b9bcab69429ad5c1ce5b5b2da7f4050aa6178f8f2360e3e21
4
- data.tar.gz: f21385b0bb982ad3d5060125296c3736ae589e2fa1d899e16ff079ac226e0e00
3
+ metadata.gz: dcdd4258b320d76981491bc368d4cc9ed4151e444d5294c7121ef1a6856be053
4
+ data.tar.gz: 403ef7c49ed70ef97c479aadad249ed4509b19e61dcfe0824c266a962ceb90ab
5
5
  SHA512:
6
- metadata.gz: 22dc1e7ab53cf07fa214a94754723ab2d48437b2fc828a2856548e79d2bf6ac7fecbbe14811ffc4b045df74f35962056dedf6e3ae0e2b787cc7276062af51298
7
- data.tar.gz: 5d1aeda8466f9d61ccdc0da54ec811fb498ccc49ce45654e64187a33f3d8c33d72fa28112cdafe51a872bf66f81a4a95ce78dc6422c7eb6f9528f58121737513
6
+ metadata.gz: 8228b3f8aaf76420e28c23176baeb8bc4e85eb8b7d9b27b5c99df96c88812d96dd9c05b9b0c95f94ad6de42c2540cfe0671e8dbc8b191615437daedd9e3d7a05
7
+ data.tar.gz: 913ef9800325782cca189dc3a0d472c2f63bb66e673237707c5c00a73a01c821bbeef8ef83eacda73ce372e00c38f8846ffbc24a5ff68ce4589c427c7835f084
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 3.3.0
2
+
3
+ - Add access to `payload`, `delivery_info`, `header` in `GovukMessageQueueConsumer::MockMessage` for testing.
4
+
1
5
  # 3.2.1
2
6
 
3
7
  - Upgrade [bunny](http://rubybunny.info/) to 2.11
data/README.md CHANGED
@@ -12,7 +12,11 @@ notified of changes in content.
12
12
 
13
13
  For detailed documentation, check out the [gem documentation on rubydoc.info](http://www.rubydoc.info/gems/govuk_message_queue_consumer/GovukMessageQueueConsumer/Consumer#initialize-instance_method).
14
14
 
15
- This gem is used by [Rummager](https://github.com/alphagov/rummager).
15
+ This gem is used by:
16
+
17
+ - [Cache clearing service](https://github.com/alphagov/cache-clearing-service).
18
+ - [Content performance manager](https://github.com/alphagov/content-performance-manager).
19
+ - [Rummager](https://github.com/alphagov/rummager).
16
20
 
17
21
  ## Nomenclature
18
22
 
@@ -1,6 +1,6 @@
1
1
  module GovukMessageQueueConsumer
2
2
  class MockMessage < Message
3
- attr_reader :acked, :retried, :discarded
3
+ attr_reader :acked, :retried, :discarded, :payload, :header, :delivery_info
4
4
 
5
5
  alias :acked? :acked
6
6
  alias :discarded? :discarded
@@ -1,3 +1,3 @@
1
1
  module GovukMessageQueueConsumer
2
- VERSION = '3.2.1'
2
+ VERSION = '3.3.0'
3
3
  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.2.1
4
+ version: 3.3.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: 2018-08-21 00:00:00.000000000 Z
11
+ date: 2019-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny
@@ -135,8 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  - !ruby/object:Gem::Version
136
136
  version: '0'
137
137
  requirements: []
138
- rubyforge_project:
139
- rubygems_version: 2.7.6
138
+ rubygems_version: 3.0.1
140
139
  signing_key:
141
140
  specification_version: 4
142
141
  summary: AMQP message queue consumption with GOV.UK conventions