persona_api 0.3.1 → 0.3.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21804f1ba92f091e929df122f5e8b629d9b531aa28c1b97d7deb1087412b8993
4
- data.tar.gz: 34b789f47efe266d02401b23af54a2dc82a8336c80b64bca9bfb23349e47cb1a
3
+ metadata.gz: 8ab154ac98fb078f5dc89e9f33b8b0ccb92c1d7f20315a3ed333fabb90a94b88
4
+ data.tar.gz: 1cbf55f1d433638da836e30fed472a342316eac2421123dad7e07b7d58a4e408
5
5
  SHA512:
6
- metadata.gz: 5d8ec8ddaf0a51367e54024dde0aa831950a85bc3154406c3107f527a2f6d7c1b2b33ccb368d7994bf2de275989c4607acb1509095511d60e406bb6b125a2cd6
7
- data.tar.gz: b1059f4cad1a3023fa6f0f2adebce6efc81e61c9e32231f8a1256622980796431c35dd3a42c748a26cd78eec108106003d52625ba7afc00006e36c9ad599bafe
6
+ metadata.gz: 54296fc332f7a3150a433f2fba6edc4aa8c429dd44fc388ace3e5b1d9521671c5292ac2c0ebd74a52e2ce0703e7903c42aa41fd9ea0a10ffd53b82359d96025b
7
+ data.tar.gz: 88180a75cf60688b524879c048a5ec4b3486ce1a93c7e8762d2df1162fb8b69485ece8206e5ea26157447fc58ac1d715f0ab8ea1f3b70f27b090217430f49654
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ == [0.3.1.1] - 2022-12-06
2
+
3
+ * Bug fixes
4
+
1
5
  == [0.3.1] - 2022-12-06
2
6
 
3
7
  * DB & GovID verification bug fixes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- persona_api (0.3.0)
4
+ persona_api (0.3.1)
5
5
  faraday (~> 1.7)
6
6
  faraday_middleware (~> 1.1)
7
7
 
@@ -9,7 +9,7 @@ GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  diff-lcs (1.5.0)
12
- faraday (1.10.0)
12
+ faraday (1.10.2)
13
13
  faraday-em_http (~> 1.0)
14
14
  faraday-em_synchrony (~> 1.0)
15
15
  faraday-excon (~> 1.1)
@@ -10,8 +10,8 @@ module PersonaApi
10
10
  DatabaseVerification.new get_request("verification/databases/#{ver_id}").body.dig("data")
11
11
  end
12
12
 
13
- def submit(ver_id:)
14
- DatabaseVerification.new post_request("verification/databases/#{ver_id}/submit").body.dig("data")
13
+ def submit(ver_id:, **attributes)
14
+ DatabaseVerification.new post_request("verification/databases/#{ver_id}/submit", body: attributes).body.dig("data")
15
15
  end
16
16
  end
17
17
  end
@@ -10,8 +10,8 @@ module PersonaApi
10
10
  GovernmentIdVerification.new get_request("verification/government-ids/#{ver_id}").body.dig("data")
11
11
  end
12
12
 
13
- def submit(ver_id:)
14
- GovernmentIdVerification.new post_request("verification/government-ids/#{ver_id}/submit").body.dig("data")
13
+ def submit(ver_id:, **attributes)
14
+ GovernmentIdVerification.new post_request("verification/government-ids/#{ver_id}/submit", body: attributes).body.dig("data")
15
15
  end
16
16
  end
17
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PersonaApi
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: persona_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Griffith