Skip to content

Commit

Permalink
bump: to v0.6.0-rc.5 (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
geofmureithi authored Jul 25, 2024
1 parent b790332 commit 649b384
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository = "https://github.com/geofmureithi/apalis"

[package]
name = "apalis"
version = "0.6.0-rc.4"
version = "0.6.0-rc.5"
authors = ["Geoffrey Mureithi <[email protected]>"]
description = "Simple, extensible multithreaded background job processing for Rust"
edition.workspace = true
Expand Down Expand Up @@ -58,7 +58,7 @@ layers = [
docsrs = ["document-features"]

[dependencies.apalis-core]
version = "0.6.0-rc.4"
version = "0.6.0-rc.5"
default-features = false
path = "./packages/apalis-core"

Expand Down
2 changes: 1 addition & 1 deletion packages/apalis-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apalis-core"
version = "0.6.0-rc.4"
version = "0.6.0-rc.5"
authors = ["Njuguna Mureithi <[email protected]>"]
edition.workspace = true
repository.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions packages/apalis-cron/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apalis-cron"
version = "0.6.0-rc.4"
version = "0.6.0-rc.5"
edition.workspace = true
repository.workspace = true
authors = ["Njuguna Mureithi <[email protected]>"]
Expand All @@ -10,7 +10,7 @@ description = "A simple yet extensible library for cron-like job scheduling for
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.4", default-features = false, features = [
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.5", default-features = false, features = [
"sleep",
] }
cron = "0.12.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/apalis-redis/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apalis-redis"
version = "0.6.0-rc.4"
version = "0.6.0-rc.5"
authors = ["Njuguna Mureithi <[email protected]>"]
edition.workspace = true
repository.workspace = true
Expand All @@ -12,7 +12,7 @@ description = "Redis Storage for apalis: use Redis for background jobs and messa
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.4", default-features = false, features = [
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.5", default-features = false, features = [
"sleep",
"json",
] }
Expand Down
4 changes: 2 additions & 2 deletions packages/apalis-sql/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apalis-sql"
version = "0.6.0-rc.4"
version = "0.6.0-rc.5"
authors = ["Njuguna Mureithi <[email protected]>"]
edition.workspace = true
repository.workspace = true
Expand All @@ -26,7 +26,7 @@ features = ["chrono"]
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.4", default-features = false, features = [
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.5", default-features = false, features = [
"sleep",
"json",
] }
Expand Down
3 changes: 1 addition & 2 deletions packages/apalis-sql/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ pub fn calculate_status<Res>(res: &Result<Res, apalis_core::error::Error>) -> St
#[macro_export]
macro_rules! sql_storage_tests {
($setup:path, $storage_type:ty, $job_type:ty) => {
async fn setup_test_wrapper(
) -> TestWrapper<$storage_type, $job_type, ()> {
async fn setup_test_wrapper() -> TestWrapper<$storage_type, $job_type, ()> {
let (mut t, poller) = TestWrapper::new_with_service(
$setup().await,
apalis_core::service_fn::service_fn(email_service::send_email),
Expand Down
2 changes: 1 addition & 1 deletion packages/apalis-sql/src/sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ impl<T> SqliteStorage<T> {
tx.commit().await?;
Ok(())
}

/// Add jobs that failed back to the queue if there are still remaining attemps
pub async fn reenqueue_failed(&mut self) -> Result<(), sqlx::Error> {
let job_type = self.config.namespace.clone();
Expand Down

0 comments on commit 649b384

Please sign in to comment.