opentok 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +8 -0
- data/lib/open_tok/open_tok_sdk.rb +2 -2
- data/lib/open_tok/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -150,3 +150,11 @@ Before you send pull requests, make sure all test cases are passing.
|
|
150
150
|
To install necessary gems, type `bundle install` in the root directory.
|
151
151
|
|
152
152
|
To run test cases, type `rspec spec/` in the root directory.
|
153
|
+
|
154
|
+
-----
|
155
|
+
|
156
|
+
### Fun Fact:
|
157
|
+
|
158
|
+
To upload opentok gem, first update `opentok.gemspec` specs
|
159
|
+
Build gem: `gem build opentok.gemspec`
|
160
|
+
Push gem: `gem push opentok-*.gem`
|
@@ -37,7 +37,7 @@ module OpenTok
|
|
37
37
|
# @param [String] back_support @deprecated
|
38
38
|
# @param [String] OpenTok endpoint, production by default
|
39
39
|
def initialize(partner_id, partner_secret, back_support = '', api_url = OpenTok::API_URL)
|
40
|
-
@partner_id = partner_id
|
40
|
+
@partner_id = partner_id.to_s()
|
41
41
|
@partner_secret = partner_secret
|
42
42
|
@api_url = api_url
|
43
43
|
end
|
@@ -58,7 +58,7 @@ module OpenTok
|
|
58
58
|
|
59
59
|
# check validity of session_id
|
60
60
|
if !session_id || session_id.to_s.length == ""
|
61
|
-
raise "Null or empty session ID
|
61
|
+
raise "Null or empty session ID is not valid"
|
62
62
|
end
|
63
63
|
|
64
64
|
begin
|
data/lib/open_tok/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentok
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-
|
14
|
+
date: 2013-08-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: addressable
|