opentok 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 are not valid"
61
+ raise "Null or empty session ID is not valid"
62
62
  end
63
63
 
64
64
  begin
@@ -1,5 +1,5 @@
1
1
  module OpenTok
2
2
 
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
 
5
5
  end
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.0
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-07-17 00:00:00.000000000 Z
14
+ date: 2013-08-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: addressable