canvas_connect 0.3.13 → 0.3.16

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: '094554d30de1e6c0179d2b3f643db905d4f2f1ca35597b6e77c134294331c95a'
4
- data.tar.gz: 54c3dac0ad2a2b4088187d555011f964776a95b5a7b84926a7685dcf920691bc
3
+ metadata.gz: b368d4f89a39904981ff9c00de45030a01270956d0ebb5571224ead020405f58
4
+ data.tar.gz: 3499fb2035d849b639264cb914f2a1f2a606d1f599bcc21e4f53e6d7f15335ee
5
5
  SHA512:
6
- metadata.gz: 43a5c0d46ece2457e5f32da96b4243c37d8affe4fa0186bc4f8d12e16b2df57fb4bd27a8e3d37ddaec0a99bebacfe3499c316650aed702778e740054f468b963
7
- data.tar.gz: 40914efb3597f42606215833ec358fb4a800dac4a3f45aa4ebab33eedc4ffef6ded470b27572600701532a5c06a95a51a54afaa30a5a8bbbc9bfabfeafe538ce
6
+ metadata.gz: 2dd4dc6ed825419bc1cce3babfb1cc419411af8c56016c6ad8704ad13f9271a6997790ff8585154a61026bb2dc2025d2b7ada6a95f8a7a5bf64c0576919e1da0
7
+ data.tar.gz: b5996392e9dce3a90a61ec2480631bcbc3be40ea93cd52ef6812b94cb90875f8734cba365b2bda08fa16b32b95358bfc16e9bba0f2d8ee04536697ca5fc5e509
@@ -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,12 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # this CANVAS_ZEITWERK constant flag is defined in canvas' "application.rb"
4
- # from an env var. It should be temporary,
5
- # and removed once we've fully upgraded to zeitwerk autoloading.
6
- if defined?(CANVAS_ZEITWERK) && CANVAS_ZEITWERK
7
-
8
- # make sure we don't try to create a "CanvasConnect::Version" thing,
9
- # because that doesn't exist
10
- Rails.autoloaders.main.ignore("#{__dir__}/../../lib/canvas_connect/version.rb")
11
-
12
- end
3
+ # make sure we don't try to create a "CanvasConnect::Version" thing,
4
+ # because that doesn't exist
5
+ Rails.autoloaders.main.ignore("#{__dir__}/../../lib/canvas_connect/version.rb")
@@ -16,6 +16,8 @@
16
16
  # with this program. If not, see <http://www.gnu.org/licenses/>.
17
17
  #
18
18
 
19
+ require 'canvas_connect/version'
20
+
19
21
  module Canvas
20
22
  module Plugins
21
23
  class AdobeConnect
@@ -1,3 +1,3 @@
1
1
  module CanvasConnect
2
- VERSION = '0.3.13'
2
+ VERSION = '0.3.16'
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.13
4
+ version: 0.3.16
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-13 00:00:00.000000000 Z
11
+ date: 2022-03-22 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: []