pg_easy_replicate 0.3.7 → 0.3.8

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: 63ce4d3c583c90660cde52a6f0f138891af2b3eb6a2ccee039cbb57931a9a9aa
4
- data.tar.gz: f2d8914e131a7eeaa0799c82f6d96ff4c4d765902fc0eed773927d58f8eae38d
3
+ metadata.gz: 5e534de6c71967e1534422b3bb2871b97e267c63d130a0d21290913c8b7a94d4
4
+ data.tar.gz: 718fd526277f65d4666a5cfc3e847dcb295e8e298f41893398bf1349c33d71a9
5
5
  SHA512:
6
- metadata.gz: ec486fbc867215ea81e25f0fd001f0036d74d222a8782ea7525cd938e76cc782288ad42f90b878d9ddb95b00c20887d7e5ef29fb20b04f04451a6a0b59d495d7
7
- data.tar.gz: d8704fef89664ce130801ccc4e9c8974fcc922e56e7570fc9260702c54da1fe366cbbede1b9c9f1da5aeb3d5ce5a27e1d991fdab1454f4ee7cf4d24af8684825
6
+ metadata.gz: 6ae2923e4c7c2727833bd2084a02aeddb04671fd7787bf573c58cde616279398bb6fe2e9ce2100b349fbcefd811942029e00504da19262ff5e0eb9d81f62f0bd
7
+ data.tar.gz: 0efdf075efa3b6cdfe070a4153ae49fbb9d21f2c79d2b70ece398ec601147ae68d691899258b2648581fd9c72dfb31b218cc0df2be23bd0b5cf86990bc45adc9
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.4
1
+ 3.3.6
data/Dockerfile CHANGED
@@ -1,7 +1,22 @@
1
- FROM ruby:3.1.4
1
+ FROM ruby:3.3.6-slim
2
2
 
3
3
  ARG VERSION
4
4
 
5
- RUN apt-get update && apt-get install postgresql-client -y
5
+ RUN apt-get update && \
6
+ apt-get install -y --no-install-recommends \
7
+ wget \
8
+ gnupg2 \
9
+ lsb-release \
10
+ build-essential \
11
+ libpq-dev \
12
+ && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /usr/share/keyrings/postgresql-keyring.gpg && \
13
+ echo "deb [signed-by=/usr/share/keyrings/postgresql-keyring.gpg] http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
14
+ apt-get update && \
15
+ apt-get install -y --no-install-recommends postgresql-client && \
16
+ gem install pg_easy_replicate -v $VERSION && \
17
+ apt-get remove -y wget gnupg2 lsb-release && \
18
+ apt-get autoremove -y && \
19
+ apt-get clean && \
20
+ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
21
+
6
22
  RUN pg_dump --version
7
- RUN gem install pg_easy_replicate -v $VERSION
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pg_easy_replicate (0.3.7)
4
+ pg_easy_replicate (0.3.8)
5
5
  ougai (~> 2.0.0)
6
6
  pg (~> 1.5.3)
7
7
  pg_query (~> 5.1.0)
data/README.md CHANGED
@@ -374,5 +374,5 @@ Next, you can set up a program that watches the `stats` and waits until `switcho
374
374
  PRs most welcome. You can get started locally by
375
375
 
376
376
  - `docker compose down -v && docker compose up --remove-orphans --build`
377
- - Install ruby `3.1.4` using RVM ([instruction](https://rvm.io/rvm/install#any-other-system))
377
+ - Install ruby `3.3.6` using RVM ([instruction](https://rvm.io/rvm/install#any-other-system))
378
378
  - `bundle exec rspec` for specs
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgEasyReplicate
4
- VERSION = "0.3.7"
4
+ VERSION = "0.3.8"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_easy_replicate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shayon Mukherjee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-22 00:00:00.000000000 Z
11
+ date: 2024-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ougai
@@ -321,7 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
321
321
  - !ruby/object:Gem::Version
322
322
  version: '0'
323
323
  requirements: []
324
- rubygems_version: 3.3.26
324
+ rubygems_version: 3.5.22
325
325
  signing_key:
326
326
  specification_version: 4
327
327
  summary: Easily setup logical replication and switchover to new database with minimal