manageiq-postgres_ha_admin 3.4.0 → 3.5.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: ac820ccd939c6f20a88c93da2383f88aa5a93048d0bc6273f222000ac81cfef2
4
- data.tar.gz: 99c1583f21d76b2977e338ad2a596951c253b09ef108d3358c3e15eec5502605
3
+ metadata.gz: a92f05e8bb7e3f1f6d4a978cff715352a26439226f7512ba1a77dfd4aaa3d597
4
+ data.tar.gz: 1e1fec8d11a3e6441bb9bfe6d16208475a39361306b02859ce476acc55b5b770
5
5
  SHA512:
6
- metadata.gz: 2b6fbd0abce36c151826b78f30d90ff40c1d84d1c2b4c94497cba1b56d0eaf1211be87ad82e570eaac0c3ec37df573c408fa56244ec665b2beea16c40cc1b1a4
7
- data.tar.gz: 6ea0614f4e62c0f91113bd1a731597a017bad425a133f25f99a789c9fe776b4f3ab26de09b1e4a4343738e3fc8160d59255209bea083a30ccbd76c80ae879bb3
6
+ metadata.gz: 9f90285be7c8be7ff1b4b55b4ba87ae2fecc5f8124d6e4688864f6c0502b8585f102422bfd75555c643f84cd724587da5b4576d22fa4c07794c7d55e59050baa
7
+ data.tar.gz: 047bb5eaafc50ac820952c7653cb06910d0e06a8a00934e579bcc12d20bdb65606b8aa006e87131a7c1a08fa83071610102c5aadcc3f979cc6b03857445b8970
@@ -1,28 +1,29 @@
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'
19
24
  rails-version:
20
- - '7.0'
21
- - '7.1'
22
25
  - '7.2'
23
- exclude:
24
- - ruby-version: '3.0'
25
- rails-version: '7.2'
26
+ - '8.0'
26
27
  services:
27
28
  postgres:
28
29
  image: manageiq/postgresql:13
@@ -30,24 +31,19 @@ jobs:
30
31
  POSTGRESQL_USER: root
31
32
  POSTGRESQL_PASSWORD: smartvm
32
33
  POSTGRESQL_DATABASE: vmdb_test
33
- options: --health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5
34
+ options: "--health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5"
34
35
  ports:
35
36
  - 5432:5432
36
37
  env:
37
38
  PGHOST: localhost
38
- TEST_RAILS_VERSION: ${{ matrix.rails-version }}
39
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
39
+ TEST_RAILS_VERSION: "${{ matrix.rails-version }}"
40
40
  steps:
41
- - uses: actions/checkout@v4
41
+ - uses: actions/checkout@v6
42
42
  - name: Set up Ruby
43
43
  uses: ruby/setup-ruby@v1
44
44
  with:
45
- ruby-version: ${{ matrix.ruby-version }}
45
+ ruby-version: "${{ matrix.ruby-version }}"
46
46
  bundler-cache: true
47
47
  timeout-minutes: 30
48
48
  - name: Run tests
49
49
  run: bundle exec rake
50
- - name: Report code coverage
51
- if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.1' && matrix.rails-version == '7.0' }}
52
- continue-on-error: true
53
- uses: paambaati/codeclimate-action@v9
data/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [3.5.0] - 2025-12-12
9
+ ### Added
10
+ - Rails 8.0 support
11
+
12
+ ## [3.4.0] - 2025-01-03
13
+ ### Added
14
+ - Rails 7.1/7.2 support [#50](https://github.com/ManageIQ/manageiq-postgres_ha_admin/pull/50)
15
+
8
16
  ## [3.3.0] - 2024-05-14
9
17
  ### Added
10
18
  - Rails 7 support [#43](https://github.com/ManageIQ/manageiq-postgres_ha_admin/pull/43)
@@ -69,7 +77,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
69
77
  ### Changed
70
78
  - Make changes for upgrading repmgr to version 4 [#4](https://github.com/ManageIQ/manageiq-postgres_ha_admin/pull/4)
71
79
 
72
- [Unreleased]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.3.0...master
80
+ [Unreleased]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.5.0...master
81
+ [3.5.0]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.4.0...v3.5.0
82
+ [3.4.0]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.3.0...v3.4.0
73
83
  [3.3.0]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.2.1...v3.3.0
74
84
  [3.2.1]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.2.0...v3.2.1
75
85
  [3.2.0]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.1.4...v3.2.0
data/Gemfile CHANGED
@@ -5,12 +5,10 @@ gemspec
5
5
 
6
6
  minimum_version =
7
7
  case ENV['TEST_RAILS_VERSION']
8
- when "7.2"
9
- "~>7.2.1"
10
- when "7.1"
11
- "~>7.1.4"
8
+ when "8.0"
9
+ "~>8.0.4"
12
10
  else
13
- "~>7.0.8"
11
+ "~>7.2.3"
14
12
  end
15
13
 
16
14
  gem "activesupport", minimum_version
data/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/manageiq-postgres_ha_admin.svg)](http://badge.fury.io/rb/manageiq-postgres_ha_admin)
4
4
  [![CI](https://github.com/ManageIQ/manageiq-postgres_ha_admin/actions/workflows/ci.yaml/badge.svg)](https://github.com/ManageIQ/manageiq-postgres_ha_admin/actions/workflows/ci.yaml)
5
- [![Code Climate](https://codeclimate.com/github/ManageIQ/manageiq-postgres_ha_admin.svg)](https://codeclimate.com/github/ManageIQ/manageiq-postgres_ha_admin)
6
- [![Test Coverage](https://codeclimate.com/github/ManageIQ/manageiq-postgres_ha_admin/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/manageiq-postgres_ha_admin/coverage)
7
5
 
8
6
  [![Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ManageIQ/manageiq-postgres_ha_admin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
9
7
 
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module PostgresHaAdmin
3
- VERSION = '3.4.0'.freeze
3
+ VERSION = '3.5.0'.freeze
4
4
  end
5
5
  end
@@ -25,9 +25,9 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ["lib"]
27
27
 
28
- spec.required_ruby_version = ">= 3.0"
28
+ spec.required_ruby_version = ">= 3.2"
29
29
 
30
- spec.add_runtime_dependency "activesupport", ">=7.0.8", "<8.0"
30
+ spec.add_runtime_dependency "activesupport", ">=7.2.3", "<8.1"
31
31
  spec.add_runtime_dependency "awesome_spawn", "~> 1.4"
32
32
  spec.add_runtime_dependency "manageiq-password", "< 2"
33
33
  spec.add_runtime_dependency "pg"
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-postgres_ha_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-03 00:00:00.000000000 Z
11
+ date: 2025-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.8
19
+ version: 7.2.3
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '8.0'
22
+ version: '8.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 7.0.8
29
+ version: 7.2.3
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '8.0'
32
+ version: '8.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: awesome_spawn
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -162,13 +162,11 @@ executables: []
162
162
  extensions: []
163
163
  extra_rdoc_files: []
164
164
  files:
165
- - ".codeclimate.yml"
166
165
  - ".github/workflows/ci.yaml"
167
166
  - ".gitignore"
168
167
  - ".rspec"
169
168
  - ".rspec_ci"
170
169
  - ".rubocop.yml"
171
- - ".rubocop_cc.yml"
172
170
  - ".rubocop_local.yml"
173
171
  - ".whitesource"
174
172
  - CHANGELOG.md
@@ -203,7 +201,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
201
  requirements:
204
202
  - - ">="
205
203
  - !ruby/object:Gem::Version
206
- version: '3.0'
204
+ version: '3.2'
207
205
  required_rubygems_version: !ruby/object:Gem::Requirement
208
206
  requirements:
209
207
  - - ">="
data/.codeclimate.yml DELETED
@@ -1,43 +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
- brakeman:
17
- enabled: false
18
- bundler-audit:
19
- enabled: false
20
- csslint:
21
- enabled: false
22
- duplication:
23
- enabled: true
24
- config:
25
- languages:
26
- - ruby
27
- - javascript
28
- eslint:
29
- enabled: false
30
- channel: eslint-3
31
- fixme:
32
- enabled: false
33
- markdownlint:
34
- enabled: false
35
- exclude_patterns:
36
- - ".git/"
37
- - "**.xml"
38
- - "**.yaml"
39
- - "**.yml"
40
- - locale/
41
- - spec/
42
- - tools/
43
- 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"