maktoub 0.3.0 → 0.3.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 +4 -4
- data/README.rdoc +6 -0
- data/app/views/layouts/maktoub/newsletter_mailer.erb +7 -3
- data/lib/generators/maktoub/templates/maktoub.rb +3 -2
- data/lib/maktoub.rb +1 -0
- data/lib/maktoub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d64b4d991dbd34199e9c16ca104b9e9bbc23ac8
|
|
4
|
+
data.tar.gz: 57100f514abe7b6eb355552b21d773c5b75c047f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc81dc0b55927c7e82c8af514826745c1e0613278447630f04fc152e1730ce29e79ec8d504b5a6fb8f50ffbff81d383aadfddc0e895d776c23da7cbe307448d2
|
|
7
|
+
data.tar.gz: de2b28da61ee5ac32f6f61401e018f922829084e61371d4175d3e9f4ba9840a6e4020e0793f37f7a072a8f823981863a54c66c0f0f8b8635820e7df47cfa74b5
|
data/README.rdoc
CHANGED
|
@@ -52,4 +52,10 @@ To be able to view your newsletter in a browser add it to routes.rb.
|
|
|
52
52
|
== Contributing
|
|
53
53
|
Send a pull request including documentation changes and tests.
|
|
54
54
|
|
|
55
|
+
== To do
|
|
56
|
+
- integrate with TravisCI
|
|
57
|
+
- create github page for project
|
|
58
|
+
- allow management of multiple lists
|
|
59
|
+
- allow rendering of newletter from remotely hosted views (e.g. S3)
|
|
60
|
+
|
|
55
61
|
|
|
@@ -104,15 +104,19 @@
|
|
|
104
104
|
<div mc:edit="std_social">
|
|
105
105
|
|
|
106
106
|
<% unless Maktoub.twitter_url.blank? %>
|
|
107
|
-
<%= link_to '
|
|
107
|
+
<%= link_to 'Twitter', Maktoub.twitter_url, :target => "_blank" %>
|
|
108
108
|
<% end %>
|
|
109
109
|
<% unless Maktoub.facebook_url.blank? %>
|
|
110
110
|
|
|
|
111
|
-
<%= link_to '
|
|
111
|
+
<%= link_to 'Facebook', Maktoub.facebook_url, :target => "_blank" %>
|
|
112
112
|
<% end %>
|
|
113
113
|
<% unless Maktoub.google_plus_url.blank? %>
|
|
114
114
|
|
|
|
115
|
-
<%= link_to '
|
|
115
|
+
<%= link_to 'Google+', Maktoub.google_plus_url, :target => "_blank" %>
|
|
116
|
+
<% end %>
|
|
117
|
+
<% unless Maktoub.linkedin_url.blank? %>
|
|
118
|
+
|
|
|
119
|
+
<%= link_to 'LinkedIn', Maktoub.linkedin_url, :target => "_blank" %>
|
|
116
120
|
<% end %>
|
|
117
121
|
|
|
118
122
|
</div>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Maktoub.from = "Test Sender <maktoub@example.com>" # the email the newsletter is sent from
|
|
2
2
|
# Maktoub.twitter_url = "http://twitter.com/#!/twitter" # your twitter page
|
|
3
|
-
# Maktoub.facebook_url = "http://www.facebook.com/facebook" # your facebook
|
|
3
|
+
# Maktoub.facebook_url = "http://www.facebook.com/facebook" # your facebook page
|
|
4
|
+
# Maktoub.linkedin_url = "http://www.linkedin.com/company/linkedin" # your linkedin page
|
|
4
5
|
# Maktoub.subscription_preferences_url = "http://example.com/manage_subscriptions" #subscribers management url
|
|
5
6
|
# Maktoub.logo = "logo.jpg" # path to your logo asset
|
|
6
7
|
# Maktoub.home_domain = "example.com" # your domain
|
|
@@ -19,4 +20,4 @@
|
|
|
19
20
|
|
|
20
21
|
# uncomment lines below to change subscriber fields that contain email and
|
|
21
22
|
# Maktoub.email_field = :address
|
|
22
|
-
# Maktoub.name_field = :nickname
|
|
23
|
+
# Maktoub.name_field = :nickname
|
data/lib/maktoub.rb
CHANGED
data/lib/maktoub/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: maktoub
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zaid Zawaideh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-09-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|