xclarity_client 0.6.9 → 0.7.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97e51a6b89b3d94948e74936c80cca4a97599549aeb7723eb290062aef58e582
4
- data.tar.gz: 16c23bc24b5a013f0b53c538cf3b212e8f4d8565e676ec73e66ee8a90fc380b3
3
+ metadata.gz: bf0c21b4fa01b0e4b17558a1427f7cba659a4db359c759ff1cb7a602a987293b
4
+ data.tar.gz: 9fdf8103464d28c42d343488b013ce5a3294b1f758607b178031c4459c1151bb
5
5
  SHA512:
6
- metadata.gz: e2274fa28d68f861a3a4d5d918d71087bb412e0330f07ad61c748a33ac41abbd025c5ed2b2219d75f68405424ab668e0e25c86c45dd2e108461cbe7c3f510d17
7
- data.tar.gz: 6c9eba7601d7b2fb4aadb184de99b74a63c7b11399d20e4435341d36c5b3c211e239e5cc6f2afca7cccc36caa10a74060821e7b49f39ab66ceea5417793f64e6
6
+ metadata.gz: e608b1208b908366e1db064b8bf775edad14c7a0f1f39499c5a64c59fdbb6d87089fb024dfe0267351b0730f2e3b1b38b29d09d008cc153c5a3feb0234d4dcb3
7
+ data.tar.gz: 46b3b54cce30d7c123eb905528f492a483f7e1f10a1be07b2e7160bf308c8f00557a79906f14c0c842b5b11ab578425b0c8fb61e85a838bc2649ff973fab59da
data/README.md CHANGED
@@ -74,4 +74,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
74
74
 
75
75
  ## Contributing
76
76
 
77
- Bug reports and pull requests are welcome on GitHub at https://github.com/lenovo/xclarity_client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
77
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ManageIQ/xclarity_client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
@@ -1,4 +1,6 @@
1
1
  require 'faraday'
2
+ require 'faraday/httpclient'
3
+ require 'faraday/multipart'
2
4
  require 'faraday-cookie_jar'
3
5
  require 'uri'
4
6
  require 'uri/https'
@@ -126,7 +128,7 @@ module XClarityClient
126
128
  basic_auth = configuration.auth_type == 'basic_auth'
127
129
  username = configuration.username
128
130
  password = configuration.password
129
- connection.basic_auth(username, password) if basic_auth
131
+ connection.request(:authorization, :basic, username, password) if basic_auth
130
132
  $lxca_log.info(header, 'Connection created Successfuly')
131
133
  connection
132
134
  end
@@ -1,3 +1,3 @@
1
1
  module XClarityClient
2
- VERSION = '0.6.9'.freeze
2
+ VERSION = '0.7.0'.freeze
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["mrao@lenovo.com","rbrown4@lenovo.com"]
11
11
 
12
12
  spec.summary = %q{Lenovo XClarity API Client}
13
- spec.homepage = "https://github.com/lenovo/xclarity_client"
13
+ spec.homepage = "https://github.com/ManageIQ/xclarity_client"
14
14
 
15
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
16
  spec.bindir = "exe"
@@ -23,9 +23,11 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "apib-mock_server", "~> 1.0.3"
24
24
  spec.add_development_dependency "webmock", "~> 2.1.0"
25
25
  spec.add_development_dependency "faker", "~> 1.8.3"
26
- spec.add_dependency "faraday", '>= 0.9', '< 2.0.0'
26
+ spec.add_dependency "faraday", "~> 2.0"
27
+ spec.add_dependency "faraday-httpclient", "~> 2.0"
28
+ spec.add_dependency "faraday-multipart", "~> 1.2"
27
29
  spec.add_dependency "faraday-cookie_jar", "~> 0.0.6"
28
- spec.add_dependency "httpclient", "~>2.8.3"
30
+ spec.add_dependency "httpclient", "~> 2.8"
29
31
  spec.add_dependency "uuid", "~> 2.3.8"
30
32
  spec.add_dependency "json-schema", "~> 2.8.0"
31
33
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xclarity_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manasa Rao
8
8
  - Rodney H. Brown
9
- autorequire:
10
9
  bindir: exe
11
10
  cert_chain: []
12
- date: 2022-02-15 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
@@ -99,22 +98,44 @@ dependencies:
99
98
  name: faraday
100
99
  requirement: !ruby/object:Gem::Requirement
101
100
  requirements:
102
- - - ">="
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
103
109
  - !ruby/object:Gem::Version
104
- version: '0.9'
105
- - - "<"
110
+ version: '2.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: faraday-httpclient
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
106
116
  - !ruby/object:Gem::Version
107
- version: 2.0.0
117
+ version: '2.0'
108
118
  type: :runtime
109
119
  prerelease: false
110
120
  version_requirements: !ruby/object:Gem::Requirement
111
121
  requirements:
112
- - - ">="
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '2.0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: faraday-multipart
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
113
130
  - !ruby/object:Gem::Version
114
- version: '0.9'
115
- - - "<"
131
+ version: '1.2'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
116
137
  - !ruby/object:Gem::Version
117
- version: 2.0.0
138
+ version: '1.2'
118
139
  - !ruby/object:Gem::Dependency
119
140
  name: faraday-cookie_jar
120
141
  requirement: !ruby/object:Gem::Requirement
@@ -135,14 +156,14 @@ dependencies:
135
156
  requirements:
136
157
  - - "~>"
137
158
  - !ruby/object:Gem::Version
138
- version: 2.8.3
159
+ version: '2.8'
139
160
  type: :runtime
140
161
  prerelease: false
141
162
  version_requirements: !ruby/object:Gem::Requirement
142
163
  requirements:
143
164
  - - "~>"
144
165
  - !ruby/object:Gem::Version
145
- version: 2.8.3
166
+ version: '2.8'
146
167
  - !ruby/object:Gem::Dependency
147
168
  name: uuid
148
169
  requirement: !ruby/object:Gem::Requirement
@@ -171,7 +192,6 @@ dependencies:
171
192
  - - "~>"
172
193
  - !ruby/object:Gem::Version
173
194
  version: 2.8.0
174
- description:
175
195
  email:
176
196
  - mrao@lenovo.com
177
197
  - rbrown4@lenovo.com
@@ -351,10 +371,9 @@ files:
351
371
  - lib/xclarity_client/version.rb
352
372
  - lib/xclarity_client/xclarity_credentials_validator.rb
353
373
  - xclarity_client.gemspec
354
- homepage: https://github.com/lenovo/xclarity_client
374
+ homepage: https://github.com/ManageIQ/xclarity_client
355
375
  licenses: []
356
376
  metadata: {}
357
- post_install_message:
358
377
  rdoc_options: []
359
378
  require_paths:
360
379
  - lib
@@ -369,8 +388,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
369
388
  - !ruby/object:Gem::Version
370
389
  version: '0'
371
390
  requirements: []
372
- rubygems_version: 3.1.2
373
- signing_key:
391
+ rubygems_version: 3.6.7
374
392
  specification_version: 4
375
393
  summary: Lenovo XClarity API Client
376
394
  test_files: []