mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 17:33:03 +02:00
rusty-diceware: update to 0.3.6.
This commit is contained in:
parent
25bc9dae15
commit
9b88f1b935
2 changed files with 3 additions and 40 deletions
|
@ -1,38 +0,0 @@
|
||||||
From 9f480fcbc9cb7bfb0d0bde8727dbfba9d878b596 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
|
|
||||||
<jan.christian@gruenhage.xyz>
|
|
||||||
Date: Sun, 4 Sep 2022 14:38:10 +0200
|
|
||||||
Subject: [PATCH] Fix values in test cases
|
|
||||||
|
|
||||||
SeedableRng values are "stable", but minor version bumps (which have
|
|
||||||
happened since these cases were written) are allowed to change those. A
|
|
||||||
breaking change here was documentated for 0.7.
|
|
||||||
---
|
|
||||||
tests/tests.rs | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/tests/tests.rs b/tests/tests.rs
|
|
||||||
index d569663..ed4eff4 100644
|
|
||||||
--- a/tests/tests.rs
|
|
||||||
+++ b/tests/tests.rs
|
|
||||||
@@ -33,7 +33,7 @@ fn make_reinhold_vector() -> Vec<ReinholdWord> {
|
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn beale_rng_test() {
|
|
||||||
- let wanted: Vec<BealeWord> = vec!["dr", "raced", "pvc", "moon"]
|
|
||||||
+ let wanted: Vec<BealeWord> = vec!["io", "gavel", "beam", "time"]
|
|
||||||
.into_iter()
|
|
||||||
.map(BealeWord::new)
|
|
||||||
.collect();
|
|
||||||
@@ -45,7 +45,7 @@ fn beale_rng_test() {
|
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn reinhold_rng_test() {
|
|
||||||
- let wanted: Vec<ReinholdWord> = vec!["douse", "qo", "prune", "moan"]
|
|
||||||
+ let wanted: Vec<ReinholdWord> = vec!["india", "gamma", "bcd", "theme"]
|
|
||||||
.into_iter()
|
|
||||||
.map(ReinholdWord::new)
|
|
||||||
.collect();
|
|
||||||
--
|
|
||||||
2.37.3
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'rusty-diceware'
|
# Template file for 'rusty-diceware'
|
||||||
pkgname=rusty-diceware
|
pkgname=rusty-diceware
|
||||||
version=0.3.3
|
version=0.3.6
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="${pkgname}-v${version}"
|
wrksrc="${pkgname}-v${version}"
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
|
@ -8,8 +8,9 @@ short_desc="Commandline diceware, sans dice, written in rustlang"
|
||||||
maintainer="jcgruenhage <jan.christian@gruenhage.xyz>"
|
maintainer="jcgruenhage <jan.christian@gruenhage.xyz>"
|
||||||
license="AGPL-3.0-only"
|
license="AGPL-3.0-only"
|
||||||
homepage="https://gitlab.com/yuvallanger/rusty-diceware"
|
homepage="https://gitlab.com/yuvallanger/rusty-diceware"
|
||||||
|
changelog="https://gitlab.com/yuvallanger/rusty-diceware/-/raw/master/CHANGELOG.md"
|
||||||
distfiles="https://gitlab.com/yuvallanger/rusty-diceware/-/archive/v${version}/rusty-diceware-v${version}.tar.gz"
|
distfiles="https://gitlab.com/yuvallanger/rusty-diceware/-/archive/v${version}/rusty-diceware-v${version}.tar.gz"
|
||||||
checksum=906a082a2b85fe8d1f5db88705704f44a7b5cafcd419a2eccb29e9ccbdff9e0e
|
checksum=3178f0e238ec71b76f210570c3b063d5a2b27b2b5868ac5ca4eb1d4971559f51
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue