catarse_monkeymail 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 +4 -4
- data/README.md +36 -2
- data/app/models/catarse_monkeymail/mailchimp_api.rb +3 -1
- data/lib/catarse_monkeymail/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99397ed3010ced18f6fb91ca072075f9cc72b9e9
|
4
|
+
data.tar.gz: 5b7f454aefd94f070dae77fc0919ba085f68a810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 094f40e3dcd4e1c3ac2973981818edf56d484c49890dd77b4aefddfb4b5c12dd654176bf4dfeae7fd54ce74246fd303520d7fa741530058aec85226c01faa2a0
|
7
|
+
data.tar.gz: 78e773435d458c011248257d4eeecc1202f6721232f7a081abdf8b92e57a4a8b9ed5e74329c1bdd78ed254906a1bf337415ad7507589dbf409cd05473e4b4628
|
data/README.md
CHANGED
@@ -1,3 +1,37 @@
|
|
1
|
-
|
1
|
+
# CatarseMonkeymail
|
2
2
|
|
3
|
-
|
3
|
+
Mailchimp 2.0 integration for Catarse[http://github.com/catarse/catarse]
|
4
|
+
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add into your Gemfile:
|
9
|
+
|
10
|
+
`gem 'catarse_monkeymail'`
|
11
|
+
|
12
|
+
or
|
13
|
+
|
14
|
+
`gem install catarse_monkeymail`
|
15
|
+
|
16
|
+
|
17
|
+
You need to have a Mailchimp API KEY and a List ID configured:
|
18
|
+
|
19
|
+
`CatarseSettings[:mailchimp_api_key] = 'YOUR_API_KEY'`
|
20
|
+
|
21
|
+
`CatarseSettings[:mailchimp_list_id] = 'YOUR_NEWSLETTER_LIST_ID'`
|
22
|
+
|
23
|
+
|
24
|
+
### If you want to use the project mailchimp integration (when project is failed or successful we add the project owner to a separated list) you need to:
|
25
|
+
|
26
|
+
#### Add into config/application.rb
|
27
|
+
|
28
|
+
`config.active_record.observers = 'CatarseMonkeymail::MonkeyProjectObserver'`
|
29
|
+
|
30
|
+
#### Add theses configurations:
|
31
|
+
|
32
|
+
`CatarseSettings[:mailchimp_successful_projects_list] = 'YOUR_PROJECT_SUCCESSFUL_LIST_ID'`
|
33
|
+
|
34
|
+
`CatarseSettings[:mailchimp_failed_projects_list] = 'YOUR_PROJECT_FAILED_LIST_ID'`
|
35
|
+
|
36
|
+
|
37
|
+
This project rocks and uses MIT-LICENSE.
|