adobe_connect_api 0.0.55.alpha → 0.0.56.alpha

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AdobeConnectApi
2
- VERSION = "0.0.55.alpha"
2
+ VERSION = "0.0.56.alpha"
3
3
  end
@@ -195,7 +195,10 @@ class AdobeConnectAPI
195
195
 
196
196
  res = sco_contents(tree_id, filter)
197
197
  # should not contain more than 1 result
198
- return res.rows.first["sco-id"]
198
+ if res.rows.empty?
199
+ return nil
200
+ else
201
+ return res.rows.first["sco-id"]
199
202
  end
200
203
 
201
204
  # e.g. "https://collab-test.switch.ch/api/xml?action=permissions-update&principal-id=12578066&acl-id=13112626&permission-id=host"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adobe_connect_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.55.alpha
4
+ version: 0.0.56.alpha
5
5
  prerelease: 7
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-23 00:00:00.000000000Z
12
+ date: 2012-10-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: xml-simple
16
- requirement: &2153526420 !ruby/object:Gem::Requirement
16
+ requirement: &2153295720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2153526420
24
+ version_requirements: *2153295720
25
25
  description: Wrapper to the Adobe Connect API
26
26
  email:
27
27
  - christian.rohrer@switch.ch