manageiq-postgres_ha_admin 3.3.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: 6f7b943098fa2b607f670d3505cc3aa1996eb66bd592466083256bd73a74c850
4
- data.tar.gz: 39a22f1501b7174790e419aec205d8ccf2197d15cf075c5b4080b88f36ab2fe4
3
+ metadata.gz: a92f05e8bb7e3f1f6d4a978cff715352a26439226f7512ba1a77dfd4aaa3d597
4
+ data.tar.gz: 1e1fec8d11a3e6441bb9bfe6d16208475a39361306b02859ce476acc55b5b770
5
5
  SHA512:
6
- metadata.gz: 73d0bce84c88772e4eff29c11439bb76de2a957cfebe16e2318f9f5ea99ea215fb741aec241a7f81b3a83acfff469a7fd366a9da648f561785e4b015d866872b
7
- data.tar.gz: 7bf2436cc0d06dbd2a28a0b25a02d250fe0b922ffcb9003e00916e3308cb6201979321d9d71fc517eb1f89837155d33dd3f50bdb0d61ee9aceec1af2173d0780
6
+ metadata.gz: 9f90285be7c8be7ff1b4b55b4ba87ae2fecc5f8124d6e4688864f6c0502b8585f102422bfd75555c643f84cd724587da5b4576d22fa4c07794c7d55e59050baa
7
+ data.tar.gz: 047bb5eaafc50ac820952c7653cb06910d0e06a8a00934e579bcc12d20bdb65606b8aa006e87131a7c1a08fa83071610102c5aadcc3f979cc6b03857445b8970
@@ -1,24 +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
- - '2.7'
16
- - '3.0'
17
- - '3.1'
22
+ - '3.2'
23
+ - '3.3'
18
24
  rails-version:
19
- - '6.0'
20
- - '6.1'
21
- - '7.0'
25
+ - '7.2'
26
+ - '8.0'
22
27
  services:
23
28
  postgres:
24
29
  image: manageiq/postgresql:13
@@ -26,24 +31,19 @@ jobs:
26
31
  POSTGRESQL_USER: root
27
32
  POSTGRESQL_PASSWORD: smartvm
28
33
  POSTGRESQL_DATABASE: vmdb_test
29
- 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"
30
35
  ports:
31
36
  - 5432:5432
32
37
  env:
33
38
  PGHOST: localhost
34
- TEST_RAILS_VERSION: ${{ matrix.rails-version }}
35
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
39
+ TEST_RAILS_VERSION: "${{ matrix.rails-version }}"
36
40
  steps:
37
- - uses: actions/checkout@v4
41
+ - uses: actions/checkout@v6
38
42
  - name: Set up Ruby
39
43
  uses: ruby/setup-ruby@v1
40
44
  with:
41
- ruby-version: ${{ matrix.ruby-version }}
45
+ ruby-version: "${{ matrix.ruby-version }}"
42
46
  bundler-cache: true
43
47
  timeout-minutes: 30
44
48
  - name: Run tests
45
49
  run: bundle exec rake
46
- - name: Report code coverage
47
- if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' && matrix.rails-version == '6.1' }}
48
- continue-on-error: true
49
- uses: paambaati/codeclimate-action@v6
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 "6.0"
9
- "~>6.0.4"
10
- when "7.0"
11
- "~>7.0.8"
8
+ when "8.0"
9
+ "~>8.0.4"
12
10
  else
13
- "~>6.1.4"
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.3.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 = ">= 2.5.8"
28
+ spec.required_ruby_version = ">= 3.2"
29
29
 
30
- spec.add_runtime_dependency "activesupport", ">=5.0", "<7.1"
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.3.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: 2024-05-14 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: '5.0'
19
+ version: 7.2.3
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.1'
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: '5.0'
29
+ version: 7.2.3
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.1'
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,14 +201,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
201
  requirements:
204
202
  - - ">="
205
203
  - !ruby/object:Gem::Version
206
- version: 2.5.8
204
+ version: '3.2'
207
205
  required_rubygems_version: !ruby/object:Gem::Requirement
208
206
  requirements:
209
207
  - - ">="
210
208
  - !ruby/object:Gem::Version
211
209
  version: '0'
212
210
  requirements: []
213
- rubygems_version: 3.3.27
211
+ rubygems_version: 3.5.22
214
212
  signing_key:
215
213
  specification_version: 4
216
214
  summary: ManageIQ Postgres H.A. Admin
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"