diff --git a/Cargo.lock b/Cargo.lock index 574405c..8b36ebb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5053,7 +5053,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] -name = "universal_web" +name = "gitara_web" version = "0.1.0" dependencies = [ "async-trait", diff --git a/config/development.yaml b/config/development.yaml index ceb20be..8bdbe08 100644 --- a/config/development.yaml +++ b/config/development.yaml @@ -71,7 +71,7 @@ mailer: # Database Configuration database: # Database connection URI - uri: {{ get_env(name="DATABASE_URL", default="postgres://uni_loco_web_user:3@localhost:5432/universal_web_development") }} + uri: {{ get_env(name="DATABASE_URL", default="postgres://uni_loco_web_user:3@localhost:5432/gitara_web_development") }} # When enabled, the sql query will be logged. enable_logging: false # Set the timeout duration when acquiring a connection. diff --git a/config/test.yaml b/config/test.yaml index 09356a8..545d337 100644 --- a/config/test.yaml +++ b/config/test.yaml @@ -68,7 +68,7 @@ mailer: # Database Configuration database: # Database connection URI - uri: {{ get_env(name="DATABASE_URL", default="postgres://uni_loco_web_user:3@localhost:5432/universal_web_test") }} + uri: {{ get_env(name="DATABASE_URL", default="postgres://uni_loco_web_user:3@localhost:5432/gitara_web_test") }} # When enabled, the sql query will be logged. enable_logging: false # Set the timeout duration when acquiring a connection. diff --git a/examples/playground.rs b/examples/playground.rs index f5359cb..dcf7eab 100644 --- a/examples/playground.rs +++ b/examples/playground.rs @@ -1,6 +1,6 @@ #[allow(unused_imports)] use loco_rs::{cli::playground, prelude::*}; -use universal_web::app::App; +use gitara_web::app::App; #[tokio::main] async fn main() -> loco_rs::Result<()> { diff --git a/src/bin/main.rs b/src/bin/main.rs index 8ea619f..334a43f 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -1,6 +1,6 @@ use loco_rs::cli; use migration::Migrator; -use universal_web::app::App; +use gitara_web::app::App; #[tokio::main] async fn main() -> loco_rs::Result<()> { diff --git a/tests/models/users.rs b/tests/models/users.rs index 1de4252..d715e45 100644 --- a/tests/models/users.rs +++ b/tests/models/users.rs @@ -3,7 +3,7 @@ use insta::assert_debug_snapshot; use loco_rs::testing::prelude::*; use sea_orm::{ActiveModelTrait, ActiveValue, IntoActiveModel}; use serial_test::serial; -use universal_web::{ +use gitara_web::{ app::App, models::users::{self, Model, RegisterParams}, }; diff --git a/tests/requests/auth.rs b/tests/requests/auth.rs index 9e9ce9f..ff54836 100644 --- a/tests/requests/auth.rs +++ b/tests/requests/auth.rs @@ -2,7 +2,7 @@ use insta::{assert_debug_snapshot, with_settings}; use loco_rs::testing::prelude::*; use rstest::rstest; use serial_test::serial; -use universal_web::{app::App, models::users}; +use gitara_web::{app::App, models::users}; use super::prepare_data; diff --git a/tests/requests/prepare_data.rs b/tests/requests/prepare_data.rs index e1b04f7..57174f7 100644 --- a/tests/requests/prepare_data.rs +++ b/tests/requests/prepare_data.rs @@ -1,6 +1,6 @@ use axum::http::{HeaderName, HeaderValue}; use loco_rs::{app::AppContext, TestServer}; -use universal_web::{models::users, views::auth::LoginResponse}; +use gitara_web::{models::users, views::auth::LoginResponse}; const USER_EMAIL: &str = "test@loco.com"; const USER_PASSWORD: &str = "1234";