simple-password-gen 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +3 -1
- data/lib/simple-password-gen.rb +1 -1
- data/lib/simple-password-gen/version.rb +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -33,8 +33,10 @@ Alternatively, you may simply run this file as commandline application:
|
|
33
33
|
Defaults: length=10, number=3
|
34
34
|
|
35
35
|
== Author
|
36
|
+
|
36
37
|
Dominik Menke, <tt>dmke(at)tzi(dot)org</tt>
|
37
38
|
|
38
39
|
== License
|
39
|
-
|
40
|
+
|
41
|
+
Simplified BSD License. See the file LICENSE.
|
40
42
|
|
data/lib/simple-password-gen.rb
CHANGED
@@ -8,7 +8,7 @@ class Password
|
|
8
8
|
# vowels and sound-alike +y+
|
9
9
|
VOWELS = %w(a e i o u y)
|
10
10
|
# some characters
|
11
|
-
CHARS = (('a'..'z').to_a + ('0'..'9').to_a + "%&/()[]!\"§$,.-;:_#'+*?".split(//u)) - "
|
11
|
+
CHARS = (('A'..'Z').to_a + ('a'..'z').to_a + ('0'..'9').to_a + "%&/()[]!\"§$,.-;:_#'+*?".split(//u)) - "io01lO".split(//u)
|
12
12
|
|
13
13
|
# Creates a new password generator. The length +len+ might be an
|
14
14
|
# +Integer+ or a +Range+.
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 5
|
9
|
+
version: 0.1.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Dominik Menke
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-01-
|
17
|
+
date: 2011-01-21 00:00:00 +01:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|