diff --git a/Cargo.toml b/Cargo.toml index ec26d5a..89c68f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ description = "Gravatar image URL library" repository = "https://github.com/Holllo/gravatar-rs" license = "MIT OR Apache-2.0" version = "0.2.0" -authors = ["Holllo "] +authors = ["Holllo "] edition = "2021" keywords = ["gravatar", "ivatar", "libravatar"] diff --git a/LICENSE-MIT b/LICENSE-MIT index 40a0b42..cacb2e3 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Holllo +Copyright (c) 2022 Holllo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib.rs b/source/lib.rs index f47327b..1812084 100644 --- a/source/lib.rs +++ b/source/lib.rs @@ -17,11 +17,11 @@ //! //! let generator = Generator::default(); //! -//! let gravatar_url = generator.generate("helllo@holllo.cc"); +//! let gravatar_url = generator.generate("helllo@holllo.org"); //! //! assert_eq!( //! gravatar_url, -//! "https://www.gravatar.com/avatar/ebff9105dce4954b1bdb57fdab079ff3" +//! "https://www.gravatar.com/avatar/e9a2c03d607ec80a5b725ad42c19ee36" //! ); //! ``` //! @@ -79,11 +79,11 @@ impl Generator { /// ```rust /// use gravatar_rs::Generator; /// - /// let hash = Generator::hash_email("helllo@holllo.cc"); + /// let hash = Generator::hash_email("helllo@holllo.org"); /// /// assert_eq!( /// hash, - /// "ebff9105dce4954b1bdb57fdab079ff3" + /// "e9a2c03d607ec80a5b725ad42c19ee36" /// ); /// ``` /// diff --git a/tests/lib.rs b/tests/lib.rs index 9b4ec96..ee8416c 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -1,7 +1,7 @@ use gravatar_rs::Generator; const BAUKE_EMAIL: &str = "me@bauke.xyz"; -const HOLLLO_EMAIL: &str = "helllo@holllo.cc"; +const HOLLLO_EMAIL: &str = "helllo@holllo.org"; #[test] fn test_hash_email() { diff --git a/tests/snapshots/lib__generate-options.snap b/tests/snapshots/lib__generate-options.snap index 28a51cf..56bd6a1 100644 --- a/tests/snapshots/lib__generate-options.snap +++ b/tests/snapshots/lib__generate-options.snap @@ -4,5 +4,5 @@ expression: urls --- [ "https://cdn.libravatar.org/avatar/ecd836ee843ff0ab75d4720bd40c2baf.jpg?d=identicon&f=y&s=128&r=pg", - "https://cdn.libravatar.org/avatar/ebff9105dce4954b1bdb57fdab079ff3.jpg?d=identicon&f=y&s=128&r=pg", + "https://cdn.libravatar.org/avatar/e9a2c03d607ec80a5b725ad42c19ee36.jpg?d=identicon&f=y&s=128&r=pg", ] diff --git a/tests/snapshots/lib__generator.snap b/tests/snapshots/lib__generator.snap index 9df732c..267ea1f 100644 --- a/tests/snapshots/lib__generator.snap +++ b/tests/snapshots/lib__generator.snap @@ -7,14 +7,14 @@ expression: snapshot "generate-gravatar", [ "https://www.gravatar.com/avatar/ecd836ee843ff0ab75d4720bd40c2baf", - "https://www.gravatar.com/avatar/ebff9105dce4954b1bdb57fdab079ff3", + "https://www.gravatar.com/avatar/e9a2c03d607ec80a5b725ad42c19ee36", ], ), ( "generate-libravatar", [ "https://cdn.libravatar.org/avatar/ecd836ee843ff0ab75d4720bd40c2baf", - "https://cdn.libravatar.org/avatar/ebff9105dce4954b1bdb57fdab079ff3", + "https://cdn.libravatar.org/avatar/e9a2c03d607ec80a5b725ad42c19ee36", ], ), ] diff --git a/tests/snapshots/lib__hash-email.snap b/tests/snapshots/lib__hash-email.snap index f2cba91..ecc80b1 100644 --- a/tests/snapshots/lib__hash-email.snap +++ b/tests/snapshots/lib__hash-email.snap @@ -17,14 +17,14 @@ expression: snapshot ), ( "hash-holllo", - "ebff9105dce4954b1bdb57fdab079ff3", + "e9a2c03d607ec80a5b725ad42c19ee36", ), ( "hash-holllo-whitespace", - "ebff9105dce4954b1bdb57fdab079ff3", + "e9a2c03d607ec80a5b725ad42c19ee36", ), ( "hash-holllo-casing", - "ebff9105dce4954b1bdb57fdab079ff3", + "e9a2c03d607ec80a5b725ad42c19ee36", ), ]