From c038b68ecb48b9570aaf17d9248819c2edbbc1bf Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 4 Jan 2025 13:20:20 +0100 Subject: [PATCH 1/2] chore(deps): lock file maintenance --- Cargo.lock | 4 ++-- flake.lock | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 28442ee..7bb308f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -184,9 +184,9 @@ checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" [[package]] name = "cc" -version = "1.2.6" +version = "1.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d6dbb628b8f8555f86d0323c2eb39e3ec81901f4b83e091db8a6a76d316a333" +checksum = "a012a0df96dd6d06ba9a1b29d6402d1a5d77c6befd2566afdc26e10603dc93d7" dependencies = [ "shlex", ] diff --git a/flake.lock b/flake.lock index 63979fc..f7a11d2 100644 --- a/flake.lock +++ b/flake.lock @@ -22,11 +22,11 @@ ] }, "locked": { - "lastModified": 1733312601, - "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", + "lastModified": 1735774679, + "narHash": "sha256-soePLBazJk0qQdDVhdbM98vYdssfs3WFedcq+raipRI=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", + "rev": "f2f7418ce0ab4a5309a4596161d154cfc877af66", "type": "github" }, "original": { @@ -37,11 +37,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1735471104, - "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=", + "lastModified": 1735834308, + "narHash": "sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4", + "rev": "6df24922a1400241dae323af55f30e4318a6ca65", "type": "github" }, "original": { @@ -82,11 +82,11 @@ ] }, "locked": { - "lastModified": 1735653038, - "narHash": "sha256-Q6xAmciTXDtZfUxf6c15QqtRR8BvX4edYPstF/uoqMk=", + "lastModified": 1735905407, + "narHash": "sha256-1hKMRIT+QZNWX46e4gIovoQ7H8QRb7803ZH4qSKI45o=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "56c0ecd79f7ba01a0ec027da015df751d6ca3ae7", + "rev": "29806abab803e498df96d82dd6f34b32eb8dd2c8", "type": "github" }, "original": { -- 2.47.0 From 2b953c4b75c5f711ac219b69da41b85279489efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 4 Jan 2025 13:41:24 +0100 Subject: [PATCH 2/2] fix(typos): typos caught more typos :3 Some typos where not a typo tho, just a test T-T. This fixes it. --- flake-modules/module.nix | 2 +- src/records.rs | 2 +- .../webnsupdate__records__test__invalid_ascii.snap | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flake-modules/module.nix b/flake-modules/module.nix index 6ffbba6..fc52da7 100644 --- a/flake-modules/module.nix +++ b/flake-modules/module.nix @@ -138,7 +138,7 @@ let in lib.mkIf cfg.enable { # warnings = - # lib.optional (!config.services.bind.enable) "`webnsupdate` is expected to be used alongside `bind`. This is an unsopported configuration."; + # lib.optional (!config.services.bind.enable) "`webnsupdate` is expected to be used alongside `bind`. This is an unsupported configuration."; assertions = [ { assertion = diff --git a/src/records.rs b/src/records.rs index 5ca6528..860f719 100644 --- a/src/records.rs +++ b/src/records.rs @@ -256,7 +256,7 @@ mod test { let err = verify( "\ example.com.\n\ - name.this-is-not-aßcii.example.org.\n\ + name.this-is-not-ascii-ß.example.org.\n\ example.net.\n\ subdomain.example.com.\n\ ", diff --git a/src/snapshots/webnsupdate__records__test__invalid_ascii.snap b/src/snapshots/webnsupdate__records__test__invalid_ascii.snap index a777b6d..eb8102b 100644 --- a/src/snapshots/webnsupdate__records__test__invalid_ascii.snap +++ b/src/snapshots/webnsupdate__records__test__invalid_ascii.snap @@ -6,11 +6,11 @@ expression: out ]8;;https://en.wikipedia.org/wiki/Hostname#Syntax\(link)]8;;\ × invalid octet: '\xc3' - ╭─[test_records_invalid:2:19] + ╭─[test_records_invalid:2:24] 1 │ example.com. - 2 │ name.this-is-not-aßcii.example.org. - · ┬ - · ╰── octet + 2 │ name.this-is-not-ascii-ß.example.org. + · ┬ + · ╰── octet 3 │ example.net. ╰──── help: we only accept ascii characters -- 2.47.0