opentok 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,5 +1,13 @@
1
1
  = Change Log
2
2
 
3
+ == Version 0.0.4
4
+
5
+ * Thanks to Ruslan Doroshenko (https://github.com/rdoroshenko) for adding the P2P constant to the SDK.
6
+
7
+ == Version 0.0.3
8
+
9
+ * minor fixes to the documentation
10
+
3
11
  == Version 0.0.2
4
12
 
5
13
  * Code cleanup
@@ -19,9 +19,10 @@ module OpenTok
19
19
 
20
20
  class SessionPropertyConstants
21
21
  ECHOSUPPRESSION_ENABLED = "echoSuppression.enabled"; #Boolean
22
- MULTIPLEXER_NUMOUTPUTSTREAMS = "multiplexer.numOutputStreams"; #Integer
23
- MULTIPLEXER_SWITCHTYPE = "multiplexer.switchType"; #Integer
24
- MULTIPLEXER_SWITCHTIMEOUT = "multiplexer.switchTimeout"; #Integer
22
+ MULTIPLEXER_NUMOUTPUTSTREAMS = "multiplexer.numOutputStreams"; #Integer
23
+ MULTIPLEXER_SWITCHTYPE = "multiplexer.switchType"; #Integer
24
+ MULTIPLEXER_SWITCHTIMEOUT = "multiplexer.switchTimeout"; #Integer
25
+ P2P_PREFERENCE = "p2p.preference"; #String
25
26
  end
26
27
 
27
28
  class RoleConstants
@@ -1,3 +1,3 @@
1
1
  module Opentok
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/spec/opentok_spec.rb CHANGED
@@ -25,7 +25,7 @@ describe OpenTok do
25
25
  opentok = OpenTok::OpenTokSDK.new @api_key, @api_secret
26
26
  session = opentok.create_session @host
27
27
 
28
- session.to_s.should match(/\A[0-9A-z_-]{80}\Z/)
28
+ session.to_s.should match(/\A[0-9A-z_-]{40,}\Z/)
29
29
  end
30
30
 
31
31
  it "should raise an exception with an invalid key and secret" do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentok
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stijn Mathysen
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-11-03 00:00:00 Z
19
+ date: 2011-11-09 00:00:00 Z
20
20
  dependencies: []
21
21
 
22
22
  description: OpenTok is a free set of APIs from TokBox that enables websites to weave live group video communication into their online experience. With OpenTok you have the freedom and flexibility to create the most engaging web experience for your users. OpenTok is currently available as a JavaScript and ActionScript 3.0 library. This gem allows you to connect to the API from within Ruby (and Rails)