Skip to content

Commit

Permalink
Rebranding
Browse files Browse the repository at this point in the history
  • Loading branch information
pawurb committed Oct 10, 2024
1 parent 52878ac commit 7e97db6
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,44 @@ jobs:
- name: Run PostgreSQL 12
run: |
docker run --env POSTGRES_USER=postgres \
--env POSTGRES_DB=rust-pg-extras-test \
--env POSTGRES_DB=pg-extras-rs-test \
--env POSTGRES_PASSWORD=secret \
-d -p 5432:5432 postgres:12.20-alpine \
postgres -c shared_preload_libraries=pg_stat_statements
- name: Run PostgreSQL 13
run: |
docker run --env POSTGRES_USER=postgres \
--env POSTGRES_DB=rust-pg-extras-test \
--env POSTGRES_DB=pg-extras-rs-test \
--env POSTGRES_PASSWORD=secret \
-d -p 5433:5432 postgres:13.16-alpine \
postgres -c shared_preload_libraries=pg_stat_statements
- name: Run PostgreSQL 14
run: |
docker run --env POSTGRES_USER=postgres \
--env POSTGRES_DB=rust-pg-extras-test \
--env POSTGRES_DB=pg-extras-rs-test \
--env POSTGRES_PASSWORD=secret \
-d -p 5434:5432 postgres:14.13-alpine \
postgres -c shared_preload_libraries=pg_stat_statements
- name: Run PostgreSQL 15
run: |
docker run --env POSTGRES_USER=postgres \
--env POSTGRES_DB=rust-pg-extras-test \
--env POSTGRES_DB=pg-extras-rs-test \
--env POSTGRES_PASSWORD=secret \
-d -p 5435:5432 postgres:15.8-alpine \
postgres -c shared_preload_libraries=pg_stat_statements
sleep 15
- name: Run PostgreSQL 16
run: |
docker run --env POSTGRES_USER=postgres \
--env POSTGRES_DB=rust-pg-extras-test \
--env POSTGRES_DB=pg-extras-rs-test \
--env POSTGRES_PASSWORD=secret \
-d -p 5436:5432 postgres:16.4-alpine \
postgres -c shared_preload_libraries=pg_stat_statements
sleep 15
- name: Run PostgreSQL 17
run: |
docker run --env POSTGRES_USER=postgres \
--env POSTGRES_DB=rust-pg-extras-test \
--env POSTGRES_DB=pg-extras-rs-test \
--env POSTGRES_PASSWORD=secret \
-d -p 5437:5432 postgres:17.0-alpine \
postgres -c shared_preload_libraries=pg_stat_statements
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
license = "MIT"
name = "pg-extras"
readme = "README.md"
repository = "https://github.com/pawurb/rust-pg-extras"
repository = "https://github.com/pawurb/pg-extras-rs"
version = "0.4.1"

exclude = ["docker-compose.yml.sample", "live_tests.sh"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# rust-pg-extras [![Latest Version](https://img.shields.io/crates/v/pg-extras.svg)](https://crates.io/crates/pg-extras) [![GH Actions](https://github.com/pawurb/rust-pg-extras/actions/workflows/ci.yml/badge.svg)](https://github.com/pawurb/rust-pg-extras/actions)
# pg-extras-rs [![Latest Version](https://img.shields.io/crates/v/pg-extras.svg)](https://crates.io/crates/pg-extras) [![GH Actions](https://github.com/pawurb/pg-extras-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/pawurb/pg-extras-rs/actions)

Rust port of [Heroku PG Extras](https://github.com/heroku/heroku-pg-extras) with several additions and improvements. The goal of this project is to provide powerful insights into the PostgreSQL database for Rust apps that are not using the Heroku PostgreSQL plugin.

Expand Down
12 changes: 6 additions & 6 deletions docker-compose.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
command: postgres -c shared_preload_libraries=pg_stat_statements
environment:
POSTGRES_USER: postgres
POSTGRES_DB: rust-pg-extras-test
POSTGRES_DB: pg-extras-rs-test
POSTGRES_PASSWORD: secret
ports:
- '5432:5432'
Expand All @@ -13,7 +13,7 @@ services:
command: postgres -c shared_preload_libraries=pg_stat_statements
environment:
POSTGRES_USER: postgres
POSTGRES_DB: rust-pg-extras-test
POSTGRES_DB: pg-extras-rs-test
POSTGRES_PASSWORD: secret
ports:
- '5433:5432'
Expand All @@ -22,7 +22,7 @@ services:
command: postgres -c shared_preload_libraries=pg_stat_statements
environment:
POSTGRES_USER: postgres
POSTGRES_DB: rust-pg-extras-test
POSTGRES_DB: pg-extras-rs-test
POSTGRES_PASSWORD: secret
ports:
- '5434:5432'
Expand All @@ -31,7 +31,7 @@ services:
command: postgres -c shared_preload_libraries=pg_stat_statements
environment:
POSTGRES_USER: postgres
POSTGRES_DB: rust-pg-extras-test
POSTGRES_DB: pg-extras-rs-test
POSTGRES_PASSWORD: secret
ports:
- '5435:5432'
Expand All @@ -40,7 +40,7 @@ services:
command: postgres -c shared_preload_libraries=pg_stat_statements
environment:
POSTGRES_USER: postgres
POSTGRES_DB: rust-pg-extras-test
POSTGRES_DB: pg-extras-rs-test
POSTGRES_PASSWORD: secret
ports:
- '5436:5432'
Expand All @@ -49,7 +49,7 @@ services:
command: postgres -c shared_preload_libraries=pg_stat_statements
environment:
POSTGRES_USER: postgres
POSTGRES_DB: rust-pg-extras-test
POSTGRES_DB: pg-extras-rs-test
POSTGRES_PASSWORD: secret
ports:
- '5437:5432'
Expand Down
2 changes: 1 addition & 1 deletion examples/db_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use pg_extras::{db_settings, render_table, PgExtrasError};
async fn main() -> Result<(), PgExtrasError> {
std::env::set_var(
"PG_EXTRAS_DATABASE_URL",
"postgres://postgres:secret@localhost:5432/rust-pg-extras-test",
"postgres://postgres:secret@localhost:5432/pg-extras-rs-test",
);

let settings = db_settings().await?;
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ mod tests {
env::set_var(
"PG_EXTRAS_DATABASE_URL",
format!(
"postgres://postgres:secret@localhost:{}/rust-pg-extras-test",
"postgres://postgres:secret@localhost:{}/pg-extras-rs-test",
port
),
);
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub enum PgExtrasCmdError {
impl fmt::Display for PgExtrasCmdError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let check_command_text =
"Check https://github.com/pawurb/rust-pg-extras for list of available commands.";
"Check https://github.com/pawurb/pg-extras-rs for list of available commands.";

let msg = match self {
Self::UnknownCommand(command) => {
Expand Down

0 comments on commit 7e97db6

Please sign in to comment.