adobe_connect_api 0.0.68.alpha → 0.0.69.alpha
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -2
- data/Rakefile +0 -3
- data/adobe_connect_api.gemspec +0 -1
- data/lib/adobe_connect_api/version.rb +1 -1
- data/lib/adobe_connect_api.rb +1 -1
- metadata +4 -20
- data/config/config.breeze.yml +0 -28
- data/spec/adobe_connect_api_spec.rb +0 -25
- data/spec/spec_helper.rb +0 -7
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/adobe_connect_api.gemspec
CHANGED
data/lib/adobe_connect_api.rb
CHANGED
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.
|
4
|
+
version: 0.0.69.alpha
|
5
5
|
prerelease: 7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-10-31 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: xml-simple
|
16
|
-
requirement: &
|
16
|
+
requirement: &2161409200 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,18 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: rspec
|
27
|
-
requirement: &2153471940 !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
|
-
requirements:
|
30
|
-
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '2.11'
|
33
|
-
type: :runtime
|
34
|
-
prerelease: false
|
35
|
-
version_requirements: *2153471940
|
24
|
+
version_requirements: *2161409200
|
36
25
|
description: Wrapper to the Adobe Connect API
|
37
26
|
email:
|
38
27
|
- christian.rohrer@switch.ch
|
@@ -47,14 +36,11 @@ files:
|
|
47
36
|
- README.md
|
48
37
|
- Rakefile
|
49
38
|
- adobe_connect_api.gemspec
|
50
|
-
- config/config.breeze.yml
|
51
39
|
- lib/adobe_connect_api.rb
|
52
40
|
- lib/adobe_connect_api/filter_definition.rb
|
53
41
|
- lib/adobe_connect_api/result.rb
|
54
42
|
- lib/adobe_connect_api/sort_definition.rb
|
55
43
|
- lib/adobe_connect_api/version.rb
|
56
|
-
- spec/adobe_connect_api_spec.rb
|
57
|
-
- spec/spec_helper.rb
|
58
44
|
homepage: ''
|
59
45
|
licenses: []
|
60
46
|
post_install_message:
|
@@ -79,6 +65,4 @@ rubygems_version: 1.8.17
|
|
79
65
|
signing_key:
|
80
66
|
specification_version: 3
|
81
67
|
summary: Wrapper to the Adobe Connect API written in Ruby
|
82
|
-
test_files:
|
83
|
-
- spec/adobe_connect_api_spec.rb
|
84
|
-
- spec/spec_helper.rb
|
68
|
+
test_files: []
|
data/config/config.breeze.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
# Copyright (c) 2010 SWITCH - Serving Swiss Universities
|
2
|
-
# Author: Christian Rohrer <christian.rohrer@switch.ch>
|
3
|
-
# $Id$
|
4
|
-
|
5
|
-
# Configuration of the breeze / adobe connect connection
|
6
|
-
|
7
|
-
development:
|
8
|
-
url : https://collab-test.switch.ch
|
9
|
-
username: interactAdmin@switch.ch
|
10
|
-
password: CqxV4pi0WUyqAq5G
|
11
|
-
|
12
|
-
generic_user_password: gu4nolico
|
13
|
-
|
14
|
-
test:
|
15
|
-
url : https://collab-test.switch.ch
|
16
|
-
username: interactAdmin@switch.ch
|
17
|
-
password: CqxV4pi0WUyqAq5G
|
18
|
-
|
19
|
-
generic_user_password: gu4nolico
|
20
|
-
|
21
|
-
production:
|
22
|
-
url : https://collab.switch.ch
|
23
|
-
username: interactAdmin@switch.ch
|
24
|
-
password: CqxV4pi0WUyqAq5G
|
25
|
-
|
26
|
-
generic_user_password: gu4nolico
|
27
|
-
|
28
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe AdobeConnectAPI do
|
4
|
-
|
5
|
-
it 'should login admin' do
|
6
|
-
interactconfig = YAML::load_file("#{Rails.root}/config/config.breeze.yml")[Rails.env]
|
7
|
-
url = interactconfig["url"]
|
8
|
-
|
9
|
-
|
10
|
-
# open AdobeConnectAPI (use URL from config file)
|
11
|
-
puts settings.environment
|
12
|
-
puts settings.root
|
13
|
-
@acs = AdobeConnectAPI.new(nil, settings.environment.to_s, settings.root)
|
14
|
-
# login to Adobe Connect
|
15
|
-
res = XmlSimple.xml_in(@acs.login(), { 'KeyAttr' => 'name' })
|
16
|
-
status = res['status'].first['code']
|
17
|
-
puts status
|
18
|
-
|
19
|
-
@admin_sessionid = request.cookies["BREEZESESSION"]
|
20
|
-
puts @admin_sessionid
|
21
|
-
end
|
22
|
-
it 'should return correct version string' do
|
23
|
-
Sudoku.version_string.should == "Sudoku version #{Sudoku::VERSION}"
|
24
|
-
end
|
25
|
-
end
|