Skip to content

Commit

Permalink
fix: domain names should allow dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentW committed May 15, 2024
1 parent a56953f commit 0b7ce0e
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Pinenut.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "Pinenut"
spec.version = "0.0.1"
spec.version = "0.0.2"
spec.summary = "An extremely high-performance logging system for clients (iOS, Android, Desktop), written in Rust."

spec.homepage = "https://github.com/TangentW/Pinenut"
Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion pinenut-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pinenut-cli"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pinenut-ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pinenut-ffi"
version = "0.0.1"
version = "0.0.2"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion pinenut/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pinenut-log"
version = "0.0.1"
version = "0.0.2"
edition = "2021"
authors = ["Tangent <[email protected]>"]
description = "An extremely high performance logging system for clients (iOS, Android, Desktop), written in Rust."
Expand Down
2 changes: 1 addition & 1 deletion pinenut/src/logfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl Logfile {
}

let (identifier, timestamp) =
name.file_stem()?.to_str()?.split_once(Self::NAME_SEPARATOR)?;
name.file_stem()?.to_str()?.rsplit_once(Self::NAME_SEPARATOR)?;

if identifier != domain.identifier {
return None;
Expand Down

0 comments on commit 0b7ce0e

Please sign in to comment.