adobe_connect 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +6 -4
- data/CHANGELOG.md +16 -0
- data/lib/adobe_connect/service.rb +12 -2
- data/lib/adobe_connect/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 52e292c3bab42f7006475ca750564ce1d29362863803eaced000b44cb407dbe2
|
4
|
+
data.tar.gz: a63af592ff41c88f87e461575a99b414c779289c173641d8a61ca7218ddb18ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5e848fc2b2100ed0277374fbd29b88dcd7f5ff41e71e3e640fd9b2236dd926ded5c9c9278936ad9ae9abc2374e9c44b2e6c361e5d78f8bff5529184b4a30ee4
|
7
|
+
data.tar.gz: 769e4c543faef9b33bdb921c28f2ae96f13826d12c1ef3bdaf5a26c820c5ccb9009786adb88aa5d286f39d5eeadef7ddfbfe88c3dccd804f35ec874f5b257f7e
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,16 @@
|
|
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.7] - 2018-06-04
|
12
|
+
### Added
|
13
|
+
- extra_query_string pseudo-param can be used to pass additional query string content to API calls, by @artur79.
|
14
|
+
|
15
|
+
[Unreleased]: https://github.com/zachpendleton/adobe_connect/compare/v1.0.7...HEAD
|
16
|
+
[1.0.7]: https://github.com/zachpendleton/adobe_connect/compare/v1.0.6...v1.0.7
|
@@ -76,7 +76,9 @@ module AdobeConnect
|
|
76
76
|
# Public: Execute a call against the Adobe Connect instance.
|
77
77
|
#
|
78
78
|
# action - The name of the API action to call.
|
79
|
-
# 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.
|
80
82
|
# use_session - If true, require an active session (default: true).
|
81
83
|
#
|
82
84
|
# Returns an AdobeConnect::Response.
|
@@ -86,8 +88,16 @@ module AdobeConnect
|
|
86
88
|
params[:session] = session
|
87
89
|
end
|
88
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
|
+
|
89
98
|
query_string = ParamFormatter.new(params).format
|
90
|
-
|
99
|
+
|
100
|
+
response = client.get("/api/xml?action=#{action}#{query_string}#{extra_query_string}")
|
91
101
|
AdobeConnect::Response.new(response)
|
92
102
|
end
|
93
103
|
end
|
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.7
|
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: 2018-06-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -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
|
@@ -237,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
237
238
|
version: '0'
|
238
239
|
requirements: []
|
239
240
|
rubyforge_project:
|
240
|
-
rubygems_version: 2.6
|
241
|
+
rubygems_version: 2.7.6
|
241
242
|
signing_key:
|
242
243
|
specification_version: 4
|
243
244
|
summary: An API wrapper for Adobe Connect services.
|
@@ -283,4 +284,3 @@ test_files:
|
|
283
284
|
- test/lib/adobe_connect/telephony_profile_test.rb
|
284
285
|
- test/lib/adobe_connect/user_test.rb
|
285
286
|
- test/test_helper.rb
|
286
|
-
has_rdoc:
|