canvas_connect 0.3.14 → 0.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/adobe_connect_conference.rb +9 -3
- data/lib/canvas_connect/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d3cc3165fdd2fa53312f64671de8172c4cddeefbe379f237883013878ac9a9d
|
4
|
+
data.tar.gz: b7c372e7f2e76526e7f8ede32aa9fc36dcbf7559c935616b2bee41bacd065076
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93c3595e3dc26221bb9e105bb8ec72fdce233ae5c23c1dcb1b42b134683bda62c79a596926c24872d65a21b8f6364f48dc8f94ed63005b8007caecccd0ae9e53
|
7
|
+
data.tar.gz: 7308a820d11171a91f166e273e48d1c9cf00ddff119c273e87259afad407f87426f1af8e5c6af8996544ec6418765702103975c2c20cf44c64597227cfbf27ce
|
@@ -16,6 +16,8 @@
|
|
16
16
|
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
17
|
#
|
18
18
|
|
19
|
+
require "canvas_errors"
|
20
|
+
|
19
21
|
class AdobeConnectConference < WebConference
|
20
22
|
|
21
23
|
MAX_NAME_LENGTH = 60
|
@@ -111,9 +113,13 @@ class AdobeConnectConference < WebConference
|
|
111
113
|
# Returns an SCO-ID string.
|
112
114
|
def find_conference_key
|
113
115
|
unless @conference_key.present?
|
114
|
-
|
115
|
-
|
116
|
-
|
116
|
+
begin
|
117
|
+
response = connect_service.sco_by_url(:url_path => meeting_url_suffix)
|
118
|
+
if response.body.at_xpath('//status').attr('code') == 'ok'
|
119
|
+
@conference_key = response.body.xpath('//sco[@sco-id]').attr('sco-id').value
|
120
|
+
end
|
121
|
+
rescue => e
|
122
|
+
CanvasErrors.capture_exception(:adobe_connect_conference, e, :warn)
|
117
123
|
end
|
118
124
|
end
|
119
125
|
@conference_key
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: canvas_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Pendleton
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -65,7 +65,7 @@ homepage: http://instructure.com
|
|
65
65
|
licenses:
|
66
66
|
- MIT
|
67
67
|
metadata: {}
|
68
|
-
post_install_message:
|
68
|
+
post_install_message:
|
69
69
|
rdoc_options: []
|
70
70
|
require_paths:
|
71
71
|
- app
|
@@ -81,8 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
|
-
rubygems_version: 3.
|
85
|
-
signing_key:
|
84
|
+
rubygems_version: 3.1.4
|
85
|
+
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Adobe Connect integration for Instructure Canvas (http://instructure.com).
|
88
88
|
test_files: []
|