canvas_connect 0.3.3 → 0.3.4

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
  SHA1:
3
- metadata.gz: 173df12128e5f18ce154e7fb7062295dd1827c73
4
- data.tar.gz: 9d2b331d77cdac7c379c648a59ac59ce31773b07
3
+ metadata.gz: 089d4d81e707c905fb1d88befdef0e1777817758
4
+ data.tar.gz: 5f61967ba12b94bf0e9f7ddd509548ca363391fd
5
5
  SHA512:
6
- metadata.gz: 04154f2aa2375d2c4cad209de557b5ed53f0d039d4a8cda94b6894c834fe150b2df6f5b3d9840c51b67dcb9bd9c0014f7de72882d66dd324dce4f50adde22c37
7
- data.tar.gz: d8de999034be9243fc3af0cad679e714a883ddf77882966407d4d335b2aadfa0af0c47511602b35c4aabc478365e88f97b4873357b6de213089cbfceca22403f
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
- CanvasConnect::MeetingArchive.retrieve(key).map do |recording|
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,
@@ -1,3 +1,3 @@
1
1
  module CanvasConnect
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.4'
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.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-09 00:00:00.000000000 Z
11
+ date: 2014-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake