pwned 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f655789ebeb4d8fc8cdd1a105960358b8995ecb2d65d50542c124dd025add187
4
- data.tar.gz: 32b7024253941258a9d93e3fd556c25d7dc5f1d91b55c414d547bce7cd81f042
3
+ metadata.gz: 226abf113cc3359c1157ed43ba530e83123673626ba5c36cb5431518c2236abf
4
+ data.tar.gz: bcbb22e607b9ac74c5d9aad4f73ab7995bdee8cdca77cc5a6d4048033289f565
5
5
  SHA512:
6
- metadata.gz: f298ab9734b71e795cb014986b93c37642539c45225add31f55a105a4238b0dcd57ae298682df0ad2ed69203d42f13181715dbcfeb1fe8f188a497e51f82cab9
7
- data.tar.gz: c494a1fd491608e0bee4d47a97b356ae22887b2a041e33348a8784c14fbe68d5ab78451eb2b2e255e0b2f1702d41424b5a2e0b83549a93a3a9a2dd86abd1ad39
6
+ metadata.gz: 012faac5d01ece3a5e7a1b56b127c7487cfe11a9d9d69c5b91727a4fcf938fc82ae62d95669a776b1dac87efbddc7073617991d5012738e5761978821310b812
7
+ data.tar.gz: e51e2f74240394f89a4ecf8ebae3336f3deeb2aff640df5eff937d917b79544467ba96bc42f208f9688c1fb22d510b4ace7f17715f96347ea2e3f9590ca1f7c2
@@ -9,8 +9,11 @@ jobs:
9
9
  fail-fast: false
10
10
  matrix:
11
11
  ruby: [2.6, 2.7, 3.0, 3.1, head]
12
- rails: [4.2.11.3, 5.0.7.2, 5.1.7, 5.2.4.4, 6.0.3.4, 6.1.0]
12
+ rails: [4.2.11.3, 5.0.7.2, 5.1.7, 5.2.4.4, 6.0.3.4, 6.1.0, 7.0.3.1]
13
13
  exclude:
14
+ # Ruby 2.6 and Rails 7 do not get along together.
15
+ - ruby: 2.6
16
+ rails: 7.0.3.1
14
17
  # Ruby 3.0 and Rails 5 do not get along together.
15
18
  - ruby: 3.0
16
19
  rails: 5.0.7.2
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## Ongoing [☰](https://github.com/philnash/pwned/compare/v2.4.0...master)
4
4
 
5
+ ## 2.4.1 (August 29, 2022) [☰](https://github.com/philnash/pwned/compare/v2.4.0...v2.4.1)
6
+
7
+ - Minor updates
8
+
9
+ - Adds French and Dutch translations
10
+ - Adds Rails 7 to the test matrix
11
+
5
12
  ## 2.4.0 (February 23, 2022) [☰](https://github.com/philnash/pwned/compare/v2.3.0...v2.4.0)
6
13
 
7
14
  - Minor updates
data/README.md CHANGED
@@ -36,11 +36,11 @@ An easy, Ruby way to use the Pwned Passwords API.
36
36
 
37
37
  ## About
38
38
 
39
- Troy Hunt's [Pwned Passwords API V2](https://haveibeenpwned.com/API/v2#PwnedPasswords) allows you to check if a password has been found in any of the huge data breaches.
39
+ Troy Hunt's [Pwned Passwords API](https://haveibeenpwned.com/API/v3#PwnedPasswords) allows you to check if a password has been found in any of the huge data breaches.
40
40
 
41
41
  `Pwned` is a Ruby library to use the Pwned Passwords API's [k-Anonymity model](https://www.troyhunt.com/ive-just-launched-pwned-passwords-version-2/#cloudflareprivacyandkanonymity) to test a password against the API without sending the entire password to the service.
42
42
 
43
- The data from this API is provided by [Have I been pwned?](https://haveibeenpwned.com/). Before using the API, please check [the acceptable uses and license of the API](https://haveibeenpwned.com/API/v2#AcceptableUse).
43
+ The data from this API is provided by [Have I been pwned?](https://haveibeenpwned.com/). Before using the API, please check [the acceptable uses and license of the API](https://haveibeenpwned.com/API/v3#AcceptableUse).
44
44
 
45
45
  Here is a blog post I wrote on [how to use this gem in your Ruby applications to make your users' passwords better](https://www.twilio.com/blog/2018/03/better-passwords-in-ruby-applications-pwned-passwords-api.html).
46
46
 
data/lib/locale/fr.yml ADDED
@@ -0,0 +1,5 @@
1
+ fr:
2
+ errors:
3
+ messages:
4
+ not_pwned: "est déjà apparu dans une brèche de données et ne doit pas être utilisé"
5
+ pwned_error: "n'a pas pu être vérifié par rapport aux brèches de données passées"
data/lib/locale/nl.yml ADDED
@@ -0,0 +1,5 @@
1
+ nl:
2
+ errors:
3
+ messages:
4
+ not_pwned: "is eerder verschenen in een datalek en mag niet worden gebruikt"
5
+ pwned_error: "kon niet worden geverifieerd in eerdere datalekken"
data/lib/pwned/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  module Pwned
4
4
  ##
5
5
  # The current version of the +pwned+ gem.
6
- VERSION = "2.4.0"
6
+ VERSION = '2.4.1'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwned
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Nash
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-23 00:00:00.000000000 Z
11
+ date: 2022-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -109,6 +109,8 @@ files:
109
109
  - bin/pwned
110
110
  - bin/setup
111
111
  - lib/locale/en.yml
112
+ - lib/locale/fr.yml
113
+ - lib/locale/nl.yml
112
114
  - lib/pwned.rb
113
115
  - lib/pwned/deep_merge.rb
114
116
  - lib/pwned/error.rb