pwned 1.2.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -9
- data/CHANGELOG.md +44 -17
- data/README.md +117 -7
- data/bin/pwned +52 -0
- data/docs/NotPwnedValidator.html +23 -17
- data/docs/Pwned.html +30 -22
- data/docs/Pwned/Error.html +3 -3
- data/docs/Pwned/Password.html +60 -49
- data/docs/Pwned/TimeoutError.html +3 -3
- data/docs/PwnedValidator.html +3 -3
- data/docs/_index.html +4 -4
- data/docs/css/style.css +4 -7
- data/docs/file.README.html +147 -17
- data/docs/frames.html +1 -1
- data/docs/index.html +147 -17
- data/docs/js/app.js +55 -0
- data/docs/top-level-namespace.html +3 -3
- data/lib/pwned.rb +6 -6
- data/lib/pwned/password.rb +44 -11
- data/lib/pwned/version.rb +1 -1
- data/pwned.gemspec +10 -1
- metadata +20 -7
data/lib/pwned/version.rb
CHANGED
data/pwned.gemspec
CHANGED
@@ -13,12 +13,21 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = "https://github.com/philnash/pwned"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
|
+
spec.metadata = {
|
17
|
+
"bug_tracker_uri" => "https://github.com/philnash/pwned/issues",
|
18
|
+
"change_log_uri" => "https://github.com/philnash/pwned/blob/master/CHANGELOG.md",
|
19
|
+
"documentation_uri" => "https://philnash.github.io/pwned/",
|
20
|
+
"homepage_uri" => "https://github.com/philnash/pwned",
|
21
|
+
"source_code_uri" => "https://github.com/philnash/pwned"
|
22
|
+
}
|
23
|
+
|
16
24
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
25
|
f.match(%r{^(test|spec|features)/})
|
18
26
|
end
|
19
27
|
spec.require_paths = ["lib"]
|
28
|
+
spec.executables = ["pwned"]
|
20
29
|
|
21
|
-
spec.add_development_dependency "bundler", "
|
30
|
+
spec.add_development_dependency "bundler", ">= 1.16", "< 3.0"
|
22
31
|
spec.add_development_dependency "rake", "~> 10.0"
|
23
32
|
spec.add_development_dependency "rspec", "~> 3.0"
|
24
33
|
spec.add_development_dependency "webmock", "~> 3.3"
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pwned
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phil Nash
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.16'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3.0'
|
20
23
|
type: :development
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1.16'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rake
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -83,7 +89,8 @@ dependencies:
|
|
83
89
|
description: Tools to use the Pwned Passwords API.
|
84
90
|
email:
|
85
91
|
- philnash@gmail.com
|
86
|
-
executables:
|
92
|
+
executables:
|
93
|
+
- pwned
|
87
94
|
extensions: []
|
88
95
|
extra_rdoc_files: []
|
89
96
|
files:
|
@@ -98,6 +105,7 @@ files:
|
|
98
105
|
- README.md
|
99
106
|
- Rakefile
|
100
107
|
- bin/console
|
108
|
+
- bin/pwned
|
101
109
|
- bin/setup
|
102
110
|
- docs/NotPwnedValidator.html
|
103
111
|
- docs/Pwned.html
|
@@ -129,7 +137,12 @@ files:
|
|
129
137
|
homepage: https://github.com/philnash/pwned
|
130
138
|
licenses:
|
131
139
|
- MIT
|
132
|
-
metadata:
|
140
|
+
metadata:
|
141
|
+
bug_tracker_uri: https://github.com/philnash/pwned/issues
|
142
|
+
change_log_uri: https://github.com/philnash/pwned/blob/master/CHANGELOG.md
|
143
|
+
documentation_uri: https://philnash.github.io/pwned/
|
144
|
+
homepage_uri: https://github.com/philnash/pwned
|
145
|
+
source_code_uri: https://github.com/philnash/pwned
|
133
146
|
post_install_message:
|
134
147
|
rdoc_options: []
|
135
148
|
require_paths:
|
@@ -146,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
159
|
version: '0'
|
147
160
|
requirements: []
|
148
161
|
rubyforge_project:
|
149
|
-
rubygems_version: 2.7.6
|
162
|
+
rubygems_version: 2.7.6.2
|
150
163
|
signing_key:
|
151
164
|
specification_version: 4
|
152
165
|
summary: Tools to use the Pwned Passwords API.
|