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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12dd720a8ffdc9e84e4d67a5259fbec65a4323eb23a5de5b4597aec99b94c475
4
- data.tar.gz: 132864f0a731072cc2569dcab6837041e37ae235fe7370e943af74ec70b16282
3
+ metadata.gz: 7d3cc3165fdd2fa53312f64671de8172c4cddeefbe379f237883013878ac9a9d
4
+ data.tar.gz: b7c372e7f2e76526e7f8ede32aa9fc36dcbf7559c935616b2bee41bacd065076
5
5
  SHA512:
6
- metadata.gz: 89e11749ae41bc55959422c2e544fdccdd5f6a493ef7065f97826beac2d80ce057f6bde1058d8669082be879c35076290b8d98d2aa95369a2f49a6820fc719f3
7
- data.tar.gz: 0ae06141883a71e6432b57bcf6c9da3614736d449f2790fd84a71b67052d0151e133b508e7a7c319f2d267f12ef55a30a54fe5c2171a1a62eb585b57a657494a
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
- response = connect_service.sco_by_url(:url_path => meeting_url_suffix)
115
- if response.body.at_xpath('//status').attr('code') == 'ok'
116
- @conference_key = response.body.xpath('//sco[@sco-id]').attr('sco-id').value
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
@@ -1,3 +1,3 @@
1
1
  module CanvasConnect
2
- VERSION = '0.3.14'
2
+ VERSION = '0.3.15'
3
3
  end
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.14
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: 2021-10-14 00:00:00.000000000 Z
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.0.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: []