pwned_passwords 0.0.3 → 0.0.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pwned_passwords.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4dac3d97a7a71263f3e8b19a986f70270b1d47ba1a59d20394318acadb165165
4
- data.tar.gz: c5767daa36156744b6251f10317cc7b4d8144d2fb2a0d377a631608165a770a6
3
+ metadata.gz: 8505686e542e62eea2a23b9beb2abd2241a883171d0687f80688ea19fc10474a
4
+ data.tar.gz: c60a83ba9d5a24eb474a6b6826f5fd2bfe69159ad00a9e539bef5ff9626bc955
5
5
  SHA512:
6
- metadata.gz: cc29f435714b20a6ab129211da7487c2620346425d5066494cf8a0ff9365734d7de7d2894fb63e2970b87872b03c9c81e13016973a2a0a20dc47af9a1d105030
7
- data.tar.gz: 1e830f4471b733aa42c911253d888cb3bfa53ecf21132e526a622e143ec9f89c149c390dd2f9f7b922032233c202450c2215b1fad8fa791e4a451ff4493dc28b
6
+ metadata.gz: dc04b469fa86fde7bd04e1216c04c63f8d7c046b6c5356921764fed6d2452b203e5650ac714c59c27533e0cbe4917ad46a63821361d1f9ec45a0a364b2f4955c
7
+ data.tar.gz: 41a74b1f18fc8a3165cfdfa24816632d510d4a2b7de06b86fe59b646a3edbaefb51ea0cec2ebaa34688ca35fcd5dacbd7f059f202c3bdcd39617d58bf03522ba
@@ -24,7 +24,7 @@ class PwnedPasswords
24
24
  end
25
25
  if password_score > 100
26
26
  puts "This password has been detected in too many breaches"
27
- elsif (password_score > 20 & password_score < 100)
27
+ elsif (password_score > 20 && password_score < 100)
28
28
  puts "This password is not great. Consider changing it."
29
29
  else
30
30
  puts "This password is okay"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwned_passwords
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oliver Day