instant_quote 1.7.26 → 1.7.27

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: 1ec6c6b54ad7fcbae1c051dbcbbedcca488e333be4cc43d8e1fa9ae59e922718
4
- data.tar.gz: 67d0eb7cfe1010ef0453a3432600c9d1fae69c9c2e415883cc3d4a3feeae9d8e
3
+ metadata.gz: 2424b2348486f6496409333dec6dd3a29aca9b3b9eb0c0c549808fdde325df29
4
+ data.tar.gz: a5a04c34820b4415b7d15daafd21280e926f53da647179590d22cd829d6c340c
5
5
  SHA512:
6
- metadata.gz: 53b0606d174db814c57a5807b7dc6dccbf6a2db024b7e13e430eb4d1dea25f02a334b10a4b5b29cbcd23a881453ea73f794d9ff68c1ab558cf417516a96f4743
7
- data.tar.gz: 4501ff4205734159be5c0007b2b6eb78067f89caabcda9d777c4ca4817e988ea4b9e91c00284676777b64d7616d4f10875f35454a0a8be5af24dbc7cb7d70bfb
6
+ metadata.gz: b40aee9090963735341973ef33a4d6b2aa1601c782bcc181ec6cee777eaed3d4db8f66c35fa03e46a2d1b321403f909d886779f7b956e3b89f6717cf9eebad35
7
+ data.tar.gz: 5cfba07e7046953a5e13081dda4e79c99585060c0679a73244bc19292f94898bdcfd501cf792f48dc23b7a01329462462f778ce5cd2418e9b30489bbb9e0f5b7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- instant_quote (1.7.26)
4
+ instant_quote (1.7.27)
5
5
  activesupport
6
6
  capital_on_tap (~> 1.0.1)
7
7
  iwoca (~> 1.1.0)
@@ -163,6 +163,9 @@ module InstantQuote
163
163
  end
164
164
 
165
165
  def monthly_interest_rate
166
+ puts "Getting monthly interest rate..."
167
+ puts "First offer: #{first_offer}"
168
+ puts "Offers: #{@offers.inspect}"
166
169
  first_offer[:interest_rate]
167
170
  end
168
171
 
@@ -177,7 +180,7 @@ module InstantQuote
177
180
  end
178
181
 
179
182
  def first_offer
180
- @offers.dig(:offers)&.first
183
+ @offers&.first
181
184
  end
182
185
 
183
186
  def status_included?(status, status_keys)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InstantQuote
4
- VERSION = '1.7.26'
4
+ VERSION = '1.7.27'
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.26
4
+ version: 1.7.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - rikas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-06 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport