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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6111b81e0f12431b98b1156ddf826c4ca2e069299da95c12954b14a1e56ec95
4
- data.tar.gz: 627cca5fecd0b0e5bbb669f9bbb4d9860851893774d379b22d06590860ac11a8
3
+ metadata.gz: 85c1f3984dce775f682764bad6227cb2081bb585ddbb8fcd078fc2eb337fb419
4
+ data.tar.gz: 8d03be517732af4c90727f0868032ac6f128c8cc335d1c50dbaf2e58c137dd88
5
5
  SHA512:
6
- metadata.gz: 7399b7b7ab4404102a83050c3453af918333e4575890f6faad5980649cf2bad2ff55ed43e56457602bed1e83e2ba4f04b2b9fbe974f1c2b38242115275e3cb42
7
- data.tar.gz: f90985bbc56557793169b3bf8f693be090ed95735c6afcee232a47ae344e4f8a1fed7e376d3548dca7abcbf02540b723b3eac797ec3e1d1106f13c75a8cc5d50
6
+ metadata.gz: 00f31b5defc7b1e896e316164765d1415cd5ff6704044f2448c032684a4c20400072fe13463334dee1b487f06a95975af6dece5649282ca2610734bd6452b12c
7
+ data.tar.gz: b42ca4cd6069677c4b6d8ca6b4545c22e36d958e68b1e1712d700e8534f0e2450acbac791648d0a172b75c572e99ee4796fe37f609fd494f6f405c60d990634e
@@ -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).split(//)
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
@@ -1,3 +1,3 @@
1
1
  module Mkpassword
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-10-14 00:00:00.000000000 Z
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
- rubyforge_project:
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