pwned_passwords 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pwned_passwords.rb +1 -1
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8505686e542e62eea2a23b9beb2abd2241a883171d0687f80688ea19fc10474a
4
- data.tar.gz: c60a83ba9d5a24eb474a6b6826f5fd2bfe69159ad00a9e539bef5ff9626bc955
3
+ metadata.gz: c6c0bd9ec5d722fe50c3a6d57e5bec257c677d055ea955a46d340341863e93bb
4
+ data.tar.gz: c98cbe9ff713a3e79def2a6d8e0206e64eecd918846bfb442161e765aaa2e0db
5
5
  SHA512:
6
- metadata.gz: dc04b469fa86fde7bd04e1216c04c63f8d7c046b6c5356921764fed6d2452b203e5650ac714c59c27533e0cbe4917ad46a63821361d1f9ec45a0a364b2f4955c
7
- data.tar.gz: 41a74b1f18fc8a3165cfdfa24816632d510d4a2b7de06b86fe59b646a3edbaefb51ea0cec2ebaa34688ca35fcd5dacbd7f059f202c3bdcd39617d58bf03522ba
6
+ metadata.gz: 3c5dcbff242f824dbc53403503edf5613126aa7e2d141b1e3d0bc2fd3f217b278f4b61a1b79c26a2f0a98eed9a567902acd54b589c5a69b60d0a29a388861a49
7
+ data.tar.gz: 2d97f98214d2542e1cc9a49f655698c014392bfa254dbd3de2d11ab024de113a165790fe4479c6cb2d9b6880ff7a7333a62634156c4142e539d9e04b1492a767
@@ -22,7 +22,7 @@ class PwnedPasswords
22
22
  end
23
23
  end
24
24
  end
25
- if password_score > 100
25
+ if password_score >= 100
26
26
  puts "This password has been detected in too many breaches"
27
27
  elsif (password_score > 20 && password_score < 100)
28
28
  puts "This password is not great. Consider changing it."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwned_passwords
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Day
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-22 00:00:00.000000000 Z
11
+ date: 2019-08-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Checks against the Pwned Passwords API using the first five characters
14
14
  of the SHA1 hash of a password to determine if it exists in previously disclosed
@@ -38,8 +38,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0'
40
40
  requirements: []
41
- rubyforge_project:
42
- rubygems_version: 2.7.3
41
+ rubygems_version: 3.0.4
43
42
  signing_key:
44
43
  specification_version: 4
45
44
  summary: Checks Pwned Passwords API for passwords disclosed in previous breaches.