dynarex-password 0.1.9 → 0.1.10
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/dynarex-password.rb +7 -3
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ab2ac3677630c2bca4dc985cba6a448c6aee8c9
|
|
4
|
+
data.tar.gz: b87fa9931c66b883f70ac49293837bb571232585
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b55e28415c7f60b783dfb93fe1d5295cc3f4f7835d8251a9d0defed6e433bc8b02ae063579ae0eeeee510c6c3cdf45c23c0d774b554a00210f81edb7550bc3b
|
|
7
|
+
data.tar.gz: 5b0db4d51209b008fe2f72797eb3f3fced9cff562057b8a8189c1759d16633f3585965046b5c9f73e66cf13d5406e01985d40d4d45a637ef64ff3b3f08cd0214
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/dynarex-password.rb
CHANGED
|
@@ -46,6 +46,8 @@ class DynarexPassword
|
|
|
46
46
|
string.join
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
+
alias encrypt lookup
|
|
50
|
+
|
|
49
51
|
# reverse_lookup can only be used with a lookup file which was generated
|
|
50
52
|
# with a fixed char length of 2
|
|
51
53
|
#
|
|
@@ -67,9 +69,11 @@ class DynarexPassword
|
|
|
67
69
|
end.join '_'
|
|
68
70
|
end.join '-'
|
|
69
71
|
|
|
70
|
-
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
alias decrypt reverse_lookup
|
|
71
75
|
|
|
72
|
-
def save(filepath) @dynarex.save filepath
|
|
76
|
+
def save(filepath) @dynarex.save filepath end
|
|
73
77
|
|
|
74
78
|
private
|
|
75
79
|
|
|
@@ -83,4 +87,4 @@ class DynarexPassword
|
|
|
83
87
|
|
|
84
88
|
end
|
|
85
89
|
|
|
86
|
-
end
|
|
90
|
+
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dynarex-password
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
|
29
29
|
jbRy/94v/9srM0/stUsihC/uKQSsvSZIS1uqx9vO6dIUGqlGBcP3Tnd76y108SDa
|
|
30
30
|
rufFtHK2J579Wqhr7INW61EcXpM0Kz9K
|
|
31
31
|
-----END CERTIFICATE-----
|
|
32
|
-
date: 2013-
|
|
32
|
+
date: 2013-12-15 00:00:00.000000000 Z
|
|
33
33
|
dependencies:
|
|
34
34
|
- !ruby/object:Gem::Dependency
|
|
35
35
|
name: dynarex
|
metadata.gz.sig
CHANGED
|
Binary file
|