mkpassword 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -0
- data/exe/mkpassword +3 -0
- data/lib/mkpassword/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6111b81e0f12431b98b1156ddf826c4ca2e069299da95c12954b14a1e56ec95
|
4
|
+
data.tar.gz: 627cca5fecd0b0e5bbb669f9bbb4d9860851893774d379b22d06590860ac11a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7399b7b7ab4404102a83050c3453af918333e4575890f6faad5980649cf2bad2ff55ed43e56457602bed1e83e2ba4f04b2b9fbe974f1c2b38242115275e3cb42
|
7
|
+
data.tar.gz: f90985bbc56557793169b3bf8f693be090ed95735c6afcee232a47ae344e4f8a1fed7e376d3548dca7abcbf02540b723b3eac797ec3e1d1106f13c75a8cc5d50
|
data/README.md
CHANGED
@@ -34,6 +34,22 @@ UsJgZSR1^K0W;kM
|
|
34
34
|
|
35
35
|
```
|
36
36
|
|
37
|
+
## Usage with docker
|
38
|
+
|
39
|
+
```
|
40
|
+
$ docker run ruby:2.6.5 /bin/bash -c "gem install mkpassword >/dev/null ; mkpassword -s 2 -l 15 -c 10"
|
41
|
+
0Ojuik'5p&pjnaS
|
42
|
+
yN9nHg_#PE571FG
|
43
|
+
60Idwa53\3EtXS'
|
44
|
+
-2&JiiZ43uDh5Js
|
45
|
+
?h88$wu8w2y86YE
|
46
|
+
gF@1wSHInnAeZ&p
|
47
|
+
9R%MjV6xF3ivil_
|
48
|
+
95x9rvhNze"1nY/
|
49
|
+
NAwEOoE*FQg$R7d
|
50
|
+
bHUHUzcnTc2{L^o
|
51
|
+
```
|
52
|
+
|
37
53
|
## Contributing
|
38
54
|
|
39
55
|
Bug reports and pull requests are welcome on GitHub at https://github.com/s3fxn/mkpassword.
|
data/exe/mkpassword
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
require 'mkpassword'
|
3
4
|
require 'optparse'
|
4
5
|
require 'securerandom'
|
5
6
|
|
7
|
+
Version = Mkpassword::VERSION
|
6
8
|
params = ARGV.getopts("l:s:c:","help")
|
7
9
|
|
8
10
|
if params['help']
|
@@ -11,6 +13,7 @@ Usage: #{$0} [options]
|
|
11
13
|
-l length (default:12)
|
12
14
|
-s number of special characters (default:0)
|
13
15
|
-c count (default:1)
|
16
|
+
-v show version
|
14
17
|
|
15
18
|
"
|
16
19
|
exit
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- s3fxn
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|