manageiq-api-client 0.5.0 → 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: 6403e45890ae054ae7a12596ab68ad0dbe0e03861f2e700fd5079c5af9d69529
4
- data.tar.gz: 7cbe8890af71641ea6ec6b6b8374b719bc425b79eec850161f43d32ca544c1d4
3
+ metadata.gz: '01885a21004688ffc9cdd2f506612336de37a7914b965808aba57c4685fbe231'
4
+ data.tar.gz: 1f3d289d848bdd5a2192cb64837b3a3f3a3769d3e2e146812c91b65a84e982b0
5
5
  SHA512:
6
- metadata.gz: d61707917158f04f8d4ac00c3cf46c1d6e89c8b75b74a8a9ab8536c1df6f9c54f5430ecf416e8e2b9062d4b79452d22536824185acdc5feedc65772c2c239135
7
- data.tar.gz: 8476cecd2949d77e0d2809e124f513f36fa612cf6fff5715ed6f398176f8bd8dd4e36ce196f4f4994e5f9196475e4dcc98e5744bcbd03e2fc71b07e339b10b5f
6
+ metadata.gz: de763f59e8b87d551649e6835dc860dd2c7d0a2b8a6dc6f26d999693e50afa443539aa34aa86312325d96163a53366feaa352d5ab8b44ec0ae8930006c7b1fce
7
+ data.tar.gz: 10259f0a8ec4b37841ff3d29f18dcdb287d01131df8e74e677b995448a3c87bd87da7252463ba91d304db44a7087072831e4ab23d0e61a2824bb68abbfac5f17
@@ -1,37 +1,39 @@
1
1
  name: CI
2
-
3
2
  on:
4
- push:
5
3
  pull_request:
4
+ push:
5
+ branches-ignore:
6
+ - dependabot/*
7
+ - renovate/*
6
8
  schedule:
7
- - cron: '0 0 * * 0'
8
-
9
+ - cron: 0 0 * * 0
10
+ workflow_dispatch:
11
+ concurrency:
12
+ group: "${{ github.workflow }}-${{ github.ref }}"
13
+ cancel-in-progress: true
14
+ permissions:
15
+ contents: read
9
16
  jobs:
10
17
  ci:
11
18
  runs-on: ubuntu-latest
12
19
  strategy:
13
20
  matrix:
14
21
  ruby-version:
15
- - '3.0'
16
- - '3.1'
22
+ - '3.2'
23
+ - '3.3'
24
+ - '3.4'
17
25
  rails-version:
18
- - '6.0'
19
- - '6.1'
20
- - '7.0'
26
+ - '7.2'
27
+ - '8.0'
21
28
  env:
22
- TEST_RAILS_VERSION: ${{ matrix.rails-version }}
23
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
29
+ TEST_RAILS_VERSION: "${{ matrix.rails-version }}"
24
30
  steps:
25
- - uses: actions/checkout@v4
31
+ - uses: actions/checkout@v6
26
32
  - name: Set up Ruby
27
33
  uses: ruby/setup-ruby@v1
28
34
  with:
29
- ruby-version: ${{ matrix.ruby-version }}
35
+ ruby-version: "${{ matrix.ruby-version }}"
30
36
  bundler-cache: true
31
37
  timeout-minutes: 30
32
38
  - name: Run tests
33
39
  run: bundle exec rake
34
- - name: Report code coverage
35
- if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' && matrix.rails-version == '6.1' }}
36
- continue-on-error: true
37
- uses: paambaati/codeclimate-action@v6
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.7.0] - 2026-01-16
10
+ ### Changed
11
+ - 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)
12
+
13
+ ## [0.6.0] - 2025-01-03
14
+ ### Changed
15
+ - Add rails 7.1 support, drop rails 6.0-6.1 and rubies less than 3.0. [[#129]](https://github.com/ManageIQ/manageiq-api-client/pull/129)
16
+
9
17
  ## [0.5.0] - 2024-05-13
10
18
  ### Changed
11
19
  - Support faraday 1.0 and 2.0 [[#124]](https://github.com/ManageIQ/manageiq-api-client/pull/124)
@@ -79,7 +87,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
79
87
  - Add CHANGELOG.md
80
88
  - Update README with simple instructions reflecting the query interface.
81
89
 
82
- [Unreleased]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.5.0...HEAD
90
+ [Unreleased]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.7.0...HEAD
91
+ [0.7.0]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.6.0...v0.7.0
92
+ [0.6.0]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.5.0...v0.6.0
83
93
  [0.5.0]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.4.1...v0.5.0
84
94
  [0.4.1]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.4.0...v0.4.1
85
95
  [0.4.0]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.3.7...v0.4.0
data/Gemfile CHANGED
@@ -9,12 +9,10 @@ eval_gemfile(dev_gemfile) if File.exist?(dev_gemfile)
9
9
 
10
10
  minimum_version =
11
11
  case ENV['TEST_RAILS_VERSION']
12
- when "6.0"
13
- "~>6.0.4"
14
- when "7.0"
15
- "~>7.0.8"
12
+ when "8.0"
13
+ "~>8.0.4"
16
14
  else
17
- "~>6.1.4"
15
+ "~>7.2.3"
18
16
  end
19
17
 
20
18
  gem "activesupport", minimum_version
data/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/manageiq-api-client.svg)](http://badge.fury.io/rb/manageiq-api-client)
4
4
  [![CI](https://github.com/ManageIQ/manageiq-api-client/actions/workflows/ci.yaml/badge.svg)](https://github.com/ManageIQ/manageiq-api-client/actions/workflows/ci.yaml)
5
- [![Code Climate](https://codeclimate.com/github/ManageIQ/manageiq-api-client.svg)](https://codeclimate.com/github/ManageIQ/manageiq-api-client)
6
- [![Test Coverage](https://codeclimate.com/github/ManageIQ/manageiq-api-client/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/manageiq-api-client/coverage)
7
5
 
8
6
  This gem provides Ruby access to the ManageIQ API by exposing the ManageIQ
9
7
  collections, resources and related actions as Ruby objects and equivalent methods.
@@ -1,7 +1,7 @@
1
1
  module ManageIQ
2
2
  module API
3
3
  class Client
4
- VERSION = "0.5.0".freeze
4
+ VERSION = "0.7.0".freeze
5
5
  end
6
6
  end
7
7
  end
@@ -1,3 +1,4 @@
1
+ require "logger" # Require logger due to active_support breaking on Rails <= 7.0. See https://github.com/rails/rails/pull/54264
1
2
  require "active_support"
2
3
  require "active_support/core_ext"
3
4
  require "faraday"
@@ -23,7 +23,9 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_dependency "activesupport", ">= 6.0", "<7.1"
26
+ spec.required_ruby_version = '>= 3.2'
27
+
28
+ spec.add_dependency "activesupport", ">= 7.2", "<8.1"
27
29
  spec.add_dependency "faraday", ">= 1.0", "< 3.0"
28
30
  spec.add_dependency "faraday-follow_redirects"
29
31
  spec.add_dependency "json", "~> 2.3"
data/renovate.json CHANGED
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
- "extends": [
4
- "config:recommended"
5
- ]
3
+ "inheritConfig": true,
4
+ "inheritConfigRepoName": "manageiq/renovate-config"
6
5
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alberto Bellotti
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-05-13 00:00:00.000000000 Z
12
+ date: 2026-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -17,20 +17,20 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '6.0'
20
+ version: '7.2'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '7.1'
23
+ version: '8.1'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: '6.0'
30
+ version: '7.2'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '7.1'
33
+ version: '8.1'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: faraday
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -187,12 +187,10 @@ executables: []
187
187
  extensions: []
188
188
  extra_rdoc_files: []
189
189
  files:
190
- - ".codeclimate.yml"
191
190
  - ".github/workflows/ci.yaml"
192
191
  - ".gitignore"
193
192
  - ".rspec"
194
193
  - ".rubocop.yml"
195
- - ".rubocop_cc.yml"
196
194
  - ".rubocop_local.yml"
197
195
  - ".whitesource"
198
196
  - CHANGELOG.md
@@ -238,14 +236,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
238
236
  requirements:
239
237
  - - ">="
240
238
  - !ruby/object:Gem::Version
241
- version: '0'
239
+ version: '3.2'
242
240
  required_rubygems_version: !ruby/object:Gem::Requirement
243
241
  requirements:
244
242
  - - ">="
245
243
  - !ruby/object:Gem::Version
246
244
  version: '0'
247
245
  requirements: []
248
- rubygems_version: 3.3.27
246
+ rubygems_version: 3.5.22
249
247
  signing_key:
250
248
  specification_version: 4
251
249
  summary: ManageIQ API Client
data/.codeclimate.yml DELETED
@@ -1,16 +0,0 @@
1
- prepare:
2
- fetch:
3
- - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_base.yml
4
- path: ".rubocop_base.yml"
5
- - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_cc_base.yml
6
- path: ".rubocop_cc_base.yml"
7
- - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/base.yml
8
- path: styles/base.yml
9
- - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/cc_base.yml
10
- path: styles/cc_base.yml
11
- plugins:
12
- rubocop:
13
- enabled: true
14
- config: ".rubocop_cc.yml"
15
- channel: rubocop-1-56-3
16
- version: '2'
data/.rubocop_cc.yml DELETED
@@ -1,4 +0,0 @@
1
- inherit_from:
2
- - ".rubocop_base.yml"
3
- - ".rubocop_cc_base.yml"
4
- - ".rubocop_local.yml"