effective_mailchimp 0.12.0 → 0.12.1

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: ce289e932fc39342dcbff540f77bada053331d81b67a5f3019df23e0ab49abd7
4
- data.tar.gz: d2e848d52d61cfec67c5207f31587c172893c5f57579206aa4fc6ccb94ab04c9
3
+ metadata.gz: aa9d96445bf95082e5171bc0926653d0b05721fa92851615f982dc59b5c9e530
4
+ data.tar.gz: e163f4cda78afbbbadc2dbf23a91ee087098d0a49c3fdfeb90d1f81fe4c1c108
5
5
  SHA512:
6
- metadata.gz: 62c87c42fdb6aa97b30907fbfcf290501a0c8a6dea93f592871f37e9302f354c160328e484fa819d8d890ab814194c320856381ca7702768ea670b021611e9d1
7
- data.tar.gz: 015a77c5faa0159784b5e45aba1c4ca72310ec07ab67811317cddf5705dea67702558a6564f32b9fc9963f86149bdcc2f2dc26e6d503d58bd293db420ac74283
6
+ metadata.gz: 4831da7064dc4f21da2974bd0d832931672d2130b768aa2e33294b2dc3a784f968a3db3328da3b2ae9239eed4f261559f28f17c25ef1f8d8091a641529d82eac
7
+ data.tar.gz: b8cf3d3377c1c8bf5152d59f677eb3a0bfaf3e081587163edddb6f4cf5573479ba5d30c53076ec2f5a1474adefbcfb9063c58ec9fb444703b044f8afa4dd02f5
@@ -2,7 +2,7 @@
2
2
  %small
3
3
  - mailchimp_last_synced_at = Effective::MailchimpList.maximum(:updated_at)
4
4
 
5
- last synced with
5
+ Last synced with
6
6
  = link_to 'Mailchimp', EffectiveMailchimp.api.admin_url, target: '_blank'
7
7
 
8
8
  - if mailchimp_last_synced_at.present?
@@ -3,7 +3,7 @@
3
3
  - if user.persisted?
4
4
  %p.text-muted
5
5
  %small
6
- last synced with
6
+ Last synced with
7
7
  = link_to 'Mailchimp', EffectiveMailchimp.api.admin_url, target: '_blank'
8
8
  - if user.mailchimp_last_synced_at.present?
9
9
  = time_ago_in_words(user.mailchimp_last_synced_at)
@@ -11,7 +11,7 @@
11
11
 
12
12
  - # For each group / mailchimp_category
13
13
  - mailchimp_list.mailchimp_categories.each do |mailchimp_category|
14
- - mailchimp_interests = mailchimp_category.mailchimp_interests
14
+ - mailchimp_interests = mailchimp_category.mailchimp_interests.sorted
15
15
 
16
16
  - # Force subscription of each interest
17
17
  - forced = mailchimp_interests.select { |mi| mi.force_subscribe? }
@@ -3,7 +3,7 @@
3
3
  - if user.persisted?
4
4
  %p.text-muted
5
5
  %small
6
- last synced with
6
+ Last synced with
7
7
  = link_to 'Mailchimp', EffectiveMailchimp.api.public_url, target: '_blank'
8
8
  - if user.mailchimp_last_synced_at.present?
9
9
  = time_ago_in_words(user.mailchimp_last_synced_at)
@@ -1,3 +1,3 @@
1
1
  module EffectiveMailchimp
2
- VERSION = '0.12.0'.freeze
2
+ VERSION = '0.12.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_mailchimp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect