postgres-vacuum-monitor 0.13.1 → 0.14.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: '082c2f8346ce9818ec9d1d1ba966a555c9a0a9704bba9feb8741edeb607c4c07'
4
- data.tar.gz: 4440a8332d14afbf101a9a60f952c675b0b33d9a05aecea5032dcb9239452312
3
+ metadata.gz: fa5987b6534f0504554d74b699db6001d0919bba496b46fbe7a712e25d8d257d
4
+ data.tar.gz: f97d1c6a3104cc40abcd4444cc7fd5565a0bd827d6bbd7bc2230b85215cf3051
5
5
  SHA512:
6
- metadata.gz: 9995a564229b3ab86783208f918d6fc8e81f549fb6a4a48101badf6d2910c56166de583582ce527683dde9c936b5da731ac4ec5687beb6d7055fe52d958f1383
7
- data.tar.gz: 2b3b73d7f5958d7f1309cb8b0e0ff1318538b7ac94fc3df8bc1c2d4e9006e70291f45db36f2e39f7151603ab803694fe0ca286a8a7c1dfc6f5fd7b9b056c3990
6
+ metadata.gz: 1ae788d220bf1be85f7428ef18b2f5a0dd648bbf10f5992b4171eabfe01305100fc6d3d97eb418bb0df98cdc27da1947c8fb920a6a0f1cdfb59e9369e74541a3
7
+ data.tar.gz: 2f910c389a12130a9a8b4b99ebe0b4731e3191c826f89fcab2c10cd1fab35a025390c15d31fb9886649fe22900dfd0904ae07542292ac8400a89aa9c108da1fa
data/.circleci/config.yml CHANGED
@@ -1,15 +1,22 @@
1
+ # YAML Anchors
2
+ aws-auth: &aws-auth
3
+ aws_auth:
4
+ aws_access_key_id: $ECR_AWS_ACCESS_KEY_ID
5
+ aws_secret_access_key: $ECR_AWS_SECRET_ACCESS_KEY
6
+
1
7
  version: 2.1
2
8
  jobs:
3
9
  lint:
4
10
  docker:
5
- - image: salsify/ruby_ci:2.7.7
11
+ - image: $SALSIFY_ECR_REPO/ruby_ci:3.0.6
12
+ <<: *aws-auth
6
13
  working_directory: ~/postgres-vacuum-monitor
7
14
  steps:
8
15
  - checkout
9
16
  - restore_cache:
10
17
  keys:
11
- - v1-gems-ruby-2.7.7-{{ checksum "postgres-vacuum-monitor.gemspec" }}-{{ checksum "Gemfile" }}
12
- - v1-gems-ruby-2.7.7-
18
+ - v1-gems-ruby-3.0.6-{{ checksum "postgres-vacuum-monitor.gemspec" }}-{{ checksum "Gemfile" }}
19
+ - v1-gems-ruby-3.0.6-
13
20
  - run:
14
21
  name: Install Gems
15
22
  command: |
@@ -18,7 +25,7 @@ jobs:
18
25
  bundle clean
19
26
  fi
20
27
  - save_cache:
21
- key: v1-gems-ruby-2.7.7-{{ checksum "postgres-vacuum-monitor.gemspec" }}-{{ checksum "Gemfile" }}
28
+ key: v1-gems-ruby-3.0.6-{{ checksum "postgres-vacuum-monitor.gemspec" }}-{{ checksum "Gemfile" }}
22
29
  paths:
23
30
  - "vendor/bundle"
24
31
  - "gemfiles/vendor/bundle"
@@ -34,7 +41,8 @@ jobs:
34
41
  postgres_version:
35
42
  type: string
36
43
  docker:
37
- - image: salsify/ruby_ci:<< parameters.ruby_version >>
44
+ - image: $SALSIFY_ECR_REPO/ruby_ci:<< parameters.ruby_version >>
45
+ <<: *aws-auth
38
46
  - image: cimg/postgres:<< parameters.postgres_version >>
39
47
  environment:
40
48
  POSTGRES_USER: "circleci"
@@ -81,19 +89,19 @@ jobs:
81
89
  workflows:
82
90
  build:
83
91
  jobs:
84
- - lint
92
+ - lint:
93
+ context: Salsify
85
94
  - test:
95
+ context: Salsify
86
96
  matrix:
87
97
  parameters:
88
98
  gemfile:
89
- - "gemfiles/activerecord_6_0.gemfile"
90
99
  - "gemfiles/activerecord_6_1.gemfile"
91
100
  - "gemfiles/activerecord_7_0.gemfile"
92
101
  ruby_version:
93
- - "2.7.7"
94
- - "3.0.5"
95
- - "3.1.3"
96
- - "3.2.0"
102
+ - "3.0.6"
103
+ - "3.1.4"
104
+ - "3.2.2"
97
105
  postgres_version:
98
106
  - "12.9"
99
107
  - "14.7"
data/.rubocop.yml CHANGED
@@ -2,7 +2,7 @@ inherit_gem:
2
2
  salsify_rubocop: conf/rubocop_rails.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.7
5
+ TargetRubyVersion: 3.0
6
6
  Exclude:
7
7
  - 'vendor/**/*'
8
8
  - 'gemfiles/**/*'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # postgres-vacuum-monitor
2
2
 
3
+ ## v0.14.0
4
+ - Drop support for ruby < 3.0 and Rails < 6.1
5
+
3
6
  ## v0.13.1
4
7
  - Fix epoch reporting in Postgres 14
5
8
 
@@ -3,7 +3,7 @@
3
3
  module Postgres
4
4
  module Vacuum
5
5
  module Monitor
6
- VERSION = '0.13.1'
6
+ VERSION = '0.14.0'
7
7
  end
8
8
  end
9
9
  end
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
29
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ['lib']
31
31
 
32
- spec.required_ruby_version = '>= 2.7'
32
+ spec.required_ruby_version = '>= 3.0'
33
33
 
34
34
  spec.add_development_dependency 'appraisal'
35
35
  spec.add_development_dependency 'bundler'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postgres-vacuum-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Garces
@@ -208,7 +208,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
208
  requirements:
209
209
  - - ">="
210
210
  - !ruby/object:Gem::Version
211
- version: '2.7'
211
+ version: '3.0'
212
212
  required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - ">="