manageiq-postgres_ha_admin 3.1.3 → 3.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b4c03cda17ed0475dbc8fbe5bf68aa11704047da6067bf40e33fc41a1945a9f
4
- data.tar.gz: 63db9fd31ea8a59e9a8967afc36d75fe9419c79a7e8f3b75964e47fd0c3cb20c
3
+ metadata.gz: 302246b3dedf536233f20df1c381932adbbe7c85366e400dd3678eda57f8ebf4
4
+ data.tar.gz: cfc4aee15059200a0dddd56dea7a6f4563b89b24742682dd1c10b66e26bd9ac5
5
5
  SHA512:
6
- metadata.gz: 9d3b92acf8ec4e2266543b610985a5bdd8c4d69d322f92c05dd3dc0d52cb14e536f1abb78c91b2fd0ca337fe045b5f5c3b0af2fb9aec8cfe26746e792e474679
7
- data.tar.gz: 03e0ccd79e54f83d6cec84c387aa3eeb547b4a6b8fe59fef03fa704f335447a47ec73da245aef2ad84bc6aacda3bfb0e8fea7e99b6db4834a87732f0b0fd863f
6
+ metadata.gz: 3169f9907e9b75c426dfea5908945921e82ef27a68769427ae556ab703d683ca0a5b4887d7206526417acdee0f908a1660ddbc90717d18ff09fabd873b8b5b6b
7
+ data.tar.gz: 15766ce8377afa98450b7928d46dc790fb2a9f874760914fa929583d4951bae18288c1ff3b5dff7e75d07247723c17e0db87d71703fb22f7103db0d7e573b875
@@ -0,0 +1,48 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ pull_request:
6
+ schedule:
7
+ - cron: '0 0 * * 0'
8
+
9
+ jobs:
10
+ ci:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ ruby-version:
15
+ - '2.5'
16
+ - '2.6'
17
+ - '2.7'
18
+ - '3.0'
19
+ rails-version:
20
+ - '6.0'
21
+ - '6.1'
22
+ services:
23
+ postgres:
24
+ image: manageiq/postgresql:10
25
+ env:
26
+ POSTGRESQL_USER: root
27
+ POSTGRESQL_PASSWORD: smartvm
28
+ POSTGRESQL_DATABASE: vmdb_test
29
+ options: --health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5
30
+ ports:
31
+ - 5432:5432
32
+ env:
33
+ PGHOST: localhost
34
+ TEST_RAILS_VERSION: ${{ matrix.rails-version }}
35
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
36
+ steps:
37
+ - uses: actions/checkout@v2
38
+ - name: Set up Ruby
39
+ uses: ruby/setup-ruby@v1
40
+ with:
41
+ ruby-version: ${{ matrix.ruby-version }}
42
+ bundler-cache: true
43
+ - name: Run tests
44
+ run: bundle exec rake
45
+ - name: Report code coverage
46
+ if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' && matrix.rails-version == '6.1' }}
47
+ continue-on-error: true
48
+ uses: paambaati/codeclimate-action@v3.0.0
data/.rspec CHANGED
@@ -1,4 +1,3 @@
1
1
  --require spec_helper
2
2
  --color
3
3
  --order random
4
- --format documentation
data/.whitesource ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "settingsInheritedFrom": "ManageIQ/whitesource-config@master"
3
+ }
data/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [Unreleased]
7
+
8
+ ## [3.1.4] - 2022-04-30
9
+ ### Changed
10
+ - Loosed rails dependency to include rails 6.1
11
+ - Support Ruby 3.0
12
+
6
13
  ## [3.1.3] - 2021-09-27
7
14
 
8
15
  ### Changed
@@ -45,7 +52,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
45
52
  ### Changed
46
53
  - Make changes for upgrading repmgr to version 4 [#4](https://github.com/ManageIQ/manageiq-postgres_ha_admin/pull/4)
47
54
 
48
- [Unreleased]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.1.2...master
55
+ [Unreleased]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.1.4...master
56
+ [3.1.4]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.1.3...v3.1.4
57
+ [3.1.3]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.1.2...v3.1.3
49
58
  [3.1.2]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.1.1...v3.1.2
50
59
  [3.1.1]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.1.0...v3.1.1
51
60
  [3.1.0]: https://github.com/ManageIQ/manageiq-postgres_ha_admin/compare/v3.0.1...v3.1.0
data/CODEOWNERS CHANGED
@@ -1 +1 @@
1
- * @carbonin
1
+ * @Fryguy
data/Gemfile CHANGED
@@ -2,3 +2,10 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in manageiq-postgres_ha_admin.gemspec
4
4
  gemspec
5
+
6
+ case ENV['TEST_RAILS_VERSION']
7
+ when "6.0"
8
+ gem "activesupport", "~>6.0.4"
9
+ when "6.1"
10
+ gem "activesupport", "~>6.1.4"
11
+ end
data/README.md CHANGED
@@ -1,10 +1,9 @@
1
1
  # ManageIQ::PostgresHaAdmin
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
- [![Build Status](https://travis-ci.org/ManageIQ/manageiq-postgres_ha_admin.svg)](https://travis-ci.org/ManageIQ/manageiq-postgres_ha_admin)
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
5
  [![Code Climate](https://codeclimate.com/github/ManageIQ/manageiq-postgres_ha_admin.svg)](https://codeclimate.com/github/ManageIQ/manageiq-postgres_ha_admin)
6
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
- [![Security](https://hakiri.io/github/ManageIQ/manageiq-postgres_ha_admin/master.svg)](https://hakiri.io/github/ManageIQ/manageiq-postgres_ha_admin/master)
8
7
 
9
8
  [![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)
10
9
 
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module PostgresHaAdmin
3
- VERSION = '3.1.3'.freeze
3
+ VERSION = '3.1.4'.freeze
4
4
  end
5
5
  end
@@ -16,22 +16,26 @@ Gem::Specification.new do |spec|
16
16
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
17
  f.match(%r{^(test|spec|features)/})
18
18
  end
19
+ spec.metadata = {
20
+ "changelog_uri" => "https://github.com/ManageIQ/manageiq-postgres_ha_admin/blob/master/CHANGELOG.md",
21
+ "source_code_uri" => "https://github.com/ManageIQ/manageiq-postgres_ha_admin/",
22
+ "bug_tracker_uri" => "https://github.com/ManageIQ/manageiq-postgres_ha_admin/issues"
23
+ }
19
24
  spec.bindir = "bin"
20
25
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
21
26
  spec.require_paths = ["lib"]
22
27
 
23
28
  spec.required_ruby_version = ">= 2.5.8"
24
29
 
25
- spec.add_runtime_dependency "activesupport", ">=5.0", "< 6.1"
30
+ spec.add_runtime_dependency "activesupport", ">=5.0", "< 7.0"
26
31
  spec.add_runtime_dependency "awesome_spawn", "~> 1.4"
27
32
  spec.add_runtime_dependency "manageiq-password", "< 2"
28
33
  spec.add_runtime_dependency "pg"
29
34
  spec.add_runtime_dependency "pg-dsn_parser", "~> 0.1"
30
35
 
31
36
  spec.add_development_dependency "bundler"
32
- spec.add_development_dependency "codeclimate-test-reporter", "~> 1.0.0"
33
37
  spec.add_development_dependency "manageiq-style"
34
38
  spec.add_development_dependency "rake"
35
- spec.add_development_dependency "rspec", "~> 3.0"
36
- spec.add_development_dependency "simplecov"
39
+ spec.add_development_dependency "rspec", "~> 3.0"
40
+ spec.add_development_dependency "simplecov", ">= 0.21.2"
37
41
  end
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.1.3
4
+ version: 3.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-27 00:00:00.000000000 Z
11
+ date: 2022-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.1'
22
+ version: '7.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.1'
32
+ version: '7.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: awesome_spawn
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -100,20 +100,6 @@ dependencies:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
- - !ruby/object:Gem::Dependency
104
- name: codeclimate-test-reporter
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: 1.0.0
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: 1.0.0
117
103
  - !ruby/object:Gem::Dependency
118
104
  name: manageiq-style
119
105
  requirement: !ruby/object:Gem::Requirement
@@ -162,14 +148,14 @@ dependencies:
162
148
  requirements:
163
149
  - - ">="
164
150
  - !ruby/object:Gem::Version
165
- version: '0'
151
+ version: 0.21.2
166
152
  type: :development
167
153
  prerelease: false
168
154
  version_requirements: !ruby/object:Gem::Requirement
169
155
  requirements:
170
156
  - - ">="
171
157
  - !ruby/object:Gem::Version
172
- version: '0'
158
+ version: 0.21.2
173
159
  description: ManageIQ Postgres H.A. Admin
174
160
  email:
175
161
  executables: []
@@ -177,13 +163,14 @@ extensions: []
177
163
  extra_rdoc_files: []
178
164
  files:
179
165
  - ".codeclimate.yml"
166
+ - ".github/workflows/ci.yaml"
180
167
  - ".gitignore"
181
168
  - ".rspec"
182
169
  - ".rspec_ci"
183
170
  - ".rubocop.yml"
184
171
  - ".rubocop_cc.yml"
185
172
  - ".rubocop_local.yml"
186
- - ".travis.yml"
173
+ - ".whitesource"
187
174
  - CHANGELOG.md
188
175
  - CODEOWNERS
189
176
  - Gemfile
@@ -204,7 +191,10 @@ files:
204
191
  homepage: https://github.com/ManageIQ/manageiq-postgres_ha_admin
205
192
  licenses:
206
193
  - Apache-2.0
207
- metadata: {}
194
+ metadata:
195
+ changelog_uri: https://github.com/ManageIQ/manageiq-postgres_ha_admin/blob/master/CHANGELOG.md
196
+ source_code_uri: https://github.com/ManageIQ/manageiq-postgres_ha_admin/
197
+ bug_tracker_uri: https://github.com/ManageIQ/manageiq-postgres_ha_admin/issues
208
198
  post_install_message:
209
199
  rdoc_options: []
210
200
  require_paths:
@@ -220,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
210
  - !ruby/object:Gem::Version
221
211
  version: '0'
222
212
  requirements: []
223
- rubygems_version: 3.2.22
213
+ rubygems_version: 3.3.5
224
214
  signing_key:
225
215
  specification_version: 4
226
216
  summary: ManageIQ Postgres H.A. Admin
data/.travis.yml DELETED
@@ -1,15 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.5.8
4
- - 2.6.6
5
- - 2.7.2
6
- - 3.0.0
7
- cache: bundler
8
- env:
9
- global:
10
- - RUBY_GC_HEAP_GROWTH_MAX_SLOTS=300000
11
- - RUBY_GC_HEAP_INIT_SLOTS=600000
12
- - RUBY_GC_HEAP_GROWTH_FACTOR=1.25
13
- addons:
14
- postgresql: '10'
15
- after_script: bundle exec codeclimate-test-reporter