simple-password-gen 0.1.3 → 0.1.4
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.
- data/README.rdoc +10 -4
- data/Rakefile +2 -0
- data/lib/simple-password-gen/version.rb +4 -4
- data/simple-password-gen.gemspec +6 -3
- metadata +17 -6
data/README.rdoc
CHANGED
@@ -1,13 +1,19 @@
|
|
1
|
-
== Simple
|
1
|
+
== Simple Password Generator
|
2
2
|
|
3
3
|
This class will generate either a pronouncable or complete random
|
4
4
|
password.
|
5
5
|
|
6
|
+
== Installation
|
7
|
+
|
8
|
+
Simply install the generator with Rubygems:
|
9
|
+
|
10
|
+
$ gem install simple-password-generator
|
11
|
+
|
6
12
|
== Example
|
7
13
|
|
8
14
|
You may +require+ this file and generate some password, like:
|
9
15
|
|
10
|
-
require '
|
16
|
+
require 'simple-password-generator'
|
11
17
|
puts Password.pronouncable # => "nduslihefrash"
|
12
18
|
puts Password.random(4) # => "w'ds"
|
13
19
|
pw = Password.new (1..10) # => #<Password:0x9678514 ...>
|
@@ -20,8 +26,8 @@ You may +require+ this file and generate some password, like:
|
|
20
26
|
|
21
27
|
Alternatively, you may simply run this file as commandline application:
|
22
28
|
|
23
|
-
$
|
24
|
-
|
29
|
+
$ simple-password-generator -h
|
30
|
+
simple-password-generator [--length/-l len] [--number/-n num]
|
25
31
|
Generates <n> password(s) with appox. length <len>.
|
26
32
|
Will fail if n is less than 1 or len is less than 5.
|
27
33
|
Defaults: length=10, number=3
|
data/Rakefile
CHANGED
data/simple-password-gen.gemspec
CHANGED
@@ -10,12 +10,15 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.email = ["dmke@tzi.de"]
|
11
11
|
s.homepage = "http://github.org/dmke/simple-password-gen"
|
12
12
|
s.summary = %q{Simple password generator to create pronounceable or random passowords.}
|
13
|
-
s.description =
|
14
|
-
|
15
|
-
s.rubyforge_project = ""
|
13
|
+
s.description = s.summary + "\n\nThis gem comes with an executable and might also be required."
|
16
14
|
|
17
15
|
s.files = `git ls-files`.split("\n")
|
18
16
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
18
|
s.require_paths = ["lib"]
|
19
|
+
|
20
|
+
s.rdoc_options << '--title' << 'Simple Password Generator' <<
|
21
|
+
'--main' << 'README.rdoc' << '--show-hash' <<
|
22
|
+
`git ls-files -- lib/*`.split("\n") <<
|
23
|
+
'README.rdoc' << 'LICENSE'
|
21
24
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 4
|
9
|
+
version: 0.1.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Dominik Menke
|
@@ -18,7 +18,10 @@ date: 2011-01-19 00:00:00 +01:00
|
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
21
|
-
description:
|
21
|
+
description: |-
|
22
|
+
Simple password generator to create pronounceable or random passowords.
|
23
|
+
|
24
|
+
This gem comes with an executable and might also be required.
|
22
25
|
email:
|
23
26
|
- dmke@tzi.de
|
24
27
|
executables:
|
@@ -42,8 +45,16 @@ homepage: http://github.org/dmke/simple-password-gen
|
|
42
45
|
licenses: []
|
43
46
|
|
44
47
|
post_install_message:
|
45
|
-
rdoc_options:
|
46
|
-
|
48
|
+
rdoc_options:
|
49
|
+
- --title
|
50
|
+
- Simple Password Generator
|
51
|
+
- --main
|
52
|
+
- README.rdoc
|
53
|
+
- --show-hash
|
54
|
+
- - lib/simple-password-gen.rb
|
55
|
+
- lib/simple-password-gen/version.rb
|
56
|
+
- README.rdoc
|
57
|
+
- LICENSE
|
47
58
|
require_paths:
|
48
59
|
- lib
|
49
60
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -64,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
75
|
version: "0"
|
65
76
|
requirements: []
|
66
77
|
|
67
|
-
rubyforge_project:
|
78
|
+
rubyforge_project:
|
68
79
|
rubygems_version: 1.3.7
|
69
80
|
signing_key:
|
70
81
|
specification_version: 3
|