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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 36dd1760688032725d484ca7fff4bb7e52c06ca1
4
- data.tar.gz: 2ec80d05cedbc1559d9988fa98b0f02b2faac0d7
2
+ SHA256:
3
+ metadata.gz: 52e292c3bab42f7006475ca750564ce1d29362863803eaced000b44cb407dbe2
4
+ data.tar.gz: a63af592ff41c88f87e461575a99b414c779289c173641d8a61ca7218ddb18ec
5
5
  SHA512:
6
- metadata.gz: 6830cbc35445cbcc416d44686ecc2bc65d940a5b61301c6efaadb9c0d6cc34f37e0bb35d66c28493da7ec11ca42404fe941328dab867dcc2c7018af2117154b8
7
- data.tar.gz: 3361472c2a9d5ef36eca98dc6eaf809a2aa960904a331dc75f6582811aafb22032acf9fe8dee8f85aded2e56003dfc08a48bef0faf3f4e58a008ca6e643bc107
6
+ metadata.gz: f5e848fc2b2100ed0277374fbd29b88dcd7f5ff41e71e3e640fd9b2236dd926ded5c9c9278936ad9ae9abc2374e9c44b2e6c361e5d78f8bff5529184b4a30ee4
7
+ data.tar.gz: 769e4c543faef9b33bdb921c28f2ae96f13826d12c1ef3bdaf5a26c820c5ccb9009786adb88aa5d286f39d5eeadef7ddfbfe88c3dccd804f35ec874f5b257f7e
data/.travis.yml CHANGED
@@ -3,7 +3,9 @@ before_install:
3
3
  - gem update bundler
4
4
  rvm:
5
5
  - 1.9.3
6
- - 2.0.0
7
- - 2.1.8
8
- - 2.2.4
9
- - 2.3.0
6
+ - 2.0
7
+ - 2.1
8
+ - 2.2
9
+ - 2.3
10
+ - 2.4
11
+ - 2.5
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
- response = client.get("/api/xml?action=#{action}#{query_string}")
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
@@ -1,4 +1,4 @@
1
1
  module AdobeConnect
2
2
  # Public: Current Gem version.
3
- VERSION = '1.0.6'
3
+ VERSION = '1.0.7'
4
4
  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.6
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: 2017-07-18 00:00:00.000000000 Z
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.11
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: