adobe_connect 1.0.6 → 1.0.10

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: ebc5bf587f4cb6e31d4eb8d047f7cb58df08c944eeddaf0eb13a90392787958c
4
+ data.tar.gz: ed7027ec13b98f1aa63d151de768388d97da8f885cf25d2c9099451510d5ba6e
5
5
  SHA512:
6
- metadata.gz: 6830cbc35445cbcc416d44686ecc2bc65d940a5b61301c6efaadb9c0d6cc34f37e0bb35d66c28493da7ec11ca42404fe941328dab867dcc2c7018af2117154b8
7
- data.tar.gz: 3361472c2a9d5ef36eca98dc6eaf809a2aa960904a331dc75f6582811aafb22032acf9fe8dee8f85aded2e56003dfc08a48bef0faf3f4e58a008ca6e643bc107
6
+ metadata.gz: 623e6f0b55a95d2b59689806f085920a81be619550b5e964dea79896be5b35324026f8cebaf1ebc8848e1a0216ab61a26902f3217cfd3172e15295d6ee32e282
7
+ data.tar.gz: 534b957c87aab476dcba4a89d11390efe415830d75d7deaff34caf04169d274e7628c323937be51e51d12e4ad0047eba119819abce865290137e48354c6574a5
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,28 @@
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.10] - 2021-09-28
12
+ ### Added
13
+ - Allow nokogiri 1.12.x, by @claudio.
14
+
15
+ ## [1.0.9] - 2021-09-28
16
+ ### Added
17
+ - Allow nokogiri 1.11.x, by @ccutrer.
18
+
19
+ ## [1.0.8] - 2019-01-15
20
+ ### Added
21
+ - Allow nokogiri 1.10.x, by @ccutrer.
22
+
23
+ ## [1.0.7] - 2018-06-04
24
+ ### Added
25
+ - extra_query_string pseudo-param can be used to pass additional query string content to API calls, by @artur79.
26
+
27
+ [Unreleased]: https://github.com/zachpendleton/adobe_connect/compare/v1.0.7...HEAD
28
+ [1.0.7]: https://github.com/zachpendleton/adobe_connect/compare/v1.0.6...v1.0.7
data/README.md CHANGED
@@ -70,3 +70,11 @@ and a `status` method for getting back the status code of your request.
70
70
  3. Commit your changes (`git commit -am 'Add some feature'`)
71
71
  4. Push to the branch (`git push origin my-new-feature`)
72
72
  5. Create new Pull Request
73
+
74
+ ## Releasing a new version
75
+
76
+ 1. Bump the version number in version.rb
77
+ 2. Update the title of the "Unreleased" section of the CHANGELOG to have the
78
+ new version number and date.
79
+ 3. Run `bundle exec rake release` to tag the release, push the tag to Github,
80
+ build the gem, and push it to rubygems.org.
@@ -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.9'
22
+ gem.add_dependency 'nokogiri', '>= 1.5.5', '< 1.13'
23
23
  gem.add_dependency 'rake', '>= 0.9.2'
24
24
 
25
25
  gem.add_development_dependency 'minitest', '~> 4.6.0'
@@ -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.10'
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.10
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: 2021-09-28 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.9'
38
+ version: '1.13'
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.9'
48
+ version: '1.13'
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
- rubyforge_project:
240
- rubygems_version: 2.6.11
240
+ rubygems_version: 3.2.20
241
241
  signing_key:
242
242
  specification_version: 4
243
243
  summary: An API wrapper for Adobe Connect services.
@@ -283,4 +283,3 @@ test_files:
283
283
  - test/lib/adobe_connect/telephony_profile_test.rb
284
284
  - test/lib/adobe_connect/user_test.rb
285
285
  - test/test_helper.rb
286
- has_rdoc: