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 +4 -4
- data/lib/fake_smith.rb +1 -1
- data/lib/fake_smith/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6618fef46f0458ca107858912ea063dbeb2f45cd
|
|
4
|
+
data.tar.gz: 9f6ca0ff854d4862749fc6925cb69086f328a6e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/fake_smith/version.rb
CHANGED
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.
|
|
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:
|
|
11
|
+
date: 2016-03-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|