manageiq-api-client 0.7.0 → 0.8.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 +4 -4
- data/.github/workflows/ci.yaml +2 -1
- data/CHANGELOG.md +10 -1
- data/Gemfile +2 -0
- data/lib/manageiq/api/client/identity.rb +2 -0
- data/lib/manageiq/api/client/product_info.rb +4 -2
- data/lib/manageiq/api/client/server_info.rb +6 -2
- data/lib/manageiq/api/client/version.rb +1 -1
- data/manageiq-api-client.gemspec +1 -1
- metadata +5 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 744148d0e81fdc1ba755bcdb33efabf4e5d9b0cdd2e5434426286ca7dd9a3bcc
|
|
4
|
+
data.tar.gz: 33bbc1d16ee742562aa7b7edba73a30fa237f0c4fe9930c23dc09bc28a7f2727
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e233afea2f115d4135c782e173251f3dd186deb185ad0f49546bc1dd93726d643729fc5e184ced39e29d986c5a8be2be9db7dccdbc59100a2fd9c49c059b7b8a
|
|
7
|
+
data.tar.gz: 5774a79d323a6069c23afef835b63a00b24f22713a9c2d36f480cf11f37fd503ebb5064fcff41208ae41f34c29c7f6a6805481ccc626e98ab863cb7f5a98e059
|
data/.github/workflows/ci.yaml
CHANGED
|
@@ -25,10 +25,11 @@ jobs:
|
|
|
25
25
|
rails-version:
|
|
26
26
|
- '7.2'
|
|
27
27
|
- '8.0'
|
|
28
|
+
- '8.1'
|
|
28
29
|
env:
|
|
29
30
|
TEST_RAILS_VERSION: "${{ matrix.rails-version }}"
|
|
30
31
|
steps:
|
|
31
|
-
- uses: actions/checkout@
|
|
32
|
+
- uses: actions/checkout@v7
|
|
32
33
|
- name: Set up Ruby
|
|
33
34
|
uses: ruby/setup-ruby@v1
|
|
34
35
|
with:
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.8.0] - 2026-07-15
|
|
10
|
+
### Added
|
|
11
|
+
- Add Rails 8.1 support [[#167]](https://github.com/ManageIQ/manageiq-api-client/pull/167)
|
|
12
|
+
- Add new attributes to `Identity`, `ProductInfo`, and `ServerInfo` from the base entrypoint response (`miq_groups`, `branding_info`, `authentication`, `release`, `time`, `enterprise_href`, `plugins`) [[#138]](https://github.com/ManageIQ/manageiq-api-client/pull/138)
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- Replace Automation Manager strings with Automation Provider [[#165]](https://github.com/ManageIQ/manageiq-api-client/pull/165)
|
|
16
|
+
|
|
9
17
|
## [0.7.0] - 2026-01-16
|
|
10
18
|
### Changed
|
|
11
19
|
- Add ruby/rails 3.4/8.0, drop EOL rubies/rails less than 3.2/7.2. [[#139]](https://github.com/ManageIQ/manageiq-api-client/pull/139)
|
|
@@ -87,7 +95,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
87
95
|
- Add CHANGELOG.md
|
|
88
96
|
- Update README with simple instructions reflecting the query interface.
|
|
89
97
|
|
|
90
|
-
[Unreleased]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.
|
|
98
|
+
[Unreleased]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.8.0...HEAD
|
|
99
|
+
[0.8.0]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.7.0...v0.8.0
|
|
91
100
|
[0.7.0]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.6.0...v0.7.0
|
|
92
101
|
[0.6.0]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.5.0...v0.6.0
|
|
93
102
|
[0.5.0]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.4.1...v0.5.0
|
data/Gemfile
CHANGED
|
@@ -11,6 +11,7 @@ module ManageIQ
|
|
|
11
11
|
attr_reader :role_href
|
|
12
12
|
attr_reader :tenant
|
|
13
13
|
attr_reader :groups
|
|
14
|
+
attr_reader :miq_groups
|
|
14
15
|
|
|
15
16
|
def initialize(identity_spec)
|
|
16
17
|
@userid = identity_spec["userid"]
|
|
@@ -22,6 +23,7 @@ module ManageIQ
|
|
|
22
23
|
@role_href = identity_spec["role_href"]
|
|
23
24
|
@tenant = identity_spec["tenant"]
|
|
24
25
|
@groups = identity_spec["groups"]
|
|
26
|
+
@miq_groups = identity_spec["miq_groups"]
|
|
25
27
|
end
|
|
26
28
|
end
|
|
27
29
|
end
|
|
@@ -7,10 +7,12 @@ module ManageIQ
|
|
|
7
7
|
attr_reader :copyright
|
|
8
8
|
attr_reader :support_website
|
|
9
9
|
attr_reader :support_website_text
|
|
10
|
+
attr_reader :branding_info
|
|
11
|
+
attr_reader :authentication
|
|
10
12
|
|
|
11
13
|
def initialize(product_info)
|
|
12
|
-
@name, @name_full, @copyright, @support_website, @support_website_text =
|
|
13
|
-
product_info.values_at("name", "name_full", "copyright", "support_website", "support_website_text")
|
|
14
|
+
@name, @name_full, @copyright, @support_website, @support_website_text, @branding_info, @authentication =
|
|
15
|
+
product_info.values_at("name", "name_full", "copyright", "support_website", "support_website_text", "branding_info", "authentication")
|
|
14
16
|
end
|
|
15
17
|
end
|
|
16
18
|
end
|
|
@@ -8,10 +8,14 @@ module ManageIQ
|
|
|
8
8
|
attr_reader :server_href
|
|
9
9
|
attr_reader :zone_href
|
|
10
10
|
attr_reader :region_href
|
|
11
|
+
attr_reader :release
|
|
12
|
+
attr_reader :time
|
|
13
|
+
attr_reader :enterprise_href
|
|
14
|
+
attr_reader :plugins
|
|
11
15
|
|
|
12
16
|
def initialize(server_info)
|
|
13
|
-
@version, @build, @appliance, @server_href, @zone_href, @region_href =
|
|
14
|
-
server_info.values_at("version", "build", "appliance", "server_href", "zone_href", "region_href")
|
|
17
|
+
@version, @build, @appliance, @server_href, @zone_href, @region_href, @release, @time, @enterprise_href, @plugins =
|
|
18
|
+
server_info.values_at("version", "build", "appliance", "server_href", "zone_href", "region_href", "release", "time", "enterprise_href", "plugins")
|
|
15
19
|
end
|
|
16
20
|
end
|
|
17
21
|
end
|
data/manageiq-api-client.gemspec
CHANGED
|
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
|
25
25
|
|
|
26
26
|
spec.required_ruby_version = '>= 3.2'
|
|
27
27
|
|
|
28
|
-
spec.add_dependency "activesupport", ">= 7.2", "<8.
|
|
28
|
+
spec.add_dependency "activesupport", ">= 7.2", "<8.2"
|
|
29
29
|
spec.add_dependency "faraday", ">= 1.0", "< 3.0"
|
|
30
30
|
spec.add_dependency "faraday-follow_redirects"
|
|
31
31
|
spec.add_dependency "json", "~> 2.3"
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: manageiq-api-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alberto Bellotti
|
|
8
8
|
- Jason Frey
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: exe
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: activesupport
|
|
@@ -20,7 +19,7 @@ dependencies:
|
|
|
20
19
|
version: '7.2'
|
|
21
20
|
- - "<"
|
|
22
21
|
- !ruby/object:Gem::Version
|
|
23
|
-
version: '8.
|
|
22
|
+
version: '8.2'
|
|
24
23
|
type: :runtime
|
|
25
24
|
prerelease: false
|
|
26
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -30,7 +29,7 @@ dependencies:
|
|
|
30
29
|
version: '7.2'
|
|
31
30
|
- - "<"
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '8.
|
|
32
|
+
version: '8.2'
|
|
34
33
|
- !ruby/object:Gem::Dependency
|
|
35
34
|
name: faraday
|
|
36
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -228,7 +227,6 @@ homepage: http://github.com/ManageIQ/manageiq-api-client
|
|
|
228
227
|
licenses:
|
|
229
228
|
- MIT
|
|
230
229
|
metadata: {}
|
|
231
|
-
post_install_message:
|
|
232
230
|
rdoc_options: []
|
|
233
231
|
require_paths:
|
|
234
232
|
- lib
|
|
@@ -243,8 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
243
241
|
- !ruby/object:Gem::Version
|
|
244
242
|
version: '0'
|
|
245
243
|
requirements: []
|
|
246
|
-
rubygems_version: 3.
|
|
247
|
-
signing_key:
|
|
244
|
+
rubygems_version: 3.6.9
|
|
248
245
|
specification_version: 4
|
|
249
246
|
summary: ManageIQ API Client
|
|
250
247
|
test_files: []
|