instant_quote 1.7.31 → 1.7.32

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: 9427b9b3f5d933dd039f07f6ccccc6b6c0efeb746415c360b6454a31e2988268
4
- data.tar.gz: 637be19d103075d4acefaf072cb48933542a941c64be38fd424a1174a02d9e9b
3
+ metadata.gz: b89114408b133206dcb9136cccad24a21ed90b1b239b2324c233e4d1aff84e3e
4
+ data.tar.gz: 55eda56d1077300fc64b3404eabb8fe05b0bd738bbe683bd82ea178bb7e51b5c
5
5
  SHA512:
6
- metadata.gz: 0c8b0e02ef19ea18274d19b0e7c2ed5219d4b5ed89d798f23ab81b398faf6687119f2bd6625beb1e4d93d74ffc44ab6019afa331ed54eaa97046dcf5691bda74
7
- data.tar.gz: 4a7e5a37a70580e483fd89c71ae90c8cbd3490af2986a0657bf571164537c0560d588dfe6ff2d63f8857c8daf3d909251eae23f2acca6d849b5d638e617853af
6
+ metadata.gz: 38b94dfd0b8edef75403c5456e42e1b5724d9dd1fbc1c1868d4d21936da662071ee6eb61072c9e649a68ec45e5e766cb639b96e15ee9bcd0355416005969e37c
7
+ data.tar.gz: 1c358d5ff8e0eecee9cd108c8a590e44a167631db8d43357eb3ea28a10cd3330aae0d89dfdb30a3e46f1b2b459be17eafbd425ceae88ec28db97bba8bb6058b9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- instant_quote (1.7.31)
4
+ instant_quote (1.7.32)
5
5
  activesupport
6
6
  capital_on_tap (~> 1.0.1)
7
7
  iwoca (~> 1.1.0)
@@ -112,8 +112,9 @@ module InstantQuote
112
112
 
113
113
  if @data.key?(:offers)
114
114
  @offers = @data[:offers]
115
+
115
116
  # For some reason sometimes the offers are nested in another key called 'offers'
116
- @offers = @offers[:offers] if @offers.key?(:offers)
117
+ @offers = @offers[:offers] if @offers.is_a?(Hash) && @offers.key?(:offers)
117
118
  end
118
119
  end
119
120
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InstantQuote
4
- VERSION = '1.7.31'
4
+ VERSION = '1.7.32'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instant_quote
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.31
4
+ version: 1.7.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - rikas