Skip to content

Commit

Permalink
Merge pull request #114 from alphagov/ostruct
Browse files Browse the repository at this point in the history
Add explicit require where `OpenStruct` is used
  • Loading branch information
csutter authored May 23, 2024
2 parents 8ec036a + 13bf1b1 commit b08a32b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased
- Add explicit require for `ostruct` library to `MockMessage` (previously relied on `ostruct` being
required somewhere in consuming code)

# 5.0.0

- BREAKING: remove disused support for statsd. No clients in alphagov use the statsd functionality any more, so this is only theoretically breaking.
Expand Down
2 changes: 2 additions & 0 deletions lib/govuk_message_queue_consumer/test_helpers/mock_message.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "ostruct"

module GovukMessageQueueConsumer
class MockMessage < Message
attr_reader :acked, :retried, :discarded, :payload, :header, :delivery_info
Expand Down

0 comments on commit b08a32b

Please sign in to comment.