Package not found. Please check the package name and try again.

passlock 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f1456b4ae9c581f0d098e1eaa3c2198a51e28d2
4
- data.tar.gz: 6d336f108e6db9d1f28b8643e9493050b6c8d560
3
+ metadata.gz: 5326b3a6e801f207c225c25808cbfbea7ba3de51
4
+ data.tar.gz: 9894962f298def132869eee2bc2b96b570b7d394
5
5
  SHA512:
6
- metadata.gz: e929f612fbe00e656aa71cf87a98ba57b63109b04cb0170695b8b31e16229b7c5d3798ec06aa7d52d5ad7fe68d12d67d1ab9315019364a6b20ea65b3da19670a
7
- data.tar.gz: 82d7a68ca8fd4e7db6dfc48aa805d672bb530656a052050bbf7af1a29e407b50c6c7ea1432b0ff8d7780c0730316a85f39db6dddcc0ed78e0090aa927fb1a58a
6
+ metadata.gz: 3e6b852e0f4462c6f96d9f1903fadabb204c1984f88e8a99a50a00a72a4ff8fef6fb7b9b06aa48a4f7c497bd6967e32b4b6a5e1dd637928970c1171f897e60aa
7
+ data.tar.gz: b904bf52c011f9f2a1a80bcb2dd96519e6a4c0158c9d0b8add720288d832d6d742b99753f3ecc7d28ce75b6c766c91f1a0718f30b8151c1103566e03246bfd54
@@ -6,6 +6,7 @@ class String
6
6
  def to_base
7
7
  Base64.encode64 self
8
8
  end
9
+ alias_method :to_base, to_base64
9
10
 
10
11
  def to_sha1
11
12
  Digest::SHA1.hexdigest self
@@ -26,4 +27,5 @@ class String
26
27
  def to_basehash
27
28
  Base64.encode64((HMAC::SHA1.new(self) << 'base').digest).strip
28
29
  end
30
+ alias_method :to_basehash, to_base64hash
29
31
  end
@@ -1,4 +1,4 @@
1
1
  module PassLock
2
2
  # Gets the version of the gem installed.
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passlock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Snazzah