pg_ha_migrations 2.1.0 → 2.1.1

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: 7b2e6bb12c48cffbc58e2f182f6d147f9952fd5167b82feaebee77190d0c71f0
4
- data.tar.gz: f438b6095e6493bae0545cca0f9b3b3e5aa6d2dfc14d80a8c851e80f5b90e09d
3
+ metadata.gz: e104b78dae3bcbec72dc3f81c403d4c70935e43f67ef43d5363fe39de4e4139f
4
+ data.tar.gz: fe17e6f106fff9507d9ad62e2a6953d33aad1335005bd43c4b6ed2a7d6d1271d
5
5
  SHA512:
6
- metadata.gz: 85b57ebf531422f9b14ff7d3e91a0759b9e4c714dd8b53dff2e5e45e0b44fe583ab726ad9a160f5d34de0bab102da0770caae5dad622e5294d4d8eba1b178a52
7
- data.tar.gz: 2992367de5df4a1b57bcd024c39edebf40ecd5cc595a2b2b8034cd89af60d9bb068a4029e8771f66abf0fc7c0a73966d7c06bb0959c678df264e874276b5e73b
6
+ metadata.gz: a2b274232130fec7807eced8199dc19fa6c0e9eda29990ffe86815e942d1967ed5105c420bad89c7811a3223fcbedf372bdb6bccb292d27f274674e5e1df879d
7
+ data.tar.gz: 5bbc97af919639056e152186dc5eebfd90ee19fe445732d064774cdf132dd303bed41afae80ab9f39d88a392d5c1edede948db87189d4f59c87f0fe9a2861071
@@ -10,6 +10,7 @@ jobs:
10
10
  - 15
11
11
  - 16
12
12
  - 17
13
+ - 18
13
14
  ruby:
14
15
  - "3.2"
15
16
  - "3.3"
@@ -22,10 +23,12 @@ jobs:
22
23
  - 4
23
24
  - 5
24
25
  exclude:
25
- - pg: 17
26
- partman: 4 # Partman 4.x is not available in PGDG for PG 17
27
26
  - pg: 13
28
27
  partman: 5 # Partman 5.x is not available in PGDG for PG 13
28
+ - pg: 17
29
+ partman: 4 # Partman 4.x is not available in PGDG for PG 17
30
+ - pg: 18
31
+ partman: 4 # Partman 4.x is not available in PGDG for PG 18
29
32
  name: PostgreSQL ${{ matrix.pg }} - Partman ${{ matrix.partman }} - Ruby ${{ matrix.ruby }} - ${{ matrix.gemfile }}
30
33
  runs-on: ubuntu-latest
31
34
  env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
data/Dockerfile CHANGED
@@ -13,7 +13,7 @@ FROM base AS partman-4-branch
13
13
  ENV PARTMAN_VERSION=4.7.4-2.pgdg120+1
14
14
 
15
15
  FROM base AS partman-5-branch
16
- ENV PARTMAN_VERSION=5.2.4-1.pgdg120+1
16
+ ENV PARTMAN_VERSION=5.3.1-1.pgdg12+1
17
17
 
18
18
  FROM partman-$PARTMAN_VERSION-branch AS final
19
19
  RUN apt update && apt-get install -y postgresql-$PG_MAJOR-partman=$PARTMAN_VERSION
data/README.md CHANGED
@@ -102,7 +102,7 @@ The following functionality is currently unsupported:
102
102
 
103
103
  ### Compatibility Notes
104
104
 
105
- - While some features may work with other versions, this gem is currently tested against PostgreSQL 13+ and Partman 4.x
105
+ - While some features may work with other versions, this gem is currently tested against PostgreSQL 13+ and Partman 4+
106
106
 
107
107
  ### Migration Methods
108
108
 
data/docker-compose.yml CHANGED
@@ -4,7 +4,7 @@ services:
4
4
  build:
5
5
  context: .
6
6
  args:
7
- - PGVERSION=${PGVERSION:-17}
7
+ - PGVERSION=${PGVERSION:-18}
8
8
  - PARTMAN_VERSION=${PARTMAN_VERSION:-5}
9
9
  ports:
10
10
  - "5432:5432"
@@ -241,7 +241,8 @@ module PgHaMigrations::UnsafeStatements
241
241
  end
242
242
  end
243
243
  ensure
244
- part_config.reload.update!(automatic_maintenance: "on") if before_automatic_maintenance == "on"
244
+ part_config.restore_attributes
245
+ part_config.update!(automatic_maintenance: "on") if before_automatic_maintenance == "on"
245
246
  end
246
247
  end
247
248
 
@@ -1,3 +1,3 @@
1
1
  module PgHaMigrations
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_ha_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - celeen
@@ -13,7 +13,7 @@ authors:
13
13
  - redneckbeard
14
14
  bindir: exe
15
15
  cert_chain: []
16
- date: 2025-10-27 00:00:00.000000000 Z
16
+ date: 2025-11-18 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rake