stomp_actors 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
data/lib/stomp_actors/version.rb
CHANGED
@@ -32,5 +32,14 @@ describe StompActors::Producer do
|
|
32
32
|
sleep 0.5
|
33
33
|
}.to change { Dir["#{message_dir}/*.msg"].to_a.length }.by(1)
|
34
34
|
end
|
35
|
+
|
36
|
+
it "should send message with options" do
|
37
|
+
producer = MyProducer.new
|
38
|
+
expect {
|
39
|
+
producer.emit("message", persistent: true)
|
40
|
+
sleep 0.5
|
41
|
+
}.to change { Dir["#{message_dir}/*.msg"].to_a.length }.by(1)
|
42
|
+
end
|
43
|
+
|
35
44
|
end
|
36
45
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stomp_actors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|