postgres-vacuum-monitor 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +23 -8
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/lib/postgres/vacuum/monitor/version.rb +1 -1
- data/postgres-vacuum-monitor.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 051751c519eaf2a606c61100ba6916430f0d6a92d3384cbad4cbfe8613102dfb
|
4
|
+
data.tar.gz: db7156a7e59e39301473d9484a10a2d8a36ec91e3e137335c33eb5ed60677a72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fca74a9c6b9a9a25548cd9d4b88c1488af26fb497cb2e9abed173f237fe96842334f35fb9b94d00f8cefc7e774a4b8affa0cdc2f4232247c55d3b88bb624acc
|
7
|
+
data.tar.gz: 0fc2ee2b4a0698d77cbc502d4f0c33b59e8c01755d0d64bd59b6f5e2693cbf3b9a25fac41f403db53398e72297b4a679918671c221e3bb52f775b4254c577c75
|
data/.circleci/config.yml
CHANGED
@@ -2,14 +2,14 @@ version: 2.1
|
|
2
2
|
jobs:
|
3
3
|
lint:
|
4
4
|
docker:
|
5
|
-
- image: salsify/ruby_ci:2.
|
5
|
+
- image: salsify/ruby_ci:2.7.2
|
6
6
|
working_directory: ~/postgres-vacuum-monitor
|
7
7
|
steps:
|
8
8
|
- checkout
|
9
9
|
- restore_cache:
|
10
10
|
keys:
|
11
|
-
- v1-gems-ruby-2.
|
12
|
-
- v1-gems-ruby-2.
|
11
|
+
- v1-gems-ruby-2.7.2-{{ checksum "postgres-vacuum-monitor.gemspec" }}-{{ checksum "Gemfile" }}
|
12
|
+
- v1-gems-ruby-2.7.2-
|
13
13
|
- run:
|
14
14
|
name: Install Gems
|
15
15
|
command: |
|
@@ -18,7 +18,7 @@ jobs:
|
|
18
18
|
bundle clean
|
19
19
|
fi
|
20
20
|
- save_cache:
|
21
|
-
key: v1-gems-ruby-2.
|
21
|
+
key: v1-gems-ruby-2.7.2-{{ checksum "postgres-vacuum-monitor.gemspec" }}-{{ checksum "Gemfile" }}
|
22
22
|
paths:
|
23
23
|
- "vendor/bundle"
|
24
24
|
- "gemfiles/vendor/bundle"
|
@@ -29,8 +29,10 @@ jobs:
|
|
29
29
|
parameters:
|
30
30
|
gemfile:
|
31
31
|
type: string
|
32
|
+
ruby_version:
|
33
|
+
type: string
|
32
34
|
docker:
|
33
|
-
- image: salsify/ruby_ci
|
35
|
+
- image: salsify/ruby_ci:<< parameters.ruby_version >>
|
34
36
|
environment:
|
35
37
|
TEST_DATABASE_URL: postgresql://circleci@localhost/circle_test
|
36
38
|
- image: circleci/postgres:9.6
|
@@ -50,8 +52,8 @@ jobs:
|
|
50
52
|
- checkout
|
51
53
|
- restore_cache:
|
52
54
|
keys:
|
53
|
-
- v1-gems-ruby
|
54
|
-
- v1-gems-ruby
|
55
|
+
- v1-gems-ruby-<< parameters.ruby_version >>-{{ checksum "postgres-vacuum-monitor.gemspec" }}-{{ checksum "<< parameters.gemfile >>" }}
|
56
|
+
- v1-gems-ruby-<< parameters.ruby_version >>-
|
55
57
|
- run:
|
56
58
|
name: Install Gems
|
57
59
|
command: |
|
@@ -60,10 +62,16 @@ jobs:
|
|
60
62
|
bundle clean
|
61
63
|
fi
|
62
64
|
- save_cache:
|
63
|
-
key: v1-gems-ruby
|
65
|
+
key: v1-gems-ruby-<< parameters.ruby_version >>-{{ checksum "postgres-vacuum-monitor.gemspec" }}-{{ checksum "<< parameters.gemfile >>" }}
|
64
66
|
paths:
|
65
67
|
- "vendor/bundle"
|
66
68
|
- "gemfiles/vendor/bundle"
|
69
|
+
- run:
|
70
|
+
name: Wait for Database
|
71
|
+
command: dockerize -wait tcp://localhost:5432 -timeout 60s
|
72
|
+
- run:
|
73
|
+
name: Wait for Database User
|
74
|
+
command: t=30; for i in `seq $t`; do psql -h localhost -p 5432 -U ubuntu -d postgres_vacuum_monitor_test -c '\q' && break; [ $i -eq $t ] && return 2; sleep 1; done;
|
67
75
|
- run:
|
68
76
|
name: Run Tests
|
69
77
|
command: |
|
@@ -81,3 +89,10 @@ workflows:
|
|
81
89
|
- "gemfiles/activerecord_5_2.gemfile"
|
82
90
|
- "gemfiles/activerecord_6_0.gemfile"
|
83
91
|
- "gemfiles/activerecord_6_1.gemfile"
|
92
|
+
ruby_version:
|
93
|
+
- "2.6.6"
|
94
|
+
- "2.7.2"
|
95
|
+
- "3.0.0"
|
96
|
+
exclude:
|
97
|
+
- gemfile: "gemfiles/activerecord_5_2.gemfile"
|
98
|
+
ruby_version: "3.0.0"
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[![Build Status](https://circleci.com/gh/salsify/postgres-vacuum-monitor.svg?style=svg)]
|
1
|
+
[![Build Status](https://circleci.com/gh/salsify/postgres-vacuum-monitor.svg?style=svg)](https://circleci.com/gh/salsify/postgres-vacuum-monitor)
|
2
2
|
[![Maintainability](https://api.codeclimate.com/v1/badges/9ced178ca8fee231a935/maintainability)](https://codeclimate.com/github/salsify/postgres-vacuum-monitor/maintainability)
|
3
3
|
[![Coverage Status](https://coveralls.io/repos/github/salsify/postgres-vacuum-monitor/badge.svg?branch=master)](https://coveralls.io/github/salsify/postgres-vacuum-monitor?branch=master)
|
4
4
|
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
|
24
|
-
spec.required_ruby_version = '>= 2.
|
24
|
+
spec.required_ruby_version = '>= 2.6.0'
|
25
25
|
|
26
26
|
spec.add_development_dependency 'appraisal'
|
27
27
|
spec.add_development_dependency 'bundler'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: postgres-vacuum-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fernando Garces
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -198,14 +198,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
198
198
|
requirements:
|
199
199
|
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 2.
|
201
|
+
version: 2.6.0
|
202
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
203
|
requirements:
|
204
204
|
- - ">="
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: '0'
|
207
207
|
requirements: []
|
208
|
-
rubygems_version: 3.1.
|
208
|
+
rubygems_version: 3.1.4
|
209
209
|
signing_key:
|
210
210
|
specification_version: 4
|
211
211
|
summary: Simple stats collector for postgres auto vacuumer.
|