random-password 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 65023d19fcf746c04dd1dd72cda7375157364c6d
4
- data.tar.gz: 93559b7095fa6a5bba8dac4464eddcb81f6066ea
3
+ metadata.gz: 4fc2f0d9f84d6560cac5a8cb42dab1d69cf5ca02
4
+ data.tar.gz: 72c442665202c3c61dd7d6faae4dbb8ca196bc23
5
5
  SHA512:
6
- metadata.gz: 002c77e48f62ab0809e8e55e604e04677fc0ad5695fb4d775941d5ae034008925d720262f10b5e423b024276ebd078b79c8ddfa02262df9e82f412379320db76
7
- data.tar.gz: 9db4aa0ff1c08c8230744e8ac6f54bb6dcceee5922f8065980410f9da83c59356157a6db560e905f139954bb5229349694b423b55097bab06127a3cefbb014f7
6
+ metadata.gz: 4a579c8098ba6c015802429ba631f7fad5ceb3b4f5d405179c42b89dfe0a7e4216f0af7a16e3b5c5f26817b6b1924f28a760f09811fc460e083610775b83a88b
7
+ data.tar.gz: 2925422b84702cb8ebc2f609112eec0aa56354aa440bf968d28b4f15183446ac5699cd47a00bf288cb04cd337862ac58fbffde0f0a88292234d9895cdfabfeb1
data/README.md CHANGED
@@ -1,3 +1,4 @@
1
+ # require 'random/password'
1
2
  # include RandomPassword
2
3
  # generate(strength = 8) => An 8 letter random string password
3
4
 
@@ -22,8 +23,9 @@ Or install it yourself as:
22
23
 
23
24
  ## Usage
24
25
 
25
- include RandomPassword
26
- random_password = generate(16)
26
+ # require 'random/password';
27
+ # include RandomPassword;
28
+ # random_password = generate(16)
27
29
 
28
30
  ## Development
29
31
 
@@ -33,7 +35,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
33
35
 
34
36
  ## Contributing
35
37
 
36
- Bug reports and pull requests are welcome on GitHub at https://github.com/a7madx7/random-password.
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/a7madx7/random_password.
37
39
 
38
40
 
39
41
  ## License
@@ -8,6 +8,6 @@ module RandomPassword
8
8
  # get random 16 characters from this array
9
9
  original = (0...strength).map { seed[rand(seed.length)] }.join
10
10
  # just to be sure, randomize them once more
11
- original.split('').shuffle.join
11
+ original.reverse!.split('').shuffle.join
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module RandomPassword
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: random-password
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
  - a7madx7
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-25 00:00:00.000000000 Z
11
+ date: 2016-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler