instant_quote 1.5.1 → 1.5.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 37edc1ac5cee7a85fb58c677061f8b6aab1fedaf6dbc472cfb92801b25f4fdbc
|
|
4
|
+
data.tar.gz: 35cad5c9bcbb00750364ed51abb3367163b949a7bbe444c76404d37602868a6c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71b11b24f38de7282f55cf63820d9b1091bb0873781070dc2af58747055305cbb3029afb433adc2401e95a812040743649f9b398bc0c6fa338923377bacda8ef
|
|
7
|
+
data.tar.gz: 520a2a85e693db1002e333db97e0b5549ef7632de054d6992e9d36ca0cfb72ed5f9fdab7a580ea6b6ce1b24097880825bd70d433f4cc946997c2187d5502833d
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
instant_quote (1.5.
|
|
4
|
+
instant_quote (1.5.2)
|
|
5
5
|
activesupport
|
|
6
6
|
capital_on_tap
|
|
7
7
|
iwoca
|
|
@@ -112,7 +112,7 @@ GEM
|
|
|
112
112
|
addressable (>= 2.3.6)
|
|
113
113
|
crack (>= 0.3.2)
|
|
114
114
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
115
|
-
zeitwerk (2.4.
|
|
115
|
+
zeitwerk (2.4.1)
|
|
116
116
|
|
|
117
117
|
PLATFORMS
|
|
118
118
|
ruby
|
|
@@ -54,6 +54,16 @@ module InstantQuote
|
|
|
54
54
|
],
|
|
55
55
|
type: 'select'
|
|
56
56
|
},
|
|
57
|
+
{
|
|
58
|
+
name: 'send_cash_from_credit_facility_to_bank',
|
|
59
|
+
label: 'Do you require the ability to send cash from your credit facility to your bank?',
|
|
60
|
+
required: true,
|
|
61
|
+
choices: {
|
|
62
|
+
'Yes' => 'True',
|
|
63
|
+
'No' => 'False'
|
|
64
|
+
},
|
|
65
|
+
type: 'select'
|
|
66
|
+
},
|
|
57
67
|
{
|
|
58
68
|
name: 'applicant_consent',
|
|
59
69
|
label: 'Yes, I give my consent for my data to be shared',
|
|
@@ -98,7 +98,8 @@ module InstantQuote
|
|
|
98
98
|
def additional_questions
|
|
99
99
|
[
|
|
100
100
|
preferred_monthly_repayment_option_question,
|
|
101
|
-
turnover_percentage_question
|
|
101
|
+
turnover_percentage_question,
|
|
102
|
+
send_cash_from_credit_facility_to_bank_question
|
|
102
103
|
]
|
|
103
104
|
end
|
|
104
105
|
|
|
@@ -110,6 +111,10 @@ module InstantQuote
|
|
|
110
111
|
question_from_extra_info('turnover_percentage_after_feb_2020', '20')
|
|
111
112
|
end
|
|
112
113
|
|
|
114
|
+
def send_cash_from_credit_facility_to_bank_question
|
|
115
|
+
question_from_extra_info('send_cash_from_credit_facility_to_bank', '23')
|
|
116
|
+
end
|
|
117
|
+
|
|
113
118
|
def question_from_extra_info(name, question_type)
|
|
114
119
|
field = Adapters::CapitalOnTap.additional_fields.find do |f|
|
|
115
120
|
f[:name] == name
|
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.5.
|
|
4
|
+
version: 1.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- rikas
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|