effective_mailchimp 0.4.0 → 0.4.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 535f050cd4e6f5a4419ddecb931c864f2f0461b936a822db66631619ba1ed3f1
|
4
|
+
data.tar.gz: 7410b8b797f397bdecbcad0bddb78fe43a7779f07aa858ec710a5489063c2ac7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59c142b817e13988549b669eb9c73419f090e751c106b6b50e9d0978e810161dcba11dffd0fdc22220de93754dd38e1bedf890905d640f988c8485b882749d2a
|
7
|
+
data.tar.gz: 0643a72575207d3e4e0a5aa5f78e92c0e46386e617b3a2c400764b99f8a5a8f501891dc6ace45c373c702d18da5fad3af53b018ee0a314890457766e23bfb9d9
|
@@ -29,6 +29,10 @@ module EffectiveMailchimpUser
|
|
29
29
|
has_many :mailchimp_lists, -> { Effective::MailchimpList.sorted }, through: :mailchimp_list_members, class_name: 'Effective::MailchimpList'
|
30
30
|
accepts_nested_attributes_for :mailchimp_lists, allow_destroy: true
|
31
31
|
|
32
|
+
scope :deep_effective_mailchimp_user, -> {
|
33
|
+
includes(mailchimp_list_members: [:mailchimp_list])
|
34
|
+
}
|
35
|
+
|
32
36
|
# The user updated the form
|
33
37
|
after_commit(if: -> { mailchimp_member_update_required? }) do
|
34
38
|
EffectiveMailchimpUpdateJob.perform_later(self)
|
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.4.
|
4
|
+
version: 0.4.1
|
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: 2023-
|
11
|
+
date: 2023-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|