manageiq-postgres_ha_admin 3.4.0 → 3.6.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 +17 -20
- data/CHANGELOG.md +16 -1
- data/Gemfile +5 -5
- data/README.md +0 -2
- data/lib/manageiq/postgres_ha_admin/version.rb +1 -1
- data/manageiq-postgres_ha_admin.gemspec +2 -2
- data/renovate.json +2 -3
- metadata +8 -14
- data/.codeclimate.yml +0 -43
- data/.rubocop_cc.yml +0 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7cf745130f3e868edfd281b1e7cbf85add332316d9581fa0ba61be2cf8fda080
|
|
4
|
+
data.tar.gz: cd1d03c20deaabae284e0e2cc012de14b23a0601a4a94f0a1748df193cf7df60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ad92dff5e5494c2c2970e0d03086b4f3ab14eb34faa333df4bf54e0b33c88986548581cdb1e09811f7c0e0f2b85d760cfe2eeddf0e32b08d8852727dbe23e7c
|
|
7
|
+
data.tar.gz: 981bfbe04ddd57b1b6d98c26d5f700fc55e2363ece648cd77c8ddfe536582ffa01408c338d9836e3de982726194b0beab9d9c389fd12721473747146b51be67f
|
data/.github/workflows/ci.yaml
CHANGED
|
@@ -1,28 +1,30 @@
|
|
|
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:
|
|
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
|
-
|
|
24
|
-
-
|
|
25
|
-
rails-version: '7.2'
|
|
26
|
+
- '8.0'
|
|
27
|
+
- '8.1'
|
|
26
28
|
services:
|
|
27
29
|
postgres:
|
|
28
30
|
image: manageiq/postgresql:13
|
|
@@ -30,24 +32,19 @@ jobs:
|
|
|
30
32
|
POSTGRESQL_USER: root
|
|
31
33
|
POSTGRESQL_PASSWORD: smartvm
|
|
32
34
|
POSTGRESQL_DATABASE: vmdb_test
|
|
33
|
-
options: --health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5
|
|
35
|
+
options: "--health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5"
|
|
34
36
|
ports:
|
|
35
37
|
- 5432:5432
|
|
36
38
|
env:
|
|
37
39
|
PGHOST: localhost
|
|
38
|
-
TEST_RAILS_VERSION: ${{ matrix.rails-version }}
|
|
39
|
-
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
40
|
+
TEST_RAILS_VERSION: "${{ matrix.rails-version }}"
|
|
40
41
|
steps:
|
|
41
|
-
- uses: actions/checkout@
|
|
42
|
+
- uses: actions/checkout@v7
|
|
42
43
|
- name: Set up Ruby
|
|
43
44
|
uses: ruby/setup-ruby@v1
|
|
44
45
|
with:
|
|
45
|
-
ruby-version: ${{ matrix.ruby-version }}
|
|
46
|
+
ruby-version: "${{ matrix.ruby-version }}"
|
|
46
47
|
bundler-cache: true
|
|
47
48
|
timeout-minutes: 30
|
|
48
49
|
- name: Run tests
|
|
49
50
|
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,18 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [3.6.0] - 2025-07-14
|
|
9
|
+
### Added
|
|
10
|
+
- Rails 8.1 support [#82](https://github.com/ManageIQ/manageiq-postgres_ha_admin/pull/82)
|
|
11
|
+
|
|
12
|
+
## [3.5.0] - 2025-12-12
|
|
13
|
+
### Added
|
|
14
|
+
- Rails 8.0 support
|
|
15
|
+
|
|
16
|
+
## [3.4.0] - 2025-01-03
|
|
17
|
+
### Added
|
|
18
|
+
- Rails 7.1/7.2 support [#50](https://github.com/ManageIQ/manageiq-postgres_ha_admin/pull/50)
|
|
19
|
+
|
|
8
20
|
## [3.3.0] - 2024-05-14
|
|
9
21
|
### Added
|
|
10
22
|
- Rails 7 support [#43](https://github.com/ManageIQ/manageiq-postgres_ha_admin/pull/43)
|
|
@@ -69,7 +81,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
69
81
|
### Changed
|
|
70
82
|
- Make changes for upgrading repmgr to version 4 [#4](https://github.com/ManageIQ/manageiq-postgres_ha_admin/pull/4)
|
|
71
83
|
|
|
72
|
-
[Unreleased]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.
|
|
84
|
+
[Unreleased]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.6.0...master
|
|
85
|
+
[3.6.0]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.5.0...v3.6.0
|
|
86
|
+
[3.5.0]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.4.0...v3.5.0
|
|
87
|
+
[3.4.0]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.3.0...v3.4.0
|
|
73
88
|
[3.3.0]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.2.1...v3.3.0
|
|
74
89
|
[3.2.1]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.2.0...v3.2.1
|
|
75
90
|
[3.2.0]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.1.4...v3.2.0
|
data/Gemfile
CHANGED
|
@@ -5,12 +5,12 @@ gemspec
|
|
|
5
5
|
|
|
6
6
|
minimum_version =
|
|
7
7
|
case ENV['TEST_RAILS_VERSION']
|
|
8
|
-
when "
|
|
9
|
-
"~>
|
|
10
|
-
when "
|
|
11
|
-
"~>
|
|
8
|
+
when "8.1"
|
|
9
|
+
"~>8.1.3"
|
|
10
|
+
when "8.0"
|
|
11
|
+
"~>8.0.4"
|
|
12
12
|
else
|
|
13
|
-
"~>7.
|
|
13
|
+
"~>7.2.3"
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
gem "activesupport", minimum_version
|
data/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/manageiq-postgres_ha_admin)
|
|
4
4
|
[](https://github.com/ManageIQ/manageiq-postgres_ha_admin/actions/workflows/ci.yaml)
|
|
5
|
-
[](https://codeclimate.com/github/ManageIQ/manageiq-postgres_ha_admin)
|
|
6
|
-
[](https://codeclimate.com/github/ManageIQ/manageiq-postgres_ha_admin/coverage)
|
|
7
5
|
|
|
8
6
|
[](https://gitter.im/ManageIQ/manageiq-postgres_ha_admin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
|
9
7
|
|
|
@@ -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.
|
|
28
|
+
spec.required_ruby_version = ">= 3.2"
|
|
29
29
|
|
|
30
|
-
spec.add_runtime_dependency "activesupport", ">=7.
|
|
30
|
+
spec.add_runtime_dependency "activesupport", ">=7.2.3", "<8.2"
|
|
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
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: manageiq-postgres_ha_admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ManageIQ Developers
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: activesupport
|
|
@@ -16,20 +15,20 @@ dependencies:
|
|
|
16
15
|
requirements:
|
|
17
16
|
- - ">="
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 7.
|
|
18
|
+
version: 7.2.3
|
|
20
19
|
- - "<"
|
|
21
20
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: '8.
|
|
21
|
+
version: '8.2'
|
|
23
22
|
type: :runtime
|
|
24
23
|
prerelease: false
|
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
25
|
requirements:
|
|
27
26
|
- - ">="
|
|
28
27
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 7.
|
|
28
|
+
version: 7.2.3
|
|
30
29
|
- - "<"
|
|
31
30
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: '8.
|
|
31
|
+
version: '8.2'
|
|
33
32
|
- !ruby/object:Gem::Dependency
|
|
34
33
|
name: awesome_spawn
|
|
35
34
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -157,18 +156,15 @@ dependencies:
|
|
|
157
156
|
- !ruby/object:Gem::Version
|
|
158
157
|
version: 0.21.2
|
|
159
158
|
description: ManageIQ Postgres H.A. Admin
|
|
160
|
-
email:
|
|
161
159
|
executables: []
|
|
162
160
|
extensions: []
|
|
163
161
|
extra_rdoc_files: []
|
|
164
162
|
files:
|
|
165
|
-
- ".codeclimate.yml"
|
|
166
163
|
- ".github/workflows/ci.yaml"
|
|
167
164
|
- ".gitignore"
|
|
168
165
|
- ".rspec"
|
|
169
166
|
- ".rspec_ci"
|
|
170
167
|
- ".rubocop.yml"
|
|
171
|
-
- ".rubocop_cc.yml"
|
|
172
168
|
- ".rubocop_local.yml"
|
|
173
169
|
- ".whitesource"
|
|
174
170
|
- CHANGELOG.md
|
|
@@ -195,7 +191,6 @@ metadata:
|
|
|
195
191
|
changelog_uri: https://github.com/ManageIQ/manageiq-postgres_ha_admin/blob/master/CHANGELOG.md
|
|
196
192
|
source_code_uri: https://github.com/ManageIQ/manageiq-postgres_ha_admin/
|
|
197
193
|
bug_tracker_uri: https://github.com/ManageIQ/manageiq-postgres_ha_admin/issues
|
|
198
|
-
post_install_message:
|
|
199
194
|
rdoc_options: []
|
|
200
195
|
require_paths:
|
|
201
196
|
- lib
|
|
@@ -203,15 +198,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
203
198
|
requirements:
|
|
204
199
|
- - ">="
|
|
205
200
|
- !ruby/object:Gem::Version
|
|
206
|
-
version: '3.
|
|
201
|
+
version: '3.2'
|
|
207
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
203
|
requirements:
|
|
209
204
|
- - ">="
|
|
210
205
|
- !ruby/object:Gem::Version
|
|
211
206
|
version: '0'
|
|
212
207
|
requirements: []
|
|
213
|
-
rubygems_version: 3.
|
|
214
|
-
signing_key:
|
|
208
|
+
rubygems_version: 3.6.9
|
|
215
209
|
specification_version: 4
|
|
216
210
|
summary: ManageIQ Postgres H.A. Admin
|
|
217
211
|
test_files: []
|
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