rails-pg-extras 4.5.1 → 4.6.0

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: 01e21b5ec266f43a65743724925d94da40d0b1a07da0748ea33c0e37e324a0f3
4
- data.tar.gz: f1661f0407ad8b0ff8b53f12981d1d6e673d1a23d427634ccc951a37b3b2e236
3
+ metadata.gz: 3718024de2790e750e0b555aa2a334b66c920beb8d1de18555df8b2d15e2209b
4
+ data.tar.gz: eeac6153bef0230466124948000e84776e24f85a5ce69ae629412507a35bd00a
5
5
  SHA512:
6
- metadata.gz: ad13eed3eac2655d3956c1900bd3f29ead1ef26273e95ffcc44a71aaca8e6285668b71437a846ff4ba530bde2025638bbadc34c2d385ee16780d6de29eed3ab4
7
- data.tar.gz: 5869aae0dc086ce4faa365772d95db3da1340b2027ee27740f7ee502c18d26386e3ad767728364e3db6ddc5b29b1088bf744bfc5f7deadecf8737ca92fc9cf07
6
+ metadata.gz: 10ff9000abc094453b2ebb41047cf2f193de85f96e9a644e37dde9b9c3ba7e46da1970a3eebd9fb570b87620faa7abd7ab6b99a3e6ce50db6a4b14ed3ecaa77f
7
+ data.tar.gz: 58e3b84ac5fc4d34ce93a2582de33def79bd0556cd79cce096a181e4548bb74bf203693d7965c43f96b151fc1347dd02600056697766080e0b0e9e90a3a49fea
data/.circleci/config.yml CHANGED
@@ -2,30 +2,37 @@ version: 2
2
2
  jobs:
3
3
  test:
4
4
  docker:
5
- - image: circleci/ruby:2.6.5
5
+ - image: cimg/ruby:2.6.5
6
6
  environment:
7
7
  DATABASE_URL: postgresql://postgres:secret@localhost:5432/rails-pg-extras-test
8
- - image: circleci/postgres:11.5
8
+ - image: cimg/postgres:11.15
9
9
  command: postgres -c shared_preload_libraries=pg_stat_statements
10
10
  name: postgres11
11
11
  environment:
12
12
  POSTGRES_USER: postgres
13
13
  POSTGRES_DB: rails-pg-extras-test
14
14
  POSTGRES_PASSWORD: secret
15
- - image: circleci/postgres:12.7
15
+ - image: cimg/postgres:12.10
16
16
  command: postgres -c shared_preload_libraries=pg_stat_statements
17
17
  name: postgres12
18
18
  environment:
19
19
  POSTGRES_USER: postgres
20
20
  POSTGRES_DB: rails-pg-extras-test
21
21
  POSTGRES_PASSWORD: secret
22
- - image: circleci/postgres:13.3
22
+ - image: cimg/postgres:13.6
23
23
  command: postgres -c shared_preload_libraries=pg_stat_statements
24
24
  name: postgres13
25
25
  environment:
26
26
  POSTGRES_USER: postgres
27
27
  POSTGRES_DB: rails-pg-extras-test
28
28
  POSTGRES_PASSWORD: secret
29
+ - image: cimg/postgres:14.2
30
+ command: postgres -c shared_preload_libraries=pg_stat_statements
31
+ name: postgres14
32
+ environment:
33
+ POSTGRES_USER: postgres
34
+ POSTGRES_DB: rails-pg-extras-test
35
+ POSTGRES_PASSWORD: secret
29
36
  parallelism: 1
30
37
  steps:
31
38
  - checkout
@@ -51,6 +58,11 @@ jobs:
51
58
  environment:
52
59
  DATABASE_URL: postgresql://postgres:secret@postgres13:5432/rails-pg-extras-test
53
60
  command: bundle exec rspec spec/
61
+ - run:
62
+ name: Run specs for PG 14
63
+ environment:
64
+ DATABASE_URL: postgresql://postgres:secret@postgres14:5432/rails-pg-extras-test
65
+ command: bundle exec rspec spec/
54
66
  workflows:
55
67
  version: 2
56
68
  test:
data/Rakefile CHANGED
@@ -5,6 +5,6 @@ RSpec::Core::RakeTask.new(:spec)
5
5
 
6
6
  desc 'Test all PG versions'
7
7
  task :test_all do
8
- system("PG_VERSION=11 bundle exec rspec spec/ && PG_VERSION=12 bundle exec rspec spec/ && PG_VERSION=13 bundle exec rspec spec/")
8
+ system("PG_VERSION=11 bundle exec rspec spec/ && PG_VERSION=12 bundle exec rspec spec/ && PG_VERSION=13 bundle exec rspec spec/ && PG_VERSION=14 bundle exec rspec spec/")
9
9
  end
10
10
 
@@ -2,7 +2,7 @@ version: '3'
2
2
 
3
3
  services:
4
4
  postgres11:
5
- image: postgres:11.5-alpine
5
+ image: postgres:11.16-alpine
6
6
  command: postgres -c shared_preload_libraries=pg_stat_statements
7
7
  environment:
8
8
  POSTGRES_USER: postgres
@@ -11,7 +11,7 @@ services:
11
11
  ports:
12
12
  - '5432:5432'
13
13
  postgres12:
14
- image: postgres:12.7-alpine
14
+ image: postgres:12.11-alpine
15
15
  command: postgres -c shared_preload_libraries=pg_stat_statements
16
16
  environment:
17
17
  POSTGRES_USER: postgres
@@ -20,7 +20,7 @@ services:
20
20
  ports:
21
21
  - '5433:5432'
22
22
  postgres13:
23
- image: postgres:13.3-alpine
23
+ image: postgres:13.7-alpine
24
24
  command: postgres -c shared_preload_libraries=pg_stat_statements
25
25
  environment:
26
26
  POSTGRES_USER: postgres
@@ -28,3 +28,12 @@ services:
28
28
  POSTGRES_PASSWORD: secret
29
29
  ports:
30
30
  - '5434:5432'
31
+ postgres14:
32
+ image: postgres:14.3-alpine
33
+ command: postgres -c shared_preload_libraries=pg_stat_statements
34
+ environment:
35
+ POSTGRES_USER: postgres
36
+ POSTGRES_DB: rails-pg-extras-test
37
+ POSTGRES_PASSWORD: secret
38
+ ports:
39
+ - '5435:5432'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsPgExtras
4
- VERSION = "4.5.1"
4
+ VERSION = "4.6.0"
5
5
  end
data/spec/spec_helper.rb CHANGED
@@ -13,6 +13,8 @@ elsif pg_version == "12"
13
13
  "5433"
14
14
  elsif pg_version == "13"
15
15
  "5434"
16
+ elsif pg_version == "14"
17
+ "5435"
16
18
  else
17
19
  "5432"
18
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-pg-extras
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.1
4
+ version: 4.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-13 00:00:00.000000000 Z
11
+ date: 2022-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-pg-extras
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.5.1
19
+ version: 4.6.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.5.1
26
+ version: 4.6.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement