pwm 1.0.1 → 1.0.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.
- data/.gemtest +0 -0
- data/.gitignore +1 -0
- data/README.md +8 -3
- data/lib/pwm.rb +1 -1
- data/lib/pwm/version.rb +1 -1
- data/pwm.gemspec +0 -2
- data/spec/pwm_spec.rb +2 -2
- metadata +12 -6
data/.gemtest
ADDED
File without changes
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# pwm
|
2
2
|
|
3
|
-
pwm very simply generates reasonably secure passwords. That's it; that's
|
3
|
+
pwm very simply generates reasonably secure passwords. That's it; that's
|
4
|
+
all it does.
|
4
5
|
|
5
|
-
Passwords are chosen from the set of all upper-case
|
6
|
+
Passwords are chosen from the set of all upper-case letters except I and
|
7
|
+
O, all lower-case letters except l, and the digits 2 through 9. 0 and O
|
8
|
+
are not used to avoid confusion with each other. I, l, and 1 are not
|
9
|
+
used for the same reason.
|
6
10
|
|
7
11
|
## Usage
|
8
12
|
|
@@ -22,4 +26,5 @@ Mark Cornick <mark@markcornick.com>
|
|
22
26
|
|
23
27
|
## (Lack of) Copyright
|
24
28
|
|
25
|
-
To the extent possible under law, Mark Cornick has waived all copyright
|
29
|
+
To the extent possible under law, Mark Cornick has waived all copyright
|
30
|
+
and related or neighboring rights to pwm.
|
data/lib/pwm.rb
CHANGED
data/lib/pwm/version.rb
CHANGED
data/pwm.gemspec
CHANGED
@@ -11,8 +11,6 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.summary = %q{A reasonably secure password maker}
|
12
12
|
s.description = %q{A tiny class and command-line tool to generate reasonably secure passwords.}
|
13
13
|
|
14
|
-
s.rubyforge_project = "pwm"
|
15
|
-
|
16
14
|
s.files = `git ls-files`.split("\n")
|
17
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
16
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
data/spec/pwm_spec.rb
CHANGED
@@ -2,8 +2,8 @@ require 'pwm'
|
|
2
2
|
|
3
3
|
describe Pwm do
|
4
4
|
context 'The default set of characters' do
|
5
|
-
it 'includes all upper-case letters except I' do
|
6
|
-
(('A'..'Z').to_a - ['I']).each do |letter|
|
5
|
+
it 'includes all upper-case letters except I and O' do
|
6
|
+
(('A'..'Z').to_a - ['I', 'O']).each do |letter|
|
7
7
|
Pwm.characters.should include(letter)
|
8
8
|
end
|
9
9
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pwm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,12 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
25
30
|
description: A tiny class and command-line tool to generate reasonably secure passwords.
|
26
31
|
email:
|
27
32
|
- mark@markcornick.com
|
@@ -30,6 +35,7 @@ executables:
|
|
30
35
|
extensions: []
|
31
36
|
extra_rdoc_files: []
|
32
37
|
files:
|
38
|
+
- .gemtest
|
33
39
|
- .gitignore
|
34
40
|
- Gemfile
|
35
41
|
- README.md
|
@@ -58,8 +64,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
64
|
- !ruby/object:Gem::Version
|
59
65
|
version: '0'
|
60
66
|
requirements: []
|
61
|
-
rubyforge_project:
|
62
|
-
rubygems_version: 1.8.
|
67
|
+
rubyforge_project:
|
68
|
+
rubygems_version: 1.8.22
|
63
69
|
signing_key:
|
64
70
|
specification_version: 3
|
65
71
|
summary: A reasonably secure password maker
|