secure_hasher 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b7ca155863e371a4f60849230750c9b4c61e67f
4
- data.tar.gz: 5b9e0a82a45529b2e6d86f6bba5452ba5bd9a993
3
+ metadata.gz: 878537626f6353fa38ca0f62f28027e12fb685c9
4
+ data.tar.gz: 4a480da917aa6cf34b99c4a7c4ab61069ca0f876
5
5
  SHA512:
6
- metadata.gz: 15f27db4d22607825e3fa743620c9e9c5d642911facbf8fd07fd61e339eb169e06d54b8a60879d4ee1db90ba5c4f0baedae2fecb3c9065fc8765594c7a987daa
7
- data.tar.gz: ed971571b6cd3be3665511cb7a2564d0cc4b48e7f7bc14d38b1c9f466ae3e71b0bd34920b56b72a4f7b099b01caa139e4956c69321cb49a78d5557438cef054b
6
+ metadata.gz: 1510a7b3fed45cbe830d2a6700691ddb21205f21766622576dafe5a9e0840c3cb67b391d5dd4e2a37b3250f5d0e347d9b8c3e7420b4b2f03d0d8550b982fe474
7
+ data.tar.gz: 901c46daca8d037dfd10dd4c5998b2effeed4d7c741444915f11d8d63c7dc5de5b75e0bbaed261e9bb0f0fec4b7538d4a593e6950fae094364db4c261ccfc103
@@ -7,11 +7,11 @@ module SecureHasher
7
7
  # @raise [ArgumentError] No password provided.
8
8
  #
9
9
  # @example Basic Usage
10
- # SecureHasher.hash('mypassword')
10
+ # SecureHasher.hash(password: 'mypassword')
11
11
  # # => "xx.sEzWY1w1qk"
12
12
  #
13
13
  # @example Advanced Usage
14
- # SecureHasher.hash('mypassword', 'xy')
14
+ # SecureHasher.hash(password: 'mypassword', salt: 'xy')
15
15
  # # => "xyoxiBrqcbujE"
16
16
  #
17
17
  def self.secure_hash(password: false, salt: 'xx')
@@ -1,3 +1,3 @@
1
1
  module SecureHasher
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secure_hasher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kent Gruber