Merge pull request #12 from fero46/master

upgrade for crystal 0.36.0
This commit is contained in:
didactic-drunk 2021-03-18 11:04:41 -07:00 committed by GitHub
commit c96b01f712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ version: 1.2.0
authors: authors:
- Andrew Hamon <andrew@hamon.cc> - Andrew Hamon <andrew@hamon.cc>
- Didactic Drunk <1479616+didactic-drunk@users.noreply.github.com> - Didactic Drunk <1479616+didactic-drunk@users.noreply.github.com>
crystal: 0.31.1 crystal: 0.36.0
targets: targets:
pwhash_selector: pwhash_selector:
main: examples/pwhash_selector.cr main: examples/pwhash_selector.cr

View File

@ -1,8 +1,8 @@
require "../lib_sodium" require "../lib_sodium"
require "../wipe" require "../wipe"
require "../secure_buffer" require "../secure_buffer"
require "digest/base" require "digest"
require "openssl/digest/digest_base" require "openssl/digest"
module Sodium::Digest module Sodium::Digest
# Hash data using Blake2b. # Hash data using Blake2b.
@ -16,7 +16,7 @@ module Sodium::Digest
# digest.update data # digest.update data
# digest.hexfinal => String # digest.hexfinal => String
# ``` # ```
class Blake2b < ::Digest::Base class Blake2b < ::Digest
include Wipe include Wipe
Log = ::Log.for self Log = ::Log.for self

View File

@ -1,3 +1,3 @@
module Sodium module Sodium
VERSION = "1.2.0" VERSION = "1.2.1"
end end