canvas_connect 0.3.3 → 0.3.4
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.
- checksums.yaml +4 -4
- data/app/models/adobe_connect_conference.rb +7 -5
- data/lib/canvas_connect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 089d4d81e707c905fb1d88befdef0e1777817758
|
4
|
+
data.tar.gz: 5f61967ba12b94bf0e9f7ddd509548ca363391fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3622bab496c305679652fe7e629eeb2c225163cb9c5b468418b069f5799133ef53df43b3ba5a88f479140e34d1cd727ab8e0bebf80338dda3c692f2ab44366c
|
7
|
+
data.tar.gz: 8cbd129260bf7602c69432151706e0f9bddc310d221825a119ca46b422694b8d2915672b69e970daf21c087f71031ec118a90ad58d07a88fb7057e8db75ffb2f
|
@@ -52,7 +52,7 @@ class AdobeConnectConference < WebConference
|
|
52
52
|
def admin_join_url(admin, _ = nil)
|
53
53
|
user = add_host(admin)
|
54
54
|
|
55
|
-
if config[:use_sis_ids] == "no"
|
55
|
+
if config[:use_sis_ids] == "no"
|
56
56
|
settings = { :username => user.username, :password => user.password,
|
57
57
|
:domain => CanvasConnect.config[:domain] }
|
58
58
|
|
@@ -62,7 +62,7 @@ class AdobeConnectConference < WebConference
|
|
62
62
|
"#{meeting_url}?session=#{service.session}"
|
63
63
|
else
|
64
64
|
meeting_url
|
65
|
-
end
|
65
|
+
end
|
66
66
|
end
|
67
67
|
|
68
68
|
# Public: Add a participant to the conference and create a meeting URL.
|
@@ -76,9 +76,9 @@ class AdobeConnectConference < WebConference
|
|
76
76
|
def participant_join_url(user, _ = nil)
|
77
77
|
if grants_right?(user, nil, :initiate)
|
78
78
|
admin_join_url(user)
|
79
|
-
elsif config[:use_sis_ids] == "no"
|
79
|
+
elsif config[:use_sis_ids] == "no"
|
80
80
|
"#{meeting_url}?guestName=#{URI.escape(user.name)}"
|
81
|
-
else
|
81
|
+
else
|
82
82
|
meeting_url
|
83
83
|
end
|
84
84
|
end
|
@@ -88,7 +88,9 @@ class AdobeConnectConference < WebConference
|
|
88
88
|
# Returns an Array of MeetingArchive, or an empty Array if there are no recordings
|
89
89
|
def recordings
|
90
90
|
if key = find_conference_key
|
91
|
-
|
91
|
+
recordings = CanvasConnect::MeetingArchive.retrieve(key)
|
92
|
+
recordings.each { |r| make_conference_public(r.id) }
|
93
|
+
recordings.map do |recording|
|
92
94
|
{
|
93
95
|
recording_id: recording.id,
|
94
96
|
duration_minutes: recording.duration.to_i,
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Pendleton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|