adobe_connect 1.0.4 → 1.0.9

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: b51f450d38f07e066522f7036692cab38bf18365
4
- data.tar.gz: f71f7c0a1d552ec0989e2c44ba310bed4f71fbf7
2
+ SHA256:
3
+ metadata.gz: '009ccdc3d4c54ab1b880b14d88d6e90b8368861290ba27fda59dd3bf76b54881'
4
+ data.tar.gz: 3ce099effc7275cebcfd0d83690e9f7710d34565f83b94173a4d4c22b23c5e2f
5
5
  SHA512:
6
- metadata.gz: 7fdc59e0fd25edb71ce1f30639a35d4c7fbb077f0d4b0f75f068273eb4a80683e5ed998dd40dbf37c0906db60c6663ca8bdb315a99f7616d75b8d355864edad6
7
- data.tar.gz: 51115a9fbd728b1ce3c831555529cfdcf2eaba9cb9ddf38f403a7a4e748822883ff5e9183590df04c0e6195e49dfc95f5647f689be883cbdbacc09a9fb51de30
6
+ metadata.gz: 3a5ef4b0e2c504bb1b42d1985862b76b9411033d87b0623e01471d54386a555ea32b458c86fa9b713f7ebf1a8b76f82757bd8fa77d5fcaba81de507cf5eaa7d3
7
+ data.tar.gz: a3a1d3f9574bae30bdeeed0667ac795260d316de64efbbfe0c4362ebc3578550cca6282ac8afd8f5f33b387928c496350e7903e446bb90d7c377551d16fd07e2
@@ -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
@@ -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
@@ -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.7'
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
- meetings = ac_meetings.children.map{|m| load_from_xml(m, service) }
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
- response = client.get("/api/xml?action=#{action}#{query_string}")
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
@@ -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, :username, :uuid, :send_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:
@@ -1,4 +1,4 @@
1
1
  module AdobeConnect
2
2
  # Public: Current Gem version.
3
- VERSION = '1.0.4'
3
+ VERSION = '1.0.9'
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.4
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: 2016-01-19 00:00:00.000000000 Z
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.7'
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.7'
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
- rubyforge_project:
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.