instant_quote 1.7.22 → 1.7.24

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: 2cfb3948ee04a205206b34fccf2f026860d98251ea360c89b15a61b4237bc676
4
- data.tar.gz: 769bf102eb00fe3af4fd0feb54fbc7d497839ae4198bfeb5ea1c320e50dc8483
3
+ metadata.gz: b2a55ef0c8394b418534601643c4600bfe5eaf4557737024b5e7334f7bd31477
4
+ data.tar.gz: c3798041fd702fc7920e5973e575f5468176e17e2ac6f4e7e218d7bbb35ecc08
5
5
  SHA512:
6
- metadata.gz: cd5fc9c98403f895a5b0c0297e567867e065a8f4a2f488368604d40301d4e7f0d6a3159d2040c7dad61e5e701cdbbf35b0f800b2a3f2d0bcddcd48a9f73fbc80
7
- data.tar.gz: 3f378869e818467e5a2393f6a4d80b44e302374784cc2549b56c3448ce99c6871b98d742475dc35cc308bc5aa7ee0ebb8ce5ec4576b0d95f9a37934e10f6e9e9
6
+ metadata.gz: e44b61c39dd92c15df4208d2a1272ef57adb2e8eb010ddfbc9035d71b522520702c9ca4635069f5690c7d60c0e02f09ce271089e566eeb4e2c236e3069d4f892
7
+ data.tar.gz: d2ec83b794783ab108aa66532f37888b3793e8de1c7ccf3a84b7332a4546dbd253a7829d9c8c01e365daceb0d5f41fcb5cf5794ee576ad0e1b4acbf23debcacc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- instant_quote (1.7.22)
4
+ instant_quote (1.7.24)
5
5
  activesupport
6
6
  capital_on_tap (~> 1.0.1)
7
7
  iwoca (~> 1.1.0)
@@ -8,13 +8,6 @@ module InstantQuote
8
8
  data: {
9
9
  company: company_information,
10
10
  people: [person_information],
11
- # requests: [
12
- # amount: (application.amount_pennies / 100),
13
- # duration: { amount: 12, unit: 'months' },
14
- # purpose: application&.proceeds_purpose&.name,
15
- # product_type: product_name,
16
- # urgency: 'asap'
17
- # ]
18
11
  }
19
12
  }
20
13
  end
@@ -101,7 +94,7 @@ module InstantQuote
101
94
 
102
95
  def person_information
103
96
  {
104
- # uid: SecureRandom.uuid,
97
+ uid: SecureRandom.uuid,
105
98
  first_name: application.primary_user.first_name,
106
99
  last_name: application.primary_user.last_name,
107
100
  date_of_birth: extra_info['applicant_date_of_birth'],
@@ -111,14 +104,13 @@ module InstantQuote
111
104
  residential_addresses: [person_residential_address],
112
105
  privacy_policy: {
113
106
  agreed: true,
114
- datetime: DateTime.current
107
+ valid_from: DateTime.current
115
108
  }
116
109
  }
117
110
  end
118
111
 
119
112
  def person_phone
120
113
  {
121
- # uid: SecureRandom.uuid,
122
114
  number: extra_info['applicant_phone_number'],
123
115
  type: 'primary'
124
116
  }
@@ -126,7 +118,6 @@ module InstantQuote
126
118
 
127
119
  def person_email
128
120
  {
129
- # uid: SecureRandom.uuid,
130
121
  email: application&.primary_user&.email,
131
122
  type: 'primary'
132
123
  }
@@ -135,7 +126,6 @@ module InstantQuote
135
126
  # rubocop:disable Naming/VariableNumber
136
127
  def person_residential_address
137
128
  {
138
- # uid: SecureRandom.uuid,
139
129
  town: extra_info['applicant_town'],
140
130
  street_line_1: extra_info['applicant_address_line_1'],
141
131
  street_line_2: extra_info['applicant_address_line_2'] || '',
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InstantQuote
4
- VERSION = '1.7.22'
4
+ VERSION = '1.7.24'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instant_quote
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.22
4
+ version: 1.7.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - rikas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-31 00:00:00.000000000 Z
11
+ date: 2023-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport