password_generator_cli 0.1.0 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51e68d5d5fc4ac5e73a425b59a5a40546cfdc48511399d3665b1f59b0337db28
4
- data.tar.gz: 89502a8fadad82d032bae818627695dc2fe4fdae79e57290534fa4e64f833f4b
3
+ metadata.gz: 59b1121e1a982c3df5ccde918a10dd760c2a11b139773c31a536d129b4e3d652
4
+ data.tar.gz: 26b6291bf568dc5bbae7680592299c9f3a886d8f84cf76f8121e3eec49c05b34
5
5
  SHA512:
6
- metadata.gz: 28b4325600447e1d46e9e7e8fba795d71f5995dfef1e3a7477a8411e5f7945884bc06ae3bfa643a08c15d22b144ddd445b834b9d696c6c2bfdd0d278403f077a
7
- data.tar.gz: '09ae7d023dc028a15708421e5ccd710d0523f0b501bdd051b9aa04e46eb74c9dd646beba13f0545a020b069fc766bec689f09dae5ae5fd95cddd70959e553bb8'
6
+ metadata.gz: 7f7331f58811c010e492f05396b1685c93c4fe6496ce4b9ef20fb16792dee8183dce4a8ab0e456bd3c7930c91194ff8859819799c0a1f4a248b0be703d3e0e58
7
+ data.tar.gz: 35986fcb70a7c3e8a36c1346344f64f4e8c33408df5a324d92aaf00762665af12ee2cb12c2a824956d2be5297c94095d835129ac8c870b3563a01b8162b28c60
data/README.md CHANGED
@@ -8,9 +8,12 @@
8
8
  > A password generator build on learning purpouses
9
9
 
10
10
  ## Usage
11
- :construction:
12
- I still need to figure out how to make it easy to distribute as some kind of binary
11
+ ### Install
12
+ ```sh
13
+ gem install password_generator_cli
14
+ ```
13
15
 
16
+ ### Examples
14
17
  ```sh
15
18
  # Generic usage
16
19
  pgen [OPTIONS]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PasswordGenerator
4
- VERSION = '0.1.0'
4
+ VERSION = '0.2.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: password_generator_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vinicius Kammradt
@@ -10,7 +10,35 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2022-01-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description:
13
+ description: |
14
+ ## Usage
15
+ ### Install
16
+ ```sh
17
+ gem install password_generator_cli
18
+ ```
19
+
20
+ ### Examples
21
+ ```sh
22
+ # Generic usage
23
+ pgen [OPTIONS]
24
+
25
+ # Minimal example (using all defaults)
26
+ # 12 chars, being a to z, A to Z, 0 to 9 and ! to /
27
+ pgen
28
+ > 5ugvs5.JOv!1
29
+
30
+ # Changing the default length
31
+ pgen -l 32
32
+ > mtu2WUh+M8ry2qw&YO#mI.Y!aSd43noi
33
+
34
+ # Generating a pin (only numbers)
35
+ pgen -p -l 8
36
+ > 27843429
37
+
38
+ # Generating without special characters (default is true)
39
+ pgen -s false -l 8
40
+ > HvLaAWB1
41
+ ```
14
42
  email:
15
43
  - vinicius.kammradt1@gmail.com
16
44
  executables: