mimi-messaging 0.1.11 → 0.1.12

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
  SHA1:
3
- metadata.gz: 7c11151ac3c74f3cd8aa341b56eeba896c9103c4
4
- data.tar.gz: 78042cc637623ef3d8a8384d9fe104074a023a73
3
+ metadata.gz: 828625be9415bb194ed21f492e906c9907b449c3
4
+ data.tar.gz: 5753eaf082cf97ffeaf4fc4482c67c28d6f51678
5
5
  SHA512:
6
- metadata.gz: 9a41b70de10aa053dfbde75bb195b3b2cf4d2f7d93c33d3cfb1d533291c57b0d175cc7e41d7cbbd53b57f74bf31581902448158d56eb8b86832f61d3a8d3acc1
7
- data.tar.gz: 9e9de944def13c8eb9988328a41ddd2b64651f05989c885d78d33561f3358db122c889457deb079d89db6ef0351a9bf56a164de836472d7d75bfd2d6332c6df7
6
+ metadata.gz: 968baad2e92dfcf9a90f5bce591a4f04c8c246f6e276ee495668680bc091b0d8db6c4cc806aab7cf0cb0e34355d9626c22d6690b8e544bb2364f0424f01b3bab
7
+ data.tar.gz: c3ebd575f807888a2dbd81b12e3eb43a756392f2f2da9c8cd979a3370efa3422d1c3a650129fcc9a9543be6e53225d047ab9fca2cff27f0f6dc8bf23f89feff7
@@ -20,7 +20,8 @@ module Mimi
20
20
  port: params[:mq_port],
21
21
  username: params[:mq_username],
22
22
  password: params[:mq_password],
23
- vhost: params[:mq_vhost]
23
+ vhost: params[:mq_vhost],
24
+ logger: Mimi::Messaging.logger
24
25
  }
25
26
  @connection = Bunny.new(bunny_params)
26
27
  end
@@ -42,7 +42,7 @@ module Mimi
42
42
  #
43
43
  # @return [Mimi::Messaging::Message]
44
44
  #
45
- def self.get(method_name, message)
45
+ def self.get(method_name, message = {})
46
46
  metadata = Mimi::Messaging::Message.new(
47
47
  correlation_id: 1,
48
48
  reply_to: 'mock_client',
@@ -1,5 +1,5 @@
1
1
  module Mimi
2
2
  module Messaging
3
- VERSION = '0.1.11'.freeze
3
+ VERSION = '0.1.12'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mimi-messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Kukushkin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-23 00:00:00.000000000 Z
11
+ date: 2018-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny