devise_mailjet 0.2.4 → 0.2.5

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: 8a0ecc23463469dce946b098fcd3f0d6d4cb924c2e3e81f03e4be33a1ce65ce2
4
- data.tar.gz: 57bb1d3a8884ef7b639fa43db8e625cd757299490015e6cda5b31bead05cf94c
3
+ metadata.gz: 5e022a3ce24f32f25f5c79ac63d21f7a07a84fb62a6c8ab65c4795aa358d556d
4
+ data.tar.gz: caefb3f78f7fdb9ebff1c7c546a85c3111212ea8ce6b9be8dbc39b06eb1f91f6
5
5
  SHA512:
6
- metadata.gz: fd9e44954f03a94cf855f0be56c8d63f0281135adccaf2a868cdd54ba50da56a7a9807c6ded119d41b600ff48f516668df095eb545da7fe132046dcb8dfaec68
7
- data.tar.gz: cfbcffcd76a96e18689ab6e88aab35bcc2ec249b8257a8d97ea7aded11cdf46b0466ec7f4f4f1ef46bf3d70d28eeefb7b094f4f23bffa40cf00cf309959e1e82
6
+ metadata.gz: 942e1be3abb33a6568bd890cd3f045b024ec2b31e3444302960db6f4dd5fa2d10bc4717caef642422dc9147ad2d24fb58fd05eeb5f7d67504138aa4e3b5ac6ff
7
+ data.tar.gz: d97fd5b201f2035cd320dbe41e379deb0e71b9fb5b8cce859a97f932e4a2f0961bf9cf22cbc9157c87931f7da9b1f7f29c71ba50e7aa5c1c916175a883849274
@@ -63,7 +63,7 @@ module Devise
63
63
  # Beware: [GET] parameters are not the same than [POST/PUT] parameters
64
64
  lr = ::Mailjet::Listrecipient.all(contacts_list: list_id, contact: contact_id, limit: 1).first
65
65
  # Make sure the API returned the record we were looking for
66
- lr = nil unless lr.list_id == list_id && lr.contact_id == contact_id
66
+ lr = nil unless lr && lr.list_id == list_id && lr.contact_id == contact_id
67
67
  yield lr, list_id, contact_id if block_given?
68
68
  end
69
69
  end
@@ -1,3 +1,3 @@
1
1
  module DeviseMailjet
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_mailjet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Cunningham