manageiq-api-client 0.6.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: 4d88e73d2514e155572b97745897b17079a1928a940594689d46be83e9ac627c
4
- data.tar.gz: b71650d13b819c6583d65b551e73d3567fb7073579dea3797ca3400348be7193
3
+ metadata.gz: '01885a21004688ffc9cdd2f506612336de37a7914b965808aba57c4685fbe231'
4
+ data.tar.gz: 1f3d289d848bdd5a2192cb64837b3a3f3a3769d3e2e146812c91b65a84e982b0
5
5
  SHA512:
6
- metadata.gz: a20a206b5d392b4215f16a306c199b789327fb8471d8e7283e6c8b4715d5edfd8fbe420ef6fcf9ef7645376e614f5a04590cab535832862b54e8c702616c068a
7
- data.tar.gz: c1b0a4910db51962290a3a24eb306678bc16cc3d79533ad1b1e7810f3c4e05eb2f1fc325f73b42521160379fa9b55d8e065760566de7347861d78b5660e8a889
6
+ metadata.gz: de763f59e8b87d551649e6835dc860dd2c7d0a2b8a6dc6f26d999693e50afa443539aa34aa86312325d96163a53366feaa352d5ab8b44ec0ae8930006c7b1fce
7
+ data.tar.gz: 10259f0a8ec4b37841ff3d29f18dcdb287d01131df8e74e677b995448a3c87bd87da7252463ba91d304db44a7087072831e4ab23d0e61a2824bb68abbfac5f17
@@ -1,42 +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'
17
22
  - '3.2'
18
23
  - '3.3'
24
+ - '3.4'
19
25
  rails-version:
20
- - '7.0'
21
- - '7.1'
22
26
  - '7.2'
23
- exclude:
24
- - ruby-version: '3.0'
25
- rails-version: '7.2'
27
+ - '8.0'
26
28
  env:
27
- TEST_RAILS_VERSION: ${{ matrix.rails-version }}
28
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
29
+ TEST_RAILS_VERSION: "${{ matrix.rails-version }}"
29
30
  steps:
30
- - uses: actions/checkout@v4
31
+ - uses: actions/checkout@v6
31
32
  - name: Set up Ruby
32
33
  uses: ruby/setup-ruby@v1
33
34
  with:
34
- ruby-version: ${{ matrix.ruby-version }}
35
+ ruby-version: "${{ matrix.ruby-version }}"
35
36
  bundler-cache: true
36
37
  timeout-minutes: 30
37
38
  - name: Run tests
38
39
  run: bundle exec rake
39
- - name: Report code coverage
40
- if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.1' && matrix.rails-version == '7.0' }}
41
- continue-on-error: true
42
- uses: paambaati/codeclimate-action@v9
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ 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
+
9
13
  ## [0.6.0] - 2025-01-03
10
14
  ### Changed
11
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)
@@ -83,7 +87,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
83
87
  - Add CHANGELOG.md
84
88
  - Update README with simple instructions reflecting the query interface.
85
89
 
86
- [Unreleased]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.6.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
87
92
  [0.6.0]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.5.0...v0.6.0
88
93
  [0.5.0]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.4.1...v0.5.0
89
94
  [0.4.1]: https://github.com/ManageIQ/manageiq-api-client/compare/v0.4.0...v0.4.1
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 "7.2"
13
- "~>7.2.1"
14
- when "7.1"
15
- "~>7.1.4"
12
+ when "8.0"
13
+ "~>8.0.4"
16
14
  else
17
- "~>7.0.8"
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.6.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,9 +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.required_ruby_version = '>= 3.0'
26
+ spec.required_ruby_version = '>= 3.2'
27
27
 
28
- spec.add_dependency "activesupport", ">= 7.0", "<8.0"
28
+ spec.add_dependency "activesupport", ">= 7.2", "<8.1"
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"
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.6.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: 2025-01-03 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: '7.0'
20
+ version: '7.2'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '8.0'
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: '7.0'
30
+ version: '7.2'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '8.0'
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,7 +236,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
238
236
  requirements:
239
237
  - - ">="
240
238
  - !ruby/object:Gem::Version
241
- version: '3.0'
239
+ version: '3.2'
242
240
  required_rubygems_version: !ruby/object:Gem::Requirement
243
241
  requirements:
244
242
  - - ">="
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"