canvas_connect 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e4f8ebc1059bca0c34578cd707e957962dcad3a7
4
+ data.tar.gz: 23f9ce23f001ea3b6f4f77457fbc26331c989640
5
+ SHA512:
6
+ metadata.gz: e1e721cc6a9eba791401e102871a813e9f5255169f86407627ba5105024a37c6f332aff221cf1b20bca61403875ea61172f933b9f58b8557c507c5ae8e0c8204
7
+ data.tar.gz: ea512b073b4ee62f5e832ed14bcc5461afbded450f23a67219732f6c05fcd41ae33d009268dd286569da0006d7f2a41f781fd614607fa9ba643ee2e75d9159dd
@@ -54,9 +54,6 @@ class AdobeConnectConference < WebConference
54
54
  settings = { :username => user.username, :password => user.password,
55
55
  :domain => CanvasConnect.config[:domain] }
56
56
 
57
- Rails.logger.info "USERNAME: #{user.username}"
58
- Rails.logger.info "PASSWORD: #{user.password}"
59
-
60
57
  service = AdobeConnect::Service.new(settings)
61
58
  service.log_in
62
59
 
@@ -101,7 +98,11 @@ class AdobeConnectConference < WebConference
101
98
  #
102
99
  # Returns the CanvasConnect::ConnectUser.
103
100
  def add_host(user)
104
- connect_user = AdobeConnect::User.find(user) || AdobeConnect::User.create(user)
101
+ connect_email = user.email.gsub(/@/, "+canvas-#{user.uuid}@")
102
+ options = { first_name: user.first_name, last_name: user.last_name,
103
+ email: connect_email, username: connect_email, uuid: user.uuid }
104
+
105
+ connect_user = AdobeConnect::User.find(options) || AdobeConnect::User.create(options)
105
106
  connect_service.permissions_update(
106
107
  :acl_id => find_conference_key,
107
108
  :principal_id => connect_user.id,
@@ -18,6 +18,6 @@ Gem::Specification.new do |gem|
18
18
  gem.require_paths = %w{app lib}
19
19
 
20
20
  gem.add_dependency 'rake', '>= 0.9.6'
21
- gem.add_dependency 'adobe_connect', '>= 0.0.7'
21
+ gem.add_dependency 'adobe_connect', '~> 1.0.0'
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module CanvasConnect
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,48 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canvas_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
5
- prerelease:
4
+ version: 0.0.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Zach Pendleton
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-20 00:00:00.000000000 Z
11
+ date: 2013-05-09 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 0.9.6
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 0.9.6
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: adobe_connect
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ~>
36
32
  - !ruby/object:Gem::Version
37
- version: 0.0.7
33
+ version: 1.0.0
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ~>
44
39
  - !ruby/object:Gem::Version
45
- version: 0.0.7
40
+ version: 1.0.0
46
41
  description: Canvas Connect is an Adobe Connect plugin for the Instructure Canvas
47
42
  LMS. It allows teachers and administrators to create and launch Connect conferences
48
43
  directly from their courses.
@@ -70,27 +65,26 @@ files:
70
65
  - spec_canvas/models/adobe_connect_conference_spec.rb
71
66
  homepage: http://instructure.com
72
67
  licenses: []
68
+ metadata: {}
73
69
  post_install_message:
74
70
  rdoc_options: []
75
71
  require_paths:
76
72
  - app
77
73
  - lib
78
74
  required_ruby_version: !ruby/object:Gem::Requirement
79
- none: false
80
75
  requirements:
81
- - - ! '>='
76
+ - - '>='
82
77
  - !ruby/object:Gem::Version
83
78
  version: '0'
84
79
  required_rubygems_version: !ruby/object:Gem::Requirement
85
- none: false
86
80
  requirements:
87
- - - ! '>='
81
+ - - '>='
88
82
  - !ruby/object:Gem::Version
89
83
  version: '0'
90
84
  requirements: []
91
85
  rubyforge_project:
92
- rubygems_version: 1.8.25
86
+ rubygems_version: 2.0.0
93
87
  signing_key:
94
- specification_version: 3
88
+ specification_version: 4
95
89
  summary: Adobe Connect integration for Instructure Canvas (http://instructure.com).
96
90
  test_files: []