diff --git a/.rubocop.yml b/.rubocop.yml index a77f4bb..593c7ec 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,4 +6,7 @@ AllCops: Exclude: - 'spec/**/*' +Metrics/ClassLength: + Enabled: false + inherit_from: .rubocop_todo.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index bfbddcb..bc5aef6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## v1.3.0 + +* [#12](https://github.com/arempe93/bunny-mock/pull/12): Adds `basic_publish` functionality to `Channel` - [@podung](https://github.com/podung) +* [#13](https://github.com/arempe93/bunny-mock/pull/13): Add `confirm_select` method stub - [@baelter](https://github.com/baelter) + ## v1.2.2 * [#6](https://github.com/arempe93/bunny-mock/pull/6): Adds more status methods to `Session` - [@syndbg](https://github.com/syndbg) diff --git a/lib/bunny_mock/channel.rb b/lib/bunny_mock/channel.rb index ee720ad..3ff1b1f 100644 --- a/lib/bunny_mock/channel.rb +++ b/lib/bunny_mock/channel.rb @@ -301,6 +301,7 @@ def xchg_unbind(routing_key, name) private + # @private def xchg_find_or_create(name, opts = {}) @connection.find_exchange(name) || Exchange.declare(self, name, opts) end diff --git a/lib/bunny_mock/version.rb b/lib/bunny_mock/version.rb index 8a93641..40f0783 100644 --- a/lib/bunny_mock/version.rb +++ b/lib/bunny_mock/version.rb @@ -3,5 +3,5 @@ module BunnyMock # @return [String] Version of the library - VERSION = '1.2.2' + VERSION = '1.3.0' end