fake_smith 0.0.9 → 0.0.10

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: c136df845572e7ab0ab0626cd1d45bc95819c470
4
- data.tar.gz: 616523a36d05ddeee705014e85035e5471bc3e87
3
+ metadata.gz: cab37e37af9c6c2e1ed4e32540a0303300da3585
4
+ data.tar.gz: bb38234dc64a58f605a56e0c2156d4a44074b50b
5
5
  SHA512:
6
- metadata.gz: 04b613410fc6babeb64f68081da36cc79327f8419129f5be7ebfac2d39eea4fdb328a6ad98d09e5691d5e0aa0d0187618bccefb30a4244d0132e6ad75f5605f4
7
- data.tar.gz: 0337515174ec03b2e45f66b24c2e68cd1740f3b64006c235d467ccf037ad046e3c17ca6992249410d5bb29b14762f63afb7023211308991b8023dcde65d59ef6
6
+ metadata.gz: 2c18efa666c4812544fdb0903bc599fb396931a1307be2af78eb320708f674cf21d67ce984ad793866d52ce0c23d51c8e2b490a312c20cecef1f05bb28124068
7
+ data.tar.gz: ccb3036125c9e8274605a59b781510f051105b982617832ac59040f6161fed03893d1456e382847196490a49973071ca736f8ffe672b7d6a0e6db8ace09c0342
data/lib/fake_smith.rb CHANGED
@@ -96,7 +96,7 @@ module Smith
96
96
 
97
97
  def publish(message, &blk)
98
98
  FakeSmith.add_message(@queue_name, message)
99
- blk.call
99
+ blk.call if block_given?
100
100
  end
101
101
 
102
102
  def message_count(&blk)
@@ -1,3 +1,3 @@
1
1
  class FakeSmith
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
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.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Griffith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-11 00:00:00.000000000 Z
11
+ date: 2014-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler