postgres-vacuum-monitor 0.3.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +7 -6
- data/Appraisals +5 -1
- data/CHANGELOG.md +3 -0
- data/README.md +4 -0
- data/gemfiles/activerecord_5.gemfile +7 -0
- data/gemfiles/activerecord_6.gemfile +7 -0
- data/lib/postgres/vacuum/monitor/version.rb +1 -1
- data/postgres-vacuum-monitor.gemspec +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3185d7bfa19acb621c7c7f67c3239fa51f2dc1cc0e654ff71f2c708f6b082923
|
4
|
+
data.tar.gz: b78ffb48ba844d46d6dce24d2cf0fdb55f83805e17bdc7e5b6ede159666dfa1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd4e24cbb07c4b38f91fd16a0e0f9026ced4d6584d93ee25c6d8ab9a5249948ed0f75301b42568bb0c8d441ba356aa33fad372ed4def3e586255eee5e82fa035
|
7
|
+
data.tar.gz: 8c154e6ad4867024f2676caa1aa467fceeba3c715c817264fac63c810ad1535aaf006733af304e395c96ea4cf6d7bc4bc2f88b6d81cdc67f45cc50663da36ebc
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.
|
4
|
-
- 2.
|
3
|
+
- 2.5.6
|
4
|
+
- 2.6.3
|
5
|
+
gemfile:
|
6
|
+
- gemfiles/activerecord_5.gemfile
|
7
|
+
- gemfiles/activerecord_6.gemfile
|
5
8
|
services:
|
6
|
-
|
7
|
-
|
9
|
+
- postgresql
|
8
10
|
before_script:
|
9
|
-
|
10
|
-
|
11
|
+
- psql -c 'create database postgres_vacuum_monitor_test;' -U postgres
|
11
12
|
addons:
|
12
13
|
postgresql: '9.6'
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -67,6 +67,10 @@ For auto vacuum the attributes are the following:
|
|
67
67
|
}
|
68
68
|
```
|
69
69
|
|
70
|
+
## Testing
|
71
|
+
|
72
|
+
To run the rspec tests, you need to create a DB called `postgres_vacuum_monitor_test`.
|
73
|
+
|
70
74
|
## New relic queries
|
71
75
|
|
72
76
|
I use [New relic](https://rpm.newrelic.com) and use the following NRQL to create dashboards:
|
@@ -30,6 +30,6 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_development_dependency 'rspec', '~> 3.2'
|
31
31
|
spec.add_development_dependency 'salsify_rubocop'
|
32
32
|
|
33
|
-
spec.add_dependency 'activerecord', '>= 5', '<
|
33
|
+
spec.add_dependency 'activerecord', '>= 5', '< 6.1'
|
34
34
|
spec.add_dependency 'pg', '>= 0.18', '< 2.0'
|
35
35
|
end
|
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.4.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: 2019-09-
|
11
|
+
date: 2019-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -117,7 +117,7 @@ dependencies:
|
|
117
117
|
version: '5'
|
118
118
|
- - "<"
|
119
119
|
- !ruby/object:Gem::Version
|
120
|
-
version: '
|
120
|
+
version: '6.1'
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
123
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -127,7 +127,7 @@ dependencies:
|
|
127
127
|
version: '5'
|
128
128
|
- - "<"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
130
|
+
version: '6.1'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: pg
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,6 +169,8 @@ files:
|
|
169
169
|
- Rakefile
|
170
170
|
- bin/console
|
171
171
|
- bin/setup
|
172
|
+
- gemfiles/activerecord_5.gemfile
|
173
|
+
- gemfiles/activerecord_6.gemfile
|
172
174
|
- lib/postgres/vacuum/configuration.rb
|
173
175
|
- lib/postgres/vacuum/jobs/monitor_job.rb
|
174
176
|
- lib/postgres/vacuum/monitor.rb
|