From e68a316e8a19c57f6b7b9575bb92456321cce495 Mon Sep 17 00:00:00 2001 From: Ferhat Ziba Date: Fri, 29 Jan 2021 10:42:16 +0100 Subject: [PATCH] upgrade for crystal 0.36.0 --- shard.yml | 2 +- src/sodium/digest/blake2b.cr | 6 +++--- src/sodium/version.cr | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/shard.yml b/shard.yml index 55cd26d..e9488a7 100644 --- a/shard.yml +++ b/shard.yml @@ -4,7 +4,7 @@ version: 1.2.0 authors: - Andrew Hamon - Didactic Drunk <1479616+didactic-drunk@users.noreply.github.com> -crystal: 0.31.1 +crystal: 0.36.0 targets: pwhash_selector: main: examples/pwhash_selector.cr diff --git a/src/sodium/digest/blake2b.cr b/src/sodium/digest/blake2b.cr index 54fad4c..8fe9de9 100644 --- a/src/sodium/digest/blake2b.cr +++ b/src/sodium/digest/blake2b.cr @@ -1,8 +1,8 @@ require "../lib_sodium" require "../wipe" require "../secure_buffer" -require "digest/base" -require "openssl/digest/digest_base" +require "digest" +require "openssl/digest" module Sodium::Digest # Hash data using Blake2b. @@ -16,7 +16,7 @@ module Sodium::Digest # digest.update data # digest.hexfinal => String # ``` - class Blake2b < ::Digest::Base + class Blake2b < ::Digest include Wipe Log = ::Log.for self diff --git a/src/sodium/version.cr b/src/sodium/version.cr index a49505c..e8695ad 100644 --- a/src/sodium/version.cr +++ b/src/sodium/version.cr @@ -1,3 +1,3 @@ module Sodium - VERSION = "1.2.0" + VERSION = "1.2.1" end