devise_campaignable 0.0.3 → 0.0.4

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: 16a3726859e1ff005cd22d5f4e1bae73022829be
4
- data.tar.gz: 28bcc201d0c87e29fce85f5630fd320179901d40
3
+ metadata.gz: c4968e5dcc9f3d6cafe875a71a807eda15aab2ba
4
+ data.tar.gz: 88db0c0010d0d37b56ec7210fcc4e9a34fc010c2
5
5
  SHA512:
6
- metadata.gz: bd4f45df15abf3eaf73457330b88d457a44c5143b2fdd2fd22c1db8696e2d5ca70585e5d66d4d234fc91ba9cc6e6880ece49e8f145bf98c472221fa5ad89e677
7
- data.tar.gz: 3d57d1c73508f9e3d65dc58c8be604c41e966f1fe28001fdde194d53825200c26992940e2020971ac6ac195271e22afb1300964e8c308d2023b7308db3b9d995
6
+ metadata.gz: 335515eaecb9a87af1b6c2a52b4b8041df9ca846d2ffd8c85eeff398b5eb08a6ac725d8d3ccf03745d21af8733551dcdc0f9576419b6d50b7409e1702b5e830a
7
+ data.tar.gz: b50756a98d783fa2c4d3ca092fd04de6cdc9f3389a5c578755d6305c2b4e368d4c58a3704257ef8c136b0ca4a009b58186b20acd0a9f31046c2bcfbfbf1a8da3
data/README.md CHANGED
@@ -4,16 +4,17 @@
4
4
 
5
5
  Have your users automatically added to and removed from your favourite mail campaign tool. Currently supports [MailChimp](http://mailchimp.com/).
6
6
 
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.
7
+ Inspired by the now slightly out of date [devise_mailchimp](https://github.com/jcnnghm/devise_mailchimp) and based upon [Gibbon](https://github.com/amro/gibbon), this gem works in a similar fashion but with a focus on multi-vendor support, rather than exclusively MailChimp.
8
8
 
9
9
  It is directly extracted from [Sorry™](http://www.sorryapp.com/) where we use MailChimp to stay in touch with customers about our product development.
10
10
 
11
11
  ## Installation
12
12
 
13
- Simply add DeviseCampaignable to your application's Gemfile:
13
+ Simply add DeviseCampaignable and Gibbon to your application's Gemfile:
14
14
 
15
15
  gem 'devise'
16
16
  gem 'devise_campaignable'
17
+ gem 'gibbon'
17
18
 
18
19
  ## Devise Configuration
19
20
 
@@ -56,6 +57,8 @@ end
56
57
 
57
58
  Once configured this gem will ensure any users which are created by Devise will be automaticaly subscribed to your mailing list. They will also be unsubscribed when they are deleted.
58
59
 
60
+ By default users are not required to 'double opt in' when added to your list.
61
+
59
62
  ### Manual subscribe / unsubscribe
60
63
 
61
64
  Should you wish to manually subscribe or unsubscribe any of your users, we have added some new methods to your user model to help you do this.
@@ -60,7 +60,7 @@ module Devise
60
60
  # If class responds to delayed job then return the delayed instance
61
61
  # but if it doesn't look like delayed job implemented just return the
62
62
  # underlying manager object directly.
63
- respond_to?(:delay) ? manager.delay(:queue => 'devise_campaignable') : manager
63
+ manager.respond_to?(:delay) ? manager.delay(:queue => 'devise_campaignable') : manager
64
64
  end
65
65
 
66
66
  # Subscribe all users as a batch.
@@ -1,3 +1,3 @@
1
1
  module DeviseCampaignable
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_campaignable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Rawlins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-05 00:00:00.000000000 Z
11
+ date: 2015-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler