rails-pg-extras 5.4.0 → 5.4.2

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: 61f5b6a2a631c8d8099b67c1c28334cbc3ce64dddd53e3977877265362a04d71
4
- data.tar.gz: ec8b4100e944153f9be8ddb8d9286441bf449f3262392129615dd0df28212a0c
3
+ metadata.gz: 6bf3096a74a0e544c948b0bd87b0737767176adbcd544a1f95084a51aa299fa8
4
+ data.tar.gz: c4bca053351fd916cc3956fe0f7c0427d6420147fb02fb7caaa6c0f6c29b9f9e
5
5
  SHA512:
6
- metadata.gz: af548830ba4e66131a55a093bbc14f23907c0b9ad6335322ce6d20dedf76872f05cc40afa00eef996943044e9cc0b0b93a869b2859011e1729eb9b63f1cff311
7
- data.tar.gz: 2bcf26a2ad56ff96715a15abd276d990a312e8d1d7d643c45f315ae8629e987534f91bc18be82d9cefe7e6b08eab4fb631046dec2c38987e5ed524d5c5a77ab7
6
+ metadata.gz: cad5dab9dc11afc7d59448340dbc959381ea492865217ac7d6389eb8b9defd0057dd3e2c85c70bdd068f75fd597fabe45f43282e024a7ce5fb49b356268d572b
7
+ data.tar.gz: 1cb6e91225df7fb043cba343071c60f477fbc77ec4e9271a93e59acf18df08ad1b1aa8552cb8eb6d722605cf75bfc374499de118d9644b8e4cb9356620d97b1c
@@ -12,45 +12,52 @@ jobs:
12
12
  strategy:
13
13
  fail-fast: false
14
14
  matrix:
15
- ruby-version: ['3.2', '3.1', '3.0', '2.7', '2.6']
15
+ ruby-version: ['3.3', '3.2', '3.1', '3.0', '2.7', '2.6']
16
16
  steps:
17
- - uses: actions/checkout@v3
18
- - name: Run PostgreSQL 11
17
+ - uses: actions/checkout@v4
18
+ - name: Run PostgreSQL 12
19
19
  run: |
20
20
  docker run --env POSTGRES_USER=postgres \
21
21
  --env POSTGRES_DB=rails-pg-extras-test \
22
22
  --env POSTGRES_PASSWORD=secret \
23
- -d -p 5432:5432 postgres:11.18-alpine \
23
+ -d -p 5432:5432 postgres:12.20-alpine \
24
24
  postgres -c shared_preload_libraries=pg_stat_statements
25
- - name: Run PostgreSQL 12
25
+ - name: Run PostgreSQL 13
26
26
  run: |
27
27
  docker run --env POSTGRES_USER=postgres \
28
28
  --env POSTGRES_DB=rails-pg-extras-test \
29
29
  --env POSTGRES_PASSWORD=secret \
30
- -d -p 5433:5432 postgres:12.13-alpine \
30
+ -d -p 5433:5432 postgres:13.16-alpine \
31
31
  postgres -c shared_preload_libraries=pg_stat_statements
32
- - name: Run PostgreSQL 13
32
+ - name: Run PostgreSQL 14
33
33
  run: |
34
34
  docker run --env POSTGRES_USER=postgres \
35
35
  --env POSTGRES_DB=rails-pg-extras-test \
36
36
  --env POSTGRES_PASSWORD=secret \
37
- -d -p 5434:5432 postgres:13.9-alpine \
37
+ -d -p 5434:5432 postgres:14.13-alpine \
38
38
  postgres -c shared_preload_libraries=pg_stat_statements
39
- - name: Run PostgreSQL 14
39
+ - name: Run PostgreSQL 15
40
40
  run: |
41
41
  docker run --env POSTGRES_USER=postgres \
42
42
  --env POSTGRES_DB=rails-pg-extras-test \
43
43
  --env POSTGRES_PASSWORD=secret \
44
- -d -p 5435:5432 postgres:14.6-alpine \
44
+ -d -p 5435:5432 postgres:15.8-alpine \
45
45
  postgres -c shared_preload_libraries=pg_stat_statements
46
- - name: Run PostgreSQL 15
46
+ - name: Run PostgreSQL 16
47
+ run: |
48
+ docker run --env POSTGRES_USER=postgres \
49
+ --env POSTGRES_DB=rails-pg-extras-test \
50
+ --env POSTGRES_PASSWORD=secret \
51
+ -d -p 5436:5432 postgres:16.4-alpine \
52
+ postgres -c shared_preload_libraries=pg_stat_statements
53
+ - name: Run PostgreSQL 17
47
54
  run: |
48
55
  docker run --env POSTGRES_USER=postgres \
49
56
  --env POSTGRES_DB=rails-pg-extras-test \
50
57
  --env POSTGRES_PASSWORD=secret \
51
- -d -p 5436:5432 postgres:15.1-alpine \
58
+ -d -p 5437:5432 postgres:17.0-alpine \
52
59
  postgres -c shared_preload_libraries=pg_stat_statements
53
- sleep 15
60
+ sleep 5
54
61
  - name: Set up Ruby ${{ matrix.ruby-version }}
55
62
  uses: ruby/setup-ruby@v1
56
63
  with:
@@ -64,64 +71,34 @@ jobs:
64
71
  bundle config set --local path 'vendor/bundle'
65
72
  bundle install
66
73
  sleep 10
67
- - name: Run tests for PG 11
68
- env:
69
- PG_VERSION: 11
70
- POSTGRES_HOST: localhost
71
- POSTGRES_USER: postgres
72
- POSTGRES_DB: rails-pg-extras-test
73
- POSTGRES_PASSWORD: secret
74
- DATABASE_URL: postgresql://postgres:secret@localhost:5432/rails-pg-extras-test
75
- run: |
76
- bundle exec rspec spec/
77
- - name: Run tests for PG 11
78
- env:
79
- PG_VERSION: 11
80
- POSTGRES_HOST: localhost
81
- POSTGRES_USER: postgres
82
- POSTGRES_DB: rails-pg-extras-test
83
- POSTGRES_PASSWORD: secret
84
- DATABASE_URL: postgresql://postgres:secret@localhost:5432/rails-pg-extras-test
85
- run: |
86
- bundle exec rspec spec/
87
74
  - name: Run tests for PG 12
88
75
  env:
89
76
  PG_VERSION: 12
90
- POSTGRES_HOST: localhost
91
- POSTGRES_USER: postgres
92
- POSTGRES_DB: rails-pg-extras-test
93
- POSTGRES_PASSWORD: secret
94
- DATABASE_URL: postgresql://postgres:secret@localhost:5433/rails-pg-extras-test
95
77
  run: |
96
78
  bundle exec rspec spec/
97
79
  - name: Run tests for PG 13
98
80
  env:
99
81
  PG_VERSION: 13
100
- POSTGRES_HOST: localhost
101
- POSTGRES_USER: postgres
102
- POSTGRES_DB: rails-pg-extras-test
103
- POSTGRES_PASSWORD: secret
104
- DATABASE_URL: postgresql://postgres:secret@localhost:5434/rails-pg-extras-test
105
82
  run: |
106
83
  bundle exec rspec spec/
107
84
  - name: Run tests for PG 14
108
85
  env:
109
86
  PG_VERSION: 14
110
- POSTGRES_HOST: localhost
111
- POSTGRES_USER: postgres
112
- POSTGRES_DB: rails-pg-extras-test
113
- POSTGRES_PASSWORD: secret
114
- DATABASE_URL: postgresql://postgres:secret@localhost:5435/rails-pg-extras-test
115
87
  run: |
116
88
  bundle exec rspec spec/
117
89
  - name: Run tests for PG 15
118
90
  env:
119
91
  PG_VERSION: 15
120
- POSTGRES_HOST: localhost
121
- POSTGRES_USER: postgres
122
- POSTGRES_DB: rails-pg-extras-test
123
- POSTGRES_PASSWORD: secret
124
- DATABASE_URL: postgresql://postgres:secret@localhost:5436/rails-pg-extras-test
92
+ run: |
93
+ bundle exec rspec spec/
94
+ - name: Run tests for PG 16
95
+ env:
96
+ PG_VERSION: 16
97
+ run: |
98
+ bundle exec rspec spec/
99
+ - name: Run tests for PG 17
100
+ env:
101
+ PG_VERSION: 17
125
102
  run: |
126
103
  bundle exec rspec spec/
127
104
 
data/Rakefile CHANGED
@@ -5,5 +5,5 @@ 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/ && PG_VERSION=14 bundle exec rspec spec/")
8
+ system("PG_VERSION=12 bundle exec rspec spec/ && PG_VERSION=13 bundle exec rspec spec/ && PG_VERSION=14 bundle exec rspec spec/ && PG_VERSION=15 bundle exec rspec spec/ && PG_VERSION=16 bundle exec rspec spec/ && PG_VERSION=17 bundle exec rspec spec/")
9
9
  end
@@ -2,8 +2,8 @@
2
2
  <html>
3
3
  <head>
4
4
  <title><%= content_for :title %> | v<%= RailsPgExtras::VERSION %></title>
5
- <%= javascript_include_tag "https://unpkg.com/@rails/ujs" %>
6
- <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
5
+ <script src="/pg-extras-rails-ujs.js"></script>
6
+ <link href="/pg-extras-tailwind.min.css" rel="stylesheet">
7
7
  <%= csrf_meta_tags %>
8
8
  </head>
9
9
  <body class="p-5 text-xs">