mkpassword 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/mkpassword +1 -1
- data/lib/mkpassword/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85c1f3984dce775f682764bad6227cb2081bb585ddbb8fcd078fc2eb337fb419
|
4
|
+
data.tar.gz: 8d03be517732af4c90727f0868032ac6f128c8cc335d1c50dbaf2e58c137dd88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00f31b5defc7b1e896e316164765d1415cd5ff6704044f2448c032684a4c20400072fe13463334dee1b487f06a95975af6dece5649282ca2610734bd6452b12c
|
7
|
+
data.tar.gz: b42ca4cd6069677c4b6d8ca6b4545c22e36d958e68b1e1712d700e8534f0e2450acbac791648d0a172b75c572e99ee4796fe37f609fd494f6f405c60d990634e
|
data/exe/mkpassword
CHANGED
@@ -31,7 +31,7 @@ if (l - s) < 1 or l < 1 or c < 1
|
|
31
31
|
end
|
32
32
|
|
33
33
|
c.times {
|
34
|
-
alphanumerics = SecureRandom.alphanumeric(l - s).
|
34
|
+
alphanumerics = SecureRandom.alphanumeric(l - s).chars
|
35
35
|
specialchars = s.times.map { special_src[SecureRandom.random_number(special_src.size)] }
|
36
36
|
results = (alphanumerics + specialchars).shuffle.join
|
37
37
|
puts results
|
data/lib/mkpassword/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mkpassword
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- s3fxn
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -92,8 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
|
96
|
-
rubygems_version: 2.7.6
|
95
|
+
rubygems_version: 3.1.2
|
97
96
|
signing_key:
|
98
97
|
specification_version: 4
|
99
98
|
summary: mkpassword - simple password generator
|