adobe_connect 1.0.4 → 1.0.9
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 +5 -5
- data/.travis.yml +6 -4
- data/CHANGELOG.md +20 -0
- data/adobe_connect.gemspec +1 -1
- data/lib/adobe_connect/meeting.rb +1 -1
- data/lib/adobe_connect/service.rb +13 -2
- data/lib/adobe_connect/user.rb +8 -1
- data/lib/adobe_connect/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '009ccdc3d4c54ab1b880b14d88d6e90b8368861290ba27fda59dd3bf76b54881'
|
4
|
+
data.tar.gz: 3ce099effc7275cebcfd0d83690e9f7710d34565f83b94173a4d4c22b23c5e2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a5ef4b0e2c504bb1b42d1985862b76b9411033d87b0623e01471d54386a555ea32b458c86fa9b713f7ebf1a8b76f82757bd8fa77d5fcaba81de507cf5eaa7d3
|
7
|
+
data.tar.gz: a3a1d3f9574bae30bdeeed0667ac795260d316de64efbbfe0c4362ebc3578550cca6282ac8afd8f5f33b387928c496350e7903e446bb90d7c377551d16fd07e2
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Don’t let your friends dump git logs into changelogs.
|
2
|
+
Version 1.0.0
|
3
|
+
# Changelog
|
4
|
+
All notable changes to this project will be documented in this file.
|
5
|
+
|
6
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
7
|
+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
8
|
+
|
9
|
+
## [Unreleased]
|
10
|
+
|
11
|
+
## [1.0.8] - 2019-01-15
|
12
|
+
### Added
|
13
|
+
- Allow nokogiri 1.10.x, by @ccutrer.
|
14
|
+
|
15
|
+
## [1.0.7] - 2018-06-04
|
16
|
+
### Added
|
17
|
+
- extra_query_string pseudo-param can be used to pass additional query string content to API calls, by @artur79.
|
18
|
+
|
19
|
+
[Unreleased]: https://github.com/zachpendleton/adobe_connect/compare/v1.0.7...HEAD
|
20
|
+
[1.0.7]: https://github.com/zachpendleton/adobe_connect/compare/v1.0.6...v1.0.7
|
data/adobe_connect.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
|
|
19
19
|
gem.require_paths = ['lib']
|
20
20
|
|
21
21
|
gem.add_dependency 'activesupport', '>= 2.3.17'
|
22
|
-
gem.add_dependency 'nokogiri', '>= 1.5.5', '< 1.
|
22
|
+
gem.add_dependency 'nokogiri', '>= 1.5.5', '< 1.12'
|
23
23
|
gem.add_dependency 'rake', '>= 0.9.2'
|
24
24
|
|
25
25
|
gem.add_development_dependency 'minitest', '~> 4.6.0'
|
@@ -76,7 +76,7 @@ module AdobeConnect
|
|
76
76
|
def self.find_within_folder(folder_id, params = {}, service = AdobeConnect::Service.new)
|
77
77
|
response = service.sco_contents( params.merge(:sco_id => folder_id, :type => 'meeting') )
|
78
78
|
ac_meetings = response.at_xpath('//scos')
|
79
|
-
|
79
|
+
ac_meetings.children.map{|m| load_from_xml(m, service) }
|
80
80
|
end
|
81
81
|
|
82
82
|
private
|
@@ -16,6 +16,7 @@ module AdobeConnect
|
|
16
16
|
@password = options[:password]
|
17
17
|
@domain = URI.parse(options[:domain])
|
18
18
|
@authenticated = false
|
19
|
+
@client = nil
|
19
20
|
end
|
20
21
|
|
21
22
|
# Public: Authenticate against the currently configured Connect service.
|
@@ -75,7 +76,9 @@ module AdobeConnect
|
|
75
76
|
# Public: Execute a call against the Adobe Connect instance.
|
76
77
|
#
|
77
78
|
# action - The name of the API action to call.
|
78
|
-
# params - A hash of params to pass in the request.
|
79
|
+
# params - A hash of params to pass in the request. The value of the :extra_query_string param will be
|
80
|
+
# appended to the request URL. This is sometimes necessary because the API allows for repeated
|
81
|
+
# parameters and sometimes the order of the parameters is important.
|
79
82
|
# use_session - If true, require an active session (default: true).
|
80
83
|
#
|
81
84
|
# Returns an AdobeConnect::Response.
|
@@ -85,8 +88,16 @@ module AdobeConnect
|
|
85
88
|
params[:session] = session
|
86
89
|
end
|
87
90
|
|
91
|
+
if params[:extra_query_string]
|
92
|
+
extra_query_string = params[:extra_query_string]
|
93
|
+
raise 'Invalid argument. extra_query_string should start with &.' unless extra_query_string.start_with?('&')
|
94
|
+
|
95
|
+
params.delete :extra_query_string
|
96
|
+
end
|
97
|
+
|
88
98
|
query_string = ParamFormatter.new(params).format
|
89
|
-
|
99
|
+
|
100
|
+
response = client.get("/api/xml?action=#{action}#{query_string}#{extra_query_string}")
|
90
101
|
AdobeConnect::Response.new(response)
|
91
102
|
end
|
92
103
|
end
|
data/lib/adobe_connect/user.rb
CHANGED
@@ -2,7 +2,14 @@ module AdobeConnect
|
|
2
2
|
|
3
3
|
# Public: Represents a user in a Connect environment.
|
4
4
|
class User < Base
|
5
|
-
attr_accessor :first_name, :last_name, :email, :
|
5
|
+
attr_accessor :first_name, :last_name, :email, :uuid, :send_email
|
6
|
+
attr_writer :username
|
7
|
+
|
8
|
+
def initialize(*)
|
9
|
+
super
|
10
|
+
# Silence a warning about uninitialized instance variable.
|
11
|
+
@username = nil
|
12
|
+
end
|
6
13
|
|
7
14
|
#
|
8
15
|
# user_options - A hash with the following keys:
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adobe_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Pendleton
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2021-01-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -35,7 +35,7 @@ dependencies:
|
|
35
35
|
version: 1.5.5
|
36
36
|
- - "<"
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: '1.
|
38
|
+
version: '1.12'
|
39
39
|
type: :runtime
|
40
40
|
prerelease: false
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -45,7 +45,7 @@ dependencies:
|
|
45
45
|
version: 1.5.5
|
46
46
|
- - "<"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '1.
|
48
|
+
version: '1.12'
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: rake
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,6 +157,7 @@ files:
|
|
157
157
|
- ".gitignore"
|
158
158
|
- ".travis.yml"
|
159
159
|
- ".yardopts"
|
160
|
+
- CHANGELOG.md
|
160
161
|
- Gemfile
|
161
162
|
- LICENSE.txt
|
162
163
|
- README.md
|
@@ -236,8 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
236
237
|
- !ruby/object:Gem::Version
|
237
238
|
version: '0'
|
238
239
|
requirements: []
|
239
|
-
|
240
|
-
rubygems_version: 2.4.5.1
|
240
|
+
rubygems_version: 3.1.2
|
241
241
|
signing_key:
|
242
242
|
specification_version: 4
|
243
243
|
summary: An API wrapper for Adobe Connect services.
|