dynarex-password 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex-password.rb +2 -2
- metadata +3 -5
data/lib/dynarex-password.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
# file: dynarex-password.rb
|
4
4
|
|
@@ -35,7 +35,7 @@ class DynarexPassword
|
|
35
35
|
end
|
36
36
|
|
37
37
|
string = weak_password.split(//).map do |char|
|
38
|
-
dynarex.records[char][:body][:value]
|
38
|
+
char[/[0-9A-Za-z]/] ? dynarex.records[char][:body][:value] : char
|
39
39
|
end
|
40
40
|
|
41
41
|
string.join
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dynarex-password
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- James Robertson
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
14
|
-
default_executable:
|
13
|
+
date: 2012-09-23 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: dynarex
|
@@ -34,7 +33,6 @@ extra_rdoc_files: []
|
|
34
33
|
|
35
34
|
files:
|
36
35
|
- lib/dynarex-password.rb
|
37
|
-
has_rdoc: true
|
38
36
|
homepage:
|
39
37
|
licenses: []
|
40
38
|
|
@@ -58,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
56
|
requirements: []
|
59
57
|
|
60
58
|
rubyforge_project:
|
61
|
-
rubygems_version: 1.
|
59
|
+
rubygems_version: 1.8.23
|
62
60
|
signing_key:
|
63
61
|
specification_version: 3
|
64
62
|
summary: dynarex-password
|