opentok 2.4.0.beta.1 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.travis.yml +2 -1
- data/README.md +8 -11
- data/lib/opentok.rb +1 -1
- data/lib/opentok/archive.rb +2 -3
- data/lib/opentok/archives.rb +4 -2
- data/lib/opentok/client.rb +37 -12
- data/lib/opentok/constants.rb +1 -0
- data/lib/opentok/opentok.rb +1 -1
- data/lib/opentok/session.rb +1 -1
- data/lib/opentok/token_generator.rb +0 -9
- data/lib/opentok/version.rb +1 -1
- data/opentok.gemspec +3 -2
- data/sample/Archiving/public/js/host.js +18 -7
- data/sample/Archiving/public/js/participant.js +18 -7
- data/sample/Archiving/views/host.erb +1 -1
- data/sample/Archiving/views/participant.erb +1 -1
- data/sample/HelloWorld/public/js/helloworld.js +26 -6
- data/sample/HelloWorld/views/index.erb +1 -1
- data/spec/cassettes/OpenTok_Archives/should_create_archives.yml +3 -3
- data/spec/cassettes/OpenTok_Archives/should_create_audio_only_archives.yml +3 -3
- data/spec/cassettes/OpenTok_Archives/should_create_individual_archives.yml +3 -3
- data/spec/cassettes/OpenTok_Archives/should_create_named_archives.yml +3 -3
- data/spec/cassettes/OpenTok_Archives/should_delete_an_archive_by_id.yml +3 -3
- data/spec/cassettes/OpenTok_Archives/should_find_archives_by_id.yml +3 -3
- data/spec/cassettes/OpenTok_Archives/should_find_archives_with_unknown_properties.yml +3 -3
- data/spec/cassettes/OpenTok_Archives/should_find_expired_archives.yml +3 -3
- data/spec/cassettes/OpenTok_Archives/should_find_paused_archives_by_id.yml +3 -3
- data/spec/cassettes/OpenTok_Archives/should_stop_archives.yml +3 -3
- data/spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_all_archives.yml +3 -3
- data/spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_archives_with_an_offset.yml +4 -4
- data/spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml +4 -4
- data/spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_part_of_the_archives_when_using_offset_and_count.yml +4 -4
- data/spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_session_archives.yml +71 -0
- data/spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_always_archived_sessions.yml +2 -2
- data/spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_default_sessions.yml +2 -2
- data/spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions.yml +2 -2
- data/spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_for_invalid_media_modes.yml +2 -2
- data/spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_with_a_location_hint.yml +2 -2
- data/spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_routed_media_sessions.yml +2 -2
- data/spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_routed_media_sessions_with_a_location_hint.yml +2 -2
- data/spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_sessions_with_a_location_hint.yml +2 -2
- data/spec/cassettes/OpenTok_OpenTok/when_initialized_properly/with_an_addendum_to_the_user_agent_string/should_append_the_addendum_to_the_user_agent_header.yml +2 -2
- data/spec/matchers/token.rb +1 -2
- data/spec/opentok/archives_spec.rb +16 -0
- data/spec/opentok/opentok_spec.rb +5 -0
- data/spec/opentok/session_spec.rb +5 -0
- data/spec/shared/opentok_generates_tokens.rb +5 -25
- data/spec/shared/session_generates_tokens.rb +5 -0
- metadata +49 -84
- data/doc/OpenTok.html +0 -418
- data/doc/OpenTok/Archive.html +0 -1607
- data/doc/OpenTok/ArchiveList.html +0 -216
- data/doc/OpenTok/Archives.html +0 -1101
- data/doc/OpenTok/Client.html +0 -695
- data/doc/OpenTok/HashExtensions.html +0 -184
- data/doc/OpenTok/OpenTok.html +0 -1083
- data/doc/OpenTok/OpenTokArchiveError.html +0 -142
- data/doc/OpenTok/OpenTokAuthenticationError.html +0 -143
- data/doc/OpenTok/OpenTokError.html +0 -138
- data/doc/OpenTok/Session.html +0 -757
- data/doc/OpenTok/TokenGenerator.html +0 -204
- data/doc/OpenTok/TokenGenerator/ClassMethods.html +0 -187
- data/doc/README.md +0 -15
- data/doc/_index.html +0 -197
- data/doc/class_list.html +0 -58
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -57
- data/doc/css/style.css +0 -339
- data/doc/file.README.html +0 -87
- data/doc/file_list.html +0 -60
- data/doc/frames.html +0 -26
- data/doc/index.html +0 -87
- data/doc/js/app.js +0 -219
- data/doc/js/full_list.js +0 -181
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -261
- data/doc/top-level-namespace.html +0 -112
@@ -7,10 +7,10 @@ http_interactions:
|
|
7
7
|
encoding: UTF-8
|
8
8
|
string: p2p.preference=disabled
|
9
9
|
headers:
|
10
|
-
X-Tb-Partner-Auth:
|
11
|
-
- 123456:1234567890abcdef1234567890abcdef1234567890
|
12
10
|
User-Agent:
|
13
11
|
- OpenTok-Ruby-SDK/<%= version %>
|
12
|
+
X-Opentok-Auth:
|
13
|
+
- eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImlzdCI6InByb2plY3QifQ.eyJpc3MiOiIxMjM0NTYiLCJpYXQiOjE0OTI1MTA2NjAsImV4cCI6MTQ5MjUxMDk2MH0.Oh_JHhtEUKK1pPV4s6neXJj_RXI8EcEpJRRpG_2c9U0
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
@@ -7,10 +7,10 @@ http_interactions:
|
|
7
7
|
encoding: UTF-8
|
8
8
|
string: location=12.34.56.78&p2p.preference=disabled
|
9
9
|
headers:
|
10
|
-
X-Tb-Partner-Auth:
|
11
|
-
- 123456:1234567890abcdef1234567890abcdef1234567890
|
12
10
|
User-Agent:
|
13
11
|
- OpenTok-Ruby-SDK/<%= version %>
|
12
|
+
X-Opentok-Auth:
|
13
|
+
- eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImlzdCI6InByb2plY3QifQ.eyJpc3MiOiIxMjM0NTYiLCJpYXQiOjE0OTI1MTA2NjAsImV4cCI6MTQ5MjUxMDk2MH0.Oh_JHhtEUKK1pPV4s6neXJj_RXI8EcEpJRRpG_2c9U0
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
@@ -7,10 +7,10 @@ http_interactions:
|
|
7
7
|
encoding: UTF-8
|
8
8
|
string: location=12.34.56.78&p2p.preference=enabled
|
9
9
|
headers:
|
10
|
-
X-Tb-Partner-Auth:
|
11
|
-
- 123456:1234567890abcdef1234567890abcdef1234567890
|
12
10
|
User-Agent:
|
13
11
|
- OpenTok-Ruby-SDK/<%= version %>
|
12
|
+
X-Opentok-Auth:
|
13
|
+
- eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImlzdCI6InByb2plY3QifQ.eyJpc3MiOiIxMjM0NTYiLCJpYXQiOjE0OTI1MTA2NjAsImV4cCI6MTQ5MjUxMDk2MH0.Oh_JHhtEUKK1pPV4s6neXJj_RXI8EcEpJRRpG_2c9U0
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
@@ -7,10 +7,10 @@ http_interactions:
|
|
7
7
|
encoding: UTF-8
|
8
8
|
string: p2p.preference=enabled
|
9
9
|
headers:
|
10
|
-
X-Tb-Partner-Auth:
|
11
|
-
- 123456:1234567890abcdef1234567890abcdef1234567890
|
12
10
|
User-Agent:
|
13
11
|
- OpenTok-Ruby-SDK/<%= version %> BOOYAH
|
12
|
+
X-Opentok-Auth:
|
13
|
+
- eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImlzdCI6InByb2plY3QifQ.eyJpc3MiOiIxMjM0NTYiLCJpYXQiOjE0OTI1MTA2NjAsImV4cCI6MTQ5MjUxMDk2MH0.Oh_JHhtEUKK1pPV4s6neXJj_RXI8EcEpJRRpG_2c9U0
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
data/spec/matchers/token.rb
CHANGED
@@ -7,8 +7,7 @@ require "addressable/uri"
|
|
7
7
|
RSpec::Matchers.define :carry_token_data do |input_data|
|
8
8
|
option_to_token_key = {
|
9
9
|
:api_key => :partner_id,
|
10
|
-
:data => :connection_data
|
11
|
-
:initial_layout_classes => :initial_layout_class_list
|
10
|
+
:data => :connection_data
|
12
11
|
}
|
13
12
|
match do |token|
|
14
13
|
decoded_token = Base64.decode64(token[4..token.length])
|
@@ -8,6 +8,11 @@ require "spec_helper"
|
|
8
8
|
|
9
9
|
describe OpenTok::Archives do
|
10
10
|
|
11
|
+
before(:each) do
|
12
|
+
now = Time.parse("2017-04-18 20:17:40 +1000")
|
13
|
+
allow(Time).to receive(:now) { now }
|
14
|
+
end
|
15
|
+
|
11
16
|
let(:api_key) { "123456" }
|
12
17
|
let(:api_secret) { "1234567890abcdef1234567890abcdef1234567890" }
|
13
18
|
let(:session_id) { "SESSIONID" }
|
@@ -100,11 +105,13 @@ describe OpenTok::Archives do
|
|
100
105
|
archive_list = archives.all
|
101
106
|
expect(archive_list).to be_an_instance_of OpenTok::ArchiveList
|
102
107
|
expect(archive_list.total).to eq 6
|
108
|
+
expect(archive_list.count).to eq 6
|
103
109
|
end
|
104
110
|
|
105
111
|
it "should return archives with an offset", :vcr => { :erb => { :version => OpenTok::VERSION } } do
|
106
112
|
archive_list = archives.all :offset => 3
|
107
113
|
expect(archive_list).to be_an_instance_of OpenTok::ArchiveList
|
114
|
+
expect(archive_list.total).to eq 3
|
108
115
|
expect(archive_list.count).to eq 3
|
109
116
|
end
|
110
117
|
|
@@ -112,12 +119,21 @@ describe OpenTok::Archives do
|
|
112
119
|
archive_list = archives.all :count => 2
|
113
120
|
expect(archive_list).to be_an_instance_of OpenTok::ArchiveList
|
114
121
|
expect(archive_list.count).to eq 2
|
122
|
+
expect(archive_list.count).to eq 2
|
115
123
|
end
|
116
124
|
|
117
125
|
it "should return part of the archives when using offset and count", :vcr => { :erb => { :version => OpenTok::VERSION } } do
|
118
126
|
archive_list = archives.all :count => 4, :offset => 2
|
119
127
|
expect(archive_list).to be_an_instance_of OpenTok::ArchiveList
|
120
128
|
expect(archive_list.count).to eq 4
|
129
|
+
expect(archive_list.count).to eq 4
|
130
|
+
end
|
131
|
+
|
132
|
+
it "should return session archives", :vcr => { :erb => { :version => OpenTok::VERSION } } do
|
133
|
+
archive_list = archives.all :sessionId => session_id
|
134
|
+
expect(archive_list).to be_an_instance_of OpenTok::ArchiveList
|
135
|
+
expect(archive_list.total).to eq 3
|
136
|
+
expect(archive_list.count).to eq 3
|
121
137
|
end
|
122
138
|
end
|
123
139
|
|
@@ -6,6 +6,11 @@ require "shared/opentok_generates_tokens"
|
|
6
6
|
|
7
7
|
describe OpenTok::OpenTok do
|
8
8
|
|
9
|
+
before(:each) do
|
10
|
+
now = Time.parse("2017-04-18 20:17:40 +1000")
|
11
|
+
allow(Time).to receive(:now) { now }
|
12
|
+
end
|
13
|
+
|
9
14
|
let(:opentok) { OpenTok::OpenTok.new api_key, api_secret }
|
10
15
|
subject { opentok }
|
11
16
|
|
@@ -5,6 +5,11 @@ require "shared/session_generates_tokens"
|
|
5
5
|
|
6
6
|
describe OpenTok::Session do
|
7
7
|
|
8
|
+
before(:each) do
|
9
|
+
now = Time.parse("2017-04-18 20:17:40 +1000")
|
10
|
+
allow(Time).to receive(:now) { now }
|
11
|
+
end
|
12
|
+
|
8
13
|
let(:api_key) { "123456" }
|
9
14
|
let(:api_secret) { "1234567890abcdef1234567890abcdef1234567890" }
|
10
15
|
let(:session_id) { "SESSIONID" }
|
@@ -3,6 +3,11 @@ require "matchers/token"
|
|
3
3
|
|
4
4
|
shared_examples "opentok generates tokens" do
|
5
5
|
describe "#generate_token" do
|
6
|
+
before(:each) do
|
7
|
+
now = Time.parse("2017-04-18 20:17:40 +1000")
|
8
|
+
allow(Time).to receive(:now) { now }
|
9
|
+
end
|
10
|
+
|
6
11
|
# these must be known quantities because generate_token will have to verify that the session_id
|
7
12
|
# belongs to the api_key, it doesn't have the luxury of getting that type of failure in an error
|
8
13
|
# response from the server
|
@@ -68,31 +73,6 @@ shared_examples "opentok generates tokens" do
|
|
68
73
|
expect(data_bearing_token).to carry_valid_token_signature api_secret
|
69
74
|
end
|
70
75
|
|
71
|
-
it "generates tokens with initial layout classes" do
|
72
|
-
layout_classes = ["focus", "small"]
|
73
|
-
layout_class_bearing_token = opentok.generate_token session_id, :initial_layout_classes => layout_classes
|
74
|
-
expect(layout_class_bearing_token).to be_an_instance_of String
|
75
|
-
expect(layout_class_bearing_token).to carry_token_data :session_id => session_id
|
76
|
-
expect(layout_class_bearing_token).to carry_token_data :api_key => api_key
|
77
|
-
expect(layout_class_bearing_token).to carry_token_data :role => default_role
|
78
|
-
expect(layout_class_bearing_token).to carry_token_data :initial_layout_classes => layout_classes.join(' ')
|
79
|
-
expect(layout_class_bearing_token).to carry_token_data [:nonce, :create_time]
|
80
|
-
expect(layout_class_bearing_token).to carry_valid_token_signature api_secret
|
81
|
-
end
|
82
|
-
|
83
|
-
it "generates tokens with one initial layout class" do
|
84
|
-
layout_class = "focus"
|
85
|
-
layout_class_bearing_token = opentok.generate_token session_id, :initial_layout_classes => layout_class
|
86
|
-
expect(layout_class_bearing_token).to be_an_instance_of String
|
87
|
-
expect(layout_class_bearing_token).to carry_token_data :session_id => session_id
|
88
|
-
expect(layout_class_bearing_token).to carry_token_data :api_key => api_key
|
89
|
-
expect(layout_class_bearing_token).to carry_token_data :role => default_role
|
90
|
-
expect(layout_class_bearing_token).to carry_token_data :initial_layout_classes => layout_class
|
91
|
-
expect(layout_class_bearing_token).to carry_token_data [:nonce, :create_time]
|
92
|
-
expect(layout_class_bearing_token).to carry_valid_token_signature api_secret
|
93
|
-
end
|
94
|
-
|
95
|
-
|
96
76
|
# TODO a context about using a bad session_id
|
97
77
|
end
|
98
78
|
|
@@ -3,6 +3,11 @@ require "matchers/token"
|
|
3
3
|
|
4
4
|
shared_examples "session generates tokens" do
|
5
5
|
describe "#generate_token" do
|
6
|
+
before(:each) do
|
7
|
+
now = Time.parse("2017-04-18 20:17:40 +1000")
|
8
|
+
allow(Time).to receive(:now) { now }
|
9
|
+
end
|
10
|
+
|
6
11
|
# these must be known quantities because generate_token will have to verify that the session_id
|
7
12
|
# belongs to the api_key, it doesn't have the luxury of getting that type of failure in an error
|
8
13
|
# response from the server
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentok
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.0
|
5
|
-
prerelease: 6
|
4
|
+
version: 2.4.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Stijn Mathysen
|
@@ -13,152 +12,148 @@ authors:
|
|
13
12
|
autorequire:
|
14
13
|
bindir: bin
|
15
14
|
cert_chain: []
|
16
|
-
date:
|
15
|
+
date: 2017-06-09 00:00:00.000000000 Z
|
17
16
|
dependencies:
|
18
17
|
- !ruby/object:Gem::Dependency
|
19
18
|
name: bundler
|
20
19
|
requirement: !ruby/object:Gem::Requirement
|
21
|
-
none: false
|
22
20
|
requirements:
|
23
|
-
- - ~>
|
21
|
+
- - "~>"
|
24
22
|
- !ruby/object:Gem::Version
|
25
23
|
version: '1.5'
|
26
24
|
type: :development
|
27
25
|
prerelease: false
|
28
26
|
version_requirements: !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
27
|
requirements:
|
31
|
-
- - ~>
|
28
|
+
- - "~>"
|
32
29
|
- !ruby/object:Gem::Version
|
33
30
|
version: '1.5'
|
34
31
|
- !ruby/object:Gem::Dependency
|
35
32
|
name: rake
|
36
33
|
requirement: !ruby/object:Gem::Requirement
|
37
|
-
none: false
|
38
34
|
requirements:
|
39
|
-
- - ~>
|
35
|
+
- - "~>"
|
40
36
|
- !ruby/object:Gem::Version
|
41
37
|
version: 10.1.1
|
42
38
|
type: :development
|
43
39
|
prerelease: false
|
44
40
|
version_requirements: !ruby/object:Gem::Requirement
|
45
|
-
none: false
|
46
41
|
requirements:
|
47
|
-
- - ~>
|
42
|
+
- - "~>"
|
48
43
|
- !ruby/object:Gem::Version
|
49
44
|
version: 10.1.1
|
50
45
|
- !ruby/object:Gem::Dependency
|
51
46
|
name: rspec
|
52
47
|
requirement: !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
48
|
requirements:
|
55
|
-
- - ~>
|
49
|
+
- - "~>"
|
56
50
|
- !ruby/object:Gem::Version
|
57
51
|
version: 2.14.1
|
58
52
|
type: :development
|
59
53
|
prerelease: false
|
60
54
|
version_requirements: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
55
|
requirements:
|
63
|
-
- - ~>
|
56
|
+
- - "~>"
|
64
57
|
- !ruby/object:Gem::Version
|
65
58
|
version: 2.14.1
|
66
59
|
- !ruby/object:Gem::Dependency
|
67
60
|
name: webmock
|
68
61
|
requirement: !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
62
|
requirements:
|
71
|
-
- - ~>
|
63
|
+
- - "~>"
|
72
64
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
65
|
+
version: 2.3.2
|
74
66
|
type: :development
|
75
67
|
prerelease: false
|
76
68
|
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
none: false
|
78
69
|
requirements:
|
79
|
-
- - ~>
|
70
|
+
- - "~>"
|
80
71
|
- !ruby/object:Gem::Version
|
81
|
-
version:
|
72
|
+
version: 2.3.2
|
82
73
|
- !ruby/object:Gem::Dependency
|
83
74
|
name: vcr
|
84
75
|
requirement: !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
76
|
requirements:
|
87
|
-
- - ~>
|
77
|
+
- - "~>"
|
88
78
|
- !ruby/object:Gem::Version
|
89
79
|
version: 2.8.0
|
90
80
|
type: :development
|
91
81
|
prerelease: false
|
92
82
|
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
none: false
|
94
83
|
requirements:
|
95
|
-
- - ~>
|
84
|
+
- - "~>"
|
96
85
|
- !ruby/object:Gem::Version
|
97
86
|
version: 2.8.0
|
98
87
|
- !ruby/object:Gem::Dependency
|
99
88
|
name: yard
|
100
89
|
requirement: !ruby/object:Gem::Requirement
|
101
|
-
none: false
|
102
90
|
requirements:
|
103
|
-
- - ~>
|
91
|
+
- - "~>"
|
104
92
|
- !ruby/object:Gem::Version
|
105
93
|
version: 0.8.7
|
106
94
|
type: :development
|
107
95
|
prerelease: false
|
108
96
|
version_requirements: !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
97
|
requirements:
|
111
|
-
- - ~>
|
98
|
+
- - "~>"
|
112
99
|
- !ruby/object:Gem::Version
|
113
100
|
version: 0.8.7
|
114
101
|
- !ruby/object:Gem::Dependency
|
115
102
|
name: addressable
|
116
103
|
requirement: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
104
|
requirements:
|
119
|
-
- - ~>
|
105
|
+
- - "~>"
|
120
106
|
- !ruby/object:Gem::Version
|
121
107
|
version: '2.3'
|
122
108
|
type: :runtime
|
123
109
|
prerelease: false
|
124
110
|
version_requirements: !ruby/object:Gem::Requirement
|
125
|
-
none: false
|
126
111
|
requirements:
|
127
|
-
- - ~>
|
112
|
+
- - "~>"
|
128
113
|
- !ruby/object:Gem::Version
|
129
114
|
version: '2.3'
|
130
115
|
- !ruby/object:Gem::Dependency
|
131
116
|
name: httparty
|
132
117
|
requirement: !ruby/object:Gem::Requirement
|
133
|
-
none: false
|
134
118
|
requirements:
|
135
|
-
- - ~>
|
119
|
+
- - "~>"
|
136
120
|
- !ruby/object:Gem::Version
|
137
|
-
version: 0.
|
121
|
+
version: 0.14.0
|
138
122
|
type: :runtime
|
139
123
|
prerelease: false
|
140
124
|
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
none: false
|
142
125
|
requirements:
|
143
|
-
- - ~>
|
126
|
+
- - "~>"
|
144
127
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
128
|
+
version: 0.14.0
|
146
129
|
- !ruby/object:Gem::Dependency
|
147
130
|
name: activesupport
|
148
131
|
requirement: !ruby/object:Gem::Requirement
|
149
|
-
none: false
|
150
132
|
requirements:
|
151
|
-
- -
|
133
|
+
- - ">="
|
152
134
|
- !ruby/object:Gem::Version
|
153
135
|
version: '2.0'
|
154
136
|
type: :runtime
|
155
137
|
prerelease: false
|
156
138
|
version_requirements: !ruby/object:Gem::Requirement
|
157
|
-
none: false
|
158
139
|
requirements:
|
159
|
-
- -
|
140
|
+
- - ">="
|
160
141
|
- !ruby/object:Gem::Version
|
161
142
|
version: '2.0'
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: jwt
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - "~>"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 1.5.6
|
150
|
+
type: :runtime
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - "~>"
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 1.5.6
|
162
157
|
description: OpenTok is an API from TokBox that enables websites to weave live group
|
163
158
|
video communication into their online experience. With OpenTok you have the freedom
|
164
159
|
and flexibility to create the most engaging web experience for your users. This
|
@@ -175,43 +170,15 @@ executables: []
|
|
175
170
|
extensions: []
|
176
171
|
extra_rdoc_files: []
|
177
172
|
files:
|
178
|
-
- .gitignore
|
179
|
-
- .travis.yml
|
180
|
-
- .yardopts
|
173
|
+
- ".gitignore"
|
174
|
+
- ".travis.yml"
|
175
|
+
- ".yardopts"
|
181
176
|
- CONTRIBUTING.md
|
182
177
|
- DEVELOPING.md
|
183
178
|
- Gemfile
|
184
179
|
- LICENSE
|
185
180
|
- README.md
|
186
181
|
- Rakefile
|
187
|
-
- doc/OpenTok.html
|
188
|
-
- doc/OpenTok/Archive.html
|
189
|
-
- doc/OpenTok/ArchiveList.html
|
190
|
-
- doc/OpenTok/Archives.html
|
191
|
-
- doc/OpenTok/Client.html
|
192
|
-
- doc/OpenTok/HashExtensions.html
|
193
|
-
- doc/OpenTok/OpenTok.html
|
194
|
-
- doc/OpenTok/OpenTokArchiveError.html
|
195
|
-
- doc/OpenTok/OpenTokAuthenticationError.html
|
196
|
-
- doc/OpenTok/OpenTokError.html
|
197
|
-
- doc/OpenTok/Session.html
|
198
|
-
- doc/OpenTok/TokenGenerator.html
|
199
|
-
- doc/OpenTok/TokenGenerator/ClassMethods.html
|
200
|
-
- doc/README.md
|
201
|
-
- doc/_index.html
|
202
|
-
- doc/class_list.html
|
203
|
-
- doc/css/common.css
|
204
|
-
- doc/css/full_list.css
|
205
|
-
- doc/css/style.css
|
206
|
-
- doc/file.README.html
|
207
|
-
- doc/file_list.html
|
208
|
-
- doc/frames.html
|
209
|
-
- doc/index.html
|
210
|
-
- doc/js/app.js
|
211
|
-
- doc/js/full_list.js
|
212
|
-
- doc/js/jquery.js
|
213
|
-
- doc/method_list.html
|
214
|
-
- doc/top-level-namespace.html
|
215
182
|
- lib/opentok.rb
|
216
183
|
- lib/opentok/archive.rb
|
217
184
|
- lib/opentok/archive_list.rb
|
@@ -258,6 +225,7 @@ files:
|
|
258
225
|
- spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_archives_with_an_offset.yml
|
259
226
|
- spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml
|
260
227
|
- spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_part_of_the_archives_when_using_offset_and_count.yml
|
228
|
+
- spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_session_archives.yml
|
261
229
|
- spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_always_archived_sessions.yml
|
262
230
|
- spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_default_sessions.yml
|
263
231
|
- spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions.yml
|
@@ -277,30 +245,26 @@ files:
|
|
277
245
|
homepage: https://opentok.github.io/opentok-ruby-sdk
|
278
246
|
licenses:
|
279
247
|
- MIT
|
248
|
+
metadata: {}
|
280
249
|
post_install_message:
|
281
250
|
rdoc_options: []
|
282
251
|
require_paths:
|
283
252
|
- lib
|
284
253
|
required_ruby_version: !ruby/object:Gem::Requirement
|
285
|
-
none: false
|
286
254
|
requirements:
|
287
|
-
- -
|
255
|
+
- - ">="
|
288
256
|
- !ruby/object:Gem::Version
|
289
257
|
version: '0'
|
290
|
-
segments:
|
291
|
-
- 0
|
292
|
-
hash: -2395561046031513785
|
293
258
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
294
|
-
none: false
|
295
259
|
requirements:
|
296
|
-
- -
|
260
|
+
- - ">="
|
297
261
|
- !ruby/object:Gem::Version
|
298
|
-
version:
|
262
|
+
version: '0'
|
299
263
|
requirements: []
|
300
264
|
rubyforge_project:
|
301
|
-
rubygems_version:
|
265
|
+
rubygems_version: 2.6.12
|
302
266
|
signing_key:
|
303
|
-
specification_version:
|
267
|
+
specification_version: 4
|
304
268
|
summary: Ruby gem for the OpenTok API
|
305
269
|
test_files:
|
306
270
|
- spec/cassettes/OpenTok_Archives/should_create_archives.yml
|
@@ -317,6 +281,7 @@ test_files:
|
|
317
281
|
- spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_archives_with_an_offset.yml
|
318
282
|
- spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml
|
319
283
|
- spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_part_of_the_archives_when_using_offset_and_count.yml
|
284
|
+
- spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_session_archives.yml
|
320
285
|
- spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_always_archived_sessions.yml
|
321
286
|
- spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_default_sessions.yml
|
322
287
|
- spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions.yml
|