humpass 0.1.13 → 0.1.14
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
- data/Gemfile.lock +1 -1
- data/README.md +11 -3
- data/exe/humpass +8 -0
- data/lib/humpass/version.rb +1 -1
- data/lib/humpass.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2dd384f46628b56f4aaf22eea8ef1514496bc55
|
4
|
+
data.tar.gz: 0d6dd4e5e1679580e0d1a5f4c2f829f74b22cbb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 692640c9c6245b27272a08c3f6b8dcbf9516f4d2a14d9ec3972b71e6806f60a0eda2b0be80f711f5e6ebbb3f2aefd6a80190448a252421466f61066e7bfe08d8
|
7
|
+
data.tar.gz: 9fecac18d7c4fd776c54cc63b4aa2510a2010265d8f96f0032069ef9d161723f8ca3c0446ffa8e2167dfd6d09cdea80478e2e0152759352c4dada698c096de07
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
Ruby Application for Creating random passwords and storing them secured.
|
4
4
|
|
5
|
+
You should have a password for each service that you use, but keep these passwords in order is essencially hard because, of course, they are different form each other.
|
6
|
+
|
7
|
+
SO... You don't need to know them at all.
|
8
|
+
|
9
|
+
That's what this app does. It generate passwords for each service and them, it manages it for you securely.
|
10
|
+
|
11
|
+
How about that?
|
12
|
+
|
5
13
|
## Installation
|
6
14
|
|
7
15
|
Add this line to your application's Gemfile:
|
@@ -21,9 +29,9 @@ Or install it yourself as:
|
|
21
29
|
## Usage
|
22
30
|
|
23
31
|
Type:
|
24
|
-
|
25
|
-
$ humpass --help
|
26
|
-
|
32
|
+
|
33
|
+
$ humpass --help
|
34
|
+
|
27
35
|
To get instructions
|
28
36
|
|
29
37
|
## Development
|
data/exe/humpass
CHANGED
@@ -25,6 +25,10 @@ OptionParser.new do |opts|
|
|
25
25
|
options[:get_pass] = place
|
26
26
|
end
|
27
27
|
|
28
|
+
opts.on("-d","--deletepass [PLACE]", "Deletes password from place") do |place|
|
29
|
+
options[:delete_pass] = place
|
30
|
+
end
|
31
|
+
|
28
32
|
opts.on("-l","--list", "List Passwords") do |list|
|
29
33
|
options[:list] = list
|
30
34
|
end
|
@@ -53,6 +57,10 @@ if options.has_key?(:get_pass)
|
|
53
57
|
print "#{options[:get_pass]}: #{Humpass.get_password(options[:get_pass])}\n"
|
54
58
|
end
|
55
59
|
|
60
|
+
if options.has_key?(:delete_pass)
|
61
|
+
print "#{options[:delete_pass]}: #{Humpass.remove_password(options[:delete_pass])}\n"
|
62
|
+
end
|
63
|
+
|
56
64
|
if options.has_key?(:list)
|
57
65
|
Humpass.list_passwords.each do |password|
|
58
66
|
print"#{password.first}: #{password.last} \n"
|
data/lib/humpass/version.rb
CHANGED
data/lib/humpass.rb
CHANGED