fake_smith 0.6.2 → 0.6.3

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: 16b0e126af3ebe75ce6518d9cdc07a9e43f59597
4
- data.tar.gz: e5f2dd71aeadb40a54d2c8612f7a5de08d03d773
3
+ metadata.gz: 6618fef46f0458ca107858912ea063dbeb2f45cd
4
+ data.tar.gz: 9f6ca0ff854d4862749fc6925cb69086f328a6e0
5
5
  SHA512:
6
- metadata.gz: a271441b19a98b877abf609b3721152ffb33bbe966fe9a6a1082d606cddc7b149daf495a67a6db4922d67f488496a291462f0c849953f4c9e0eeb39200a90e4f
7
- data.tar.gz: a9f64a6ea036591991008d90d62a51add06f3a85b855682e60dc430e7ee3d39718a36b90c6acc4b98fb8e3f9b54b9b490f7d3961bee55d3ef0f581a7240dc728
6
+ metadata.gz: 536286316a0c8df48eea5d7f6a7dab9ed953abf02e99ef46889e97862d9892055ec3f473d1d7270881503333534b7f83f33f2b805c74b36f1d5a22e200dc16a9
7
+ data.tar.gz: eabda0ed9179881641b114a0edb8c28a19e544f32d15cbff55c816046ad05edd00cb53b5ce95ba62dc583f174fb6536417e1bdba14dda88fb8b8ff5668e3d249
data/lib/fake_smith.rb CHANGED
@@ -167,7 +167,7 @@ module Smith
167
167
  def on_timeout(&blk)
168
168
  end
169
169
 
170
- def publish(message, &blk)
170
+ def publish(message, opts={}, &blk)
171
171
  FakeSmith.add_message(@queue_name, message)
172
172
  blk.call if block_given?
173
173
  if FakeSmith.reply_handlers[@queue_name] && @on_reply
@@ -1,3 +1,3 @@
1
1
  class FakeSmith
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fake_smith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Griffith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-18 00:00:00.000000000 Z
11
+ date: 2016-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler