freeswitcher 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fsr/listener/inbound.rb +1 -0
- data/lib/fsr/version.rb +1 -1
- data/spec/fsr/listener/inbound.rb +2 -1
- metadata +3 -3
data/lib/fsr/listener/inbound.rb
CHANGED
data/lib/fsr/version.rb
CHANGED
@@ -84,7 +84,8 @@ EM.describe InboundListener do
|
|
84
84
|
|
85
85
|
should "be able to add custom event hooks with sub events" do
|
86
86
|
listener = InboundListener3.new(1234, {:auth => 'SecretPassword'})
|
87
|
-
@listener.receive_data("Content-Length:
|
87
|
+
@listener.receive_data("Content-Length: 18\nContent-Type: text/event-plain\n\nEvent-Name: CUSTOM\n\n")
|
88
|
+
@listener.custom_event.should.not.be.nil
|
88
89
|
@listener.custom_event.should.equal @listener.recvd_event.first
|
89
90
|
done
|
90
91
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 0.5.
|
8
|
+
- 3
|
9
|
+
version: 0.5.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jayson Vaughn
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date:
|
20
|
+
date: 2011-01-30 00:00:00 -06:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|