devise_campaignable 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 645a0547f4056aac9bf4d5c8dd299f6abec8ecfe
4
- data.tar.gz: f1b2a04c6b0d1175308fdd19fe9f8d878ef0e243
3
+ metadata.gz: dd1c9fd014e96dbf4770e89fcf7fb7e6b44db9fb
4
+ data.tar.gz: bf3723b04a48b23e97b76c5ea52284caf2618637
5
5
  SHA512:
6
- metadata.gz: 290cf519304217f76bd77b37760a3cc74045a5a0a010af5768fbe3dd30b59754579dc615e9c2d522c59dcacad432974b1fd11929e35139eeced22983ca38f855
7
- data.tar.gz: 7e94eab1ffbf16520fb51815641460c1a9e686904ae1a174bd646aa9700f4c386098008ef0caec59ab520c94e78ef4231b1b4dc7ca676ca86372316ef64559e1
6
+ metadata.gz: e35a3031a6e7ccaad329d47315e54462ef2525e5c231ccbff540212eab00415d5a24ef387efaf879109868ae5c19f0e72eaf32d9d76a07ba94b3ceea7b52fa8a
7
+ data.tar.gz: 6e5b30a8272222b0aadc4a2ef7090b5d59c4d13c3f20aca2128cb5852ff305fc4937057686f500561c6419a6161120869997a445dbea13484b2b5919b1f590fc
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # DeviseCampaignable
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/devise_campaignable.svg)](http://badge.fury.io/rb/devise_campaignable)
4
+
3
5
  Have your users automatically added to and removed from your favourite mail campaign tool. Currently supports [MailChimp](http://mailchimp.com/).
4
6
 
5
7
  Inspired by the now slightly out of date [devise_mailchimp](https://github.com/jcnnghm/devise_mailchimp), this gem works in a similar fashion but with a focus on multi-vendor support, rather than exclusively MailChimp.
@@ -19,8 +19,8 @@ module Devise
19
19
 
20
20
  # Add the callbacks to the user model.
21
21
  included do
22
- # Callback to subscribe the user whenever the record is saved.
23
- after_save :subscribe
22
+ # Callback to subscribe the user whenever the record is created
23
+ after_create :subscribe
24
24
  # Callback to unsubscribe the user when they are destroyed.
25
25
  after_destroy :unsubscribe
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module DeviseCampaignable
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_campaignable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Rawlins