canvas_connect 0.0.1 → 0.0.2
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.
|
@@ -115,7 +115,7 @@ class AdobeConnectConference < WebConference
|
|
|
115
115
|
Rails.logger.error "Adobe Connect error on meeting create. Field: #{error['field']}, Value: #{error['subcode']}"
|
|
116
116
|
|
|
117
117
|
if error['field'] == 'folder-id'
|
|
118
|
-
throw CanvasConnect::MeetingFolderError.new("Folder '#{CanvasConnect.config[:
|
|
118
|
+
throw CanvasConnect::MeetingFolderError.new("Folder '#{CanvasConnect.config[:meeting_container]}' doesn't exist!")
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
return nil
|
data/lib/canvas_connect.rb
CHANGED
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
17
|
#
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
require_dependency "canvas_connect/version"
|
|
20
|
+
require_dependency "canvas/plugins/validators/adobe_connect_validator"
|
|
21
|
+
require_dependency "canvas/plugins/adobe_connect"
|
|
22
|
+
require_dependency "canvas_connect/response"
|
|
23
|
+
require_dependency "canvas_connect/meeting_folder"
|
|
24
|
+
require_dependency "canvas_connect/connect_user"
|
|
25
|
+
require_dependency "canvas_connect/service"
|
|
26
26
|
|
|
27
27
|
module CanvasConnect
|
|
28
28
|
class ConnectionError < StandardError; end
|
|
@@ -38,7 +38,7 @@ module CanvasConnect
|
|
|
38
38
|
ApplicationController.view_paths.unshift(view_path)
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
require_dependency "models/adobe_connect_conference"
|
|
42
42
|
|
|
43
43
|
Canvas::Plugins::AdobeConnect.new
|
|
44
44
|
end
|
|
@@ -31,7 +31,7 @@ module CanvasConnect
|
|
|
31
31
|
unless logged_in?
|
|
32
32
|
response = login(:login => @username, :password => @password)
|
|
33
33
|
if response.xpath('//status[@code="ok"]').empty?
|
|
34
|
-
raise ConnectionError.new("Could not log in to #{@domain}.")
|
|
34
|
+
raise ConnectionError.new("Could not log in to #{@domain} as #{@username}.")
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
@is_authenticated = true
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: canvas_connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-01-
|
|
12
|
+
date: 2013-01-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Canvas Connect is an Adobe Connect plugin for the Instructure Canvas
|
|
15
15
|
LMS. It allows teachers and administrators to create and launch Connect conferences
|
|
@@ -66,4 +66,3 @@ signing_key:
|
|
|
66
66
|
specification_version: 3
|
|
67
67
|
summary: Adobe Connect integration for Instructure Canvas (http://instructure.com).
|
|
68
68
|
test_files: []
|
|
69
|
-
has_rdoc:
|