freeswitcher 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,6 +33,7 @@ module FSR
33
33
  else
34
34
  authorize_and_register_for_events
35
35
  end
36
+ before_session
36
37
  end
37
38
 
38
39
  def reconnect_until_succeeding
data/lib/fsr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module FSR
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
@@ -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: 22\nContent-Type: text/event-plain\n\nEvent-Name: CUSTOM\n\n")
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
- - 2
9
- version: 0.5.2
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: 2010-11-20 00:00:00 -06:00
20
+ date: 2011-01-30 00:00:00 -06:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency