effective_mailchimp 0.9.2 → 0.10.0

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: 6e160d18a30ca7d423b2fa0bda06ee1c863a93c1c2e40845d5c4d7a295f61c0a
4
- data.tar.gz: 72344d51bf42e59b48ac0f07652aa69d44261464e3d5ef50b27d2a3160d42241
3
+ metadata.gz: 97b4b38c36740c956c5a4451f76b467ea3847337782f7382775679fbc88c7328
4
+ data.tar.gz: 1c0009621964610dc09e07eb05f10bf6449639abe67e1832b2c24502e13d6176
5
5
  SHA512:
6
- metadata.gz: 417d2ff2930dcced75059bcd9c6d344dbad2132078c3267a058de9ff57c9c73490f63c91dcda306583039a0d41da7197d940cff8efdbcd27a91b2ecf4087859d
7
- data.tar.gz: 3d1b326ab312e203e9f326c18398c08d4cd9db2dab4c3ef2c45245ddfc0dc20cb86947bb870cc5b8abe8b6c69a3a971d14d16a7014a63769d66c98ff35a0e71b
6
+ metadata.gz: ab11764ba1468abb17b0a2538fe54358cb4a2b6685744a2e70e9967b14749856d5ef3dcfe1f75c86cdd2ffd71a4f6d5f45c4a29f36d7630bd0595bdce42f422c
7
+ data.tar.gz: d7ec09359013c47fa3cab0dbdb846e628406ae5bfad9ed7d8f9d9d26da992d73cfb5a9a69e08d5d82cc156a60c4d56ac10df8577c3d334e070aa057863b6d9e6
@@ -223,6 +223,11 @@ module EffectiveMailchimpUser
223
223
  save!
224
224
  end
225
225
 
226
+ def mailchimp_update_async!
227
+ @mailchimp_member_update_enqueued = true
228
+ EffectiveMailchimpUpdateJob.perform_later(self)
229
+ end
230
+
226
231
  # Pushes the current Mailchimp List Member objects to Mailchimp when needed
227
232
  # Called in the background after a form submission that changes the user email/last_name/first_name or mailchimp subscriptions
228
233
  def mailchimp_update!(api: EffectiveMailchimp.api, only: [], except: [])
@@ -1,3 +1,3 @@
1
1
  module EffectiveMailchimp
2
- VERSION = '0.9.2'.freeze
2
+ VERSION = '0.10.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_mailchimp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-05 00:00:00.000000000 Z
11
+ date: 2024-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails