maktoub 0.1.0 → 0.2.0
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.
- data/README.rdoc +5 -0
- data/Rakefile +13 -9
- data/app/controllers/maktoub/subscribers_controller.rb +14 -0
- data/app/views/layouts/maktoub/application.html.erb +11 -2
- data/app/views/layouts/maktoub/newsletter_mailer.erb +4 -4
- data/app/views/maktoub/subscribers/edit.html.erb +13 -0
- data/app/views/maktoub/subscribers/update.html.erb +1 -0
- data/config/routes.rb +2 -0
- data/lib/maktoub.rb +10 -1
- data/lib/maktoub/version.rb +1 -1
- metadata +27 -121
- data/test/dummy/Rakefile +0 -7
- data/test/dummy/app/assets/images/logo.jpg +0 -0
- data/test/dummy/app/assets/javascripts/application.js +0 -9
- data/test/dummy/app/assets/stylesheets/application.css +0 -7
- data/test/dummy/app/controllers/application_controller.rb +0 -3
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/app/views/maktoub/newsletters/test_template.erb +0 -0
- data/test/dummy/config.ru +0 -4
- data/test/dummy/config/application.rb +0 -45
- data/test/dummy/config/boot.rb +0 -10
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -30
- data/test/dummy/config/environments/production.rb +0 -60
- data/test/dummy/config/environments/test.rb +0 -39
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/inflections.rb +0 -10
- data/test/dummy/config/initializers/maktoub.rb +0 -19
- data/test/dummy/config/initializers/mime_types.rb +0 -5
- data/test/dummy/config/initializers/secret_token.rb +0 -7
- data/test/dummy/config/initializers/session_store.rb +0 -8
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/en.yml +0 -5
- data/test/dummy/config/routes.rb +0 -5
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +0 -16
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -6442
- data/test/dummy/log/test.log +0 -545
- data/test/dummy/public/404.html +0 -26
- data/test/dummy/public/422.html +0 -26
- data/test/dummy/public/500.html +0 -26
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +0 -6
- data/test/dummy/tmp/cache/assets/CA2/C20/sprockets%2F5603f1da541a5e3c72d26611478813da +0 -0
- data/test/dummy/tmp/cache/assets/CB4/BE0/sprockets%2F57f7e5c53278ac52062992433f317acc +0 -0
- data/test/dummy/tmp/cache/assets/CBC/F80/sprockets%2F95bdffc2824328543384db8ea7890153 +0 -0
- data/test/dummy/tmp/cache/assets/CCF/9C0/sprockets%2Fae24de6a552b3d6057517681a1a363e0 +0 -0
- data/test/dummy/tmp/cache/assets/CDD/630/sprockets%2F75757e115102f4fcc9ed52a2249bf082 +0 -0
- data/test/dummy/tmp/cache/assets/D34/130/sprockets%2F9a5c11d810e2e1f87ea6452113cc7e4c +0 -0
- data/test/dummy/tmp/cache/assets/D68/E80/sprockets%2F2c93d36471b04c04bb72a9aeeaf496a8 +0 -0
- data/test/dummy/tmp/cache/assets/D6E/8A0/sprockets%2Fa833bda5303fa2c89da36ec6b469618d +0 -0
- data/test/dummy/tmp/cache/assets/D70/6F0/sprockets%2Ff37da951add08a3d2866a4767b5afc43 +0 -0
- data/test/dummy/tmp/cache/assets/D74/710/sprockets%2F4865a147f154cadc0b49ebe873be7a85 +0 -0
- data/test/dummy/tmp/cache/assets/D76/B40/sprockets%2F8aea19137c7b683ef195fa3bf2a9704f +0 -0
- data/test/dummy/tmp/cache/assets/D7D/170/sprockets%2F15742d263cfefba79b76652f6e94ac6d +0 -0
- data/test/dummy/tmp/cache/assets/DC6/1E0/sprockets%2F5fad4aa8ef2c006cc0dd5233e98dd922 +0 -0
- data/test/functional/maktoub/archives_controller_test.rb +0 -25
- data/test/functional/maktoub/newsletter_mailer_test.rb +0 -31
- data/test/integration/navigation_test.rb +0 -10
- data/test/maktoub_test.rb +0 -45
- data/test/test_helper.rb +0 -11
- data/test/unit/helpers/maktoub/archives_helper_test.rb +0 -6
data/README.rdoc
CHANGED
|
@@ -24,6 +24,11 @@ Follow instructions inside the file to configure it the way you want.
|
|
|
24
24
|
Create a newsletter as a normal view partial in app/views/maktoub/newsletters/.
|
|
25
25
|
The subject of the newsletter will be automatically deduced from the partial's name.
|
|
26
26
|
|
|
27
|
+
=== Editing Styles
|
|
28
|
+
|
|
29
|
+
Create a view partial in app/views/layouts/maktoub/_styles.erb. Note that this completely overrides the styles that come with maktoub.
|
|
30
|
+
You can copy the built-in styles and override them.
|
|
31
|
+
|
|
27
32
|
=== Sending messages
|
|
28
33
|
Maktoub comes with two rake tasks to allow you to:
|
|
29
34
|
* send a test message to the "from" address of your newsletter.
|
data/Rakefile
CHANGED
|
@@ -20,20 +20,24 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
|
20
20
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
21
21
|
end
|
|
22
22
|
|
|
23
|
-
APP_RAKEFILE = File.expand_path("../
|
|
23
|
+
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
|
24
24
|
load 'rails/tasks/engine.rake'
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
Bundler::GemHelper.install_tasks
|
|
28
28
|
|
|
29
|
-
require '
|
|
29
|
+
require 'rspec/core/rake_task'
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
RSpec::Core::RakeTask.new(:spec)
|
|
32
|
+
task :default => :spec
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
#Rake::TestTask.new(:test) do |t|
|
|
36
|
+
# t.libs << 'lib'
|
|
37
|
+
# t.libs << 'spec'
|
|
38
|
+
# t.pattern = 'spec/**/*_spec.rb'
|
|
39
|
+
# t.verbose = false
|
|
40
|
+
#end
|
|
37
41
|
|
|
38
42
|
|
|
39
|
-
task :default => :test
|
|
43
|
+
#task :default => :test
|
|
@@ -5,10 +5,19 @@
|
|
|
5
5
|
<%= stylesheet_link_tag "maktoub/application" %>
|
|
6
6
|
<%= javascript_include_tag "maktoub/application" %>
|
|
7
7
|
<%= csrf_meta_tags %>
|
|
8
|
+
<style type="text/css">
|
|
9
|
+
<%= render 'layouts/maktoub/styles' %>
|
|
10
|
+
div.container {
|
|
11
|
+
width: 600px;
|
|
12
|
+
margin: auto;
|
|
13
|
+
margin-top: 50px;
|
|
14
|
+
}
|
|
15
|
+
</style>
|
|
8
16
|
</head>
|
|
9
17
|
<body>
|
|
10
|
-
|
|
11
|
-
<%= yield %>
|
|
18
|
+
<div class="container">
|
|
19
|
+
<%= yield %>
|
|
20
|
+
</div>
|
|
12
21
|
|
|
13
22
|
</body>
|
|
14
23
|
</html>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<meta name="viewport" content="width=680px, initial-scale=0.5">
|
|
9
9
|
<title><%= @subject %></title>
|
|
10
10
|
<style type="text/css">
|
|
11
|
-
<%= render 'layouts/maktoub/styles
|
|
11
|
+
<%= render 'layouts/maktoub/styles' %>
|
|
12
12
|
</style>
|
|
13
13
|
</head>
|
|
14
14
|
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">
|
|
@@ -121,14 +121,14 @@
|
|
|
121
121
|
<tr>
|
|
122
122
|
<td valign="top" width="350">
|
|
123
123
|
<div mc:edit="std_footer">
|
|
124
|
-
<em>Copyright © <%= Time.now.year %>
|
|
124
|
+
<em>Copyright © <%= Time.now.year %> <%= Maktoub.app_name %>, All rights reserved.</em>
|
|
125
125
|
<br />
|
|
126
126
|
<em>You are receiving this email because you opted in at our website <%= link_to Maktoub.home_url, Maktoub.home_url, :target => "_blank" %>.</em>
|
|
127
127
|
<br />
|
|
128
128
|
<%- unless @archive %>
|
|
129
129
|
<%# we are not including mailing addresses %>
|
|
130
130
|
<%#<br /><strong>Our mailing address is:</strong><br /> %>
|
|
131
|
-
<%#
|
|
131
|
+
<%# %>
|
|
132
132
|
<%- end %>
|
|
133
133
|
</div>
|
|
134
134
|
</td>
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
<tr>
|
|
138
138
|
<td colspan="2" valign="middle" id="utility">
|
|
139
139
|
<div>
|
|
140
|
-
<%= link_to 'update subscription preferences', Maktoub.subscription_preferences_url, :target => "_blank" %>
|
|
140
|
+
<%= link_to 'update subscription preferences', Maktoub.subscription_preferences_url, :target => "_blank" %> | <%= link_to 'unsubscribe', edit_subscribers_url, :target => "_blank", :rel => "nofollow" %>
|
|
141
141
|
</div>
|
|
142
142
|
</td>
|
|
143
143
|
</tr>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<h1>Unsubscribe from newsletter</h1>
|
|
2
|
+
|
|
3
|
+
<%= form_tag subscribers_path, :method => :put do |f| %>
|
|
4
|
+
<p>
|
|
5
|
+
<%= label :subscribers, 'Email', :for => 'email' %>
|
|
6
|
+
<br/>
|
|
7
|
+
<%= text_field :subscribers, 'email', {:type => "email", :id => 'email'} %>
|
|
8
|
+
<br />
|
|
9
|
+
</p>
|
|
10
|
+
<p>
|
|
11
|
+
<%= button_tag 'submit', :type => 'submit' %>
|
|
12
|
+
</o>
|
|
13
|
+
<% end %>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<h1>Unsubscribe successful</h1>
|
data/config/routes.rb
CHANGED
data/lib/maktoub.rb
CHANGED
|
@@ -9,7 +9,8 @@ module Maktoub
|
|
|
9
9
|
:subscription_preferences_url,
|
|
10
10
|
:logo,
|
|
11
11
|
:home_domain,
|
|
12
|
-
:app_name
|
|
12
|
+
:app_name,
|
|
13
|
+
:unsubscribe_method
|
|
13
14
|
|
|
14
15
|
attr_writer :email_field, :name_field
|
|
15
16
|
|
|
@@ -28,6 +29,14 @@ module Maktoub
|
|
|
28
29
|
def subscribers_extractor (&block)
|
|
29
30
|
@subscribers = Proc.new &block
|
|
30
31
|
end
|
|
32
|
+
|
|
33
|
+
def unsubscribe(email)
|
|
34
|
+
subscribers.select do |s|
|
|
35
|
+
s.send(email_field) == email
|
|
36
|
+
end.each do |s|
|
|
37
|
+
s.send(unsubscribe_method) if unsubscribe_method
|
|
38
|
+
end
|
|
39
|
+
end
|
|
31
40
|
|
|
32
41
|
def home_url
|
|
33
42
|
"http://" + home_domain
|
data/lib/maktoub/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: maktoub
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-04-20 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70201790028320 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: 3.1.1
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *70201790028320
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: premailer
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &70201790010320 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,10 +32,10 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *70201790010320
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: nokogiri
|
|
38
|
-
requirement: &
|
|
38
|
+
requirement: &70201790008940 !ruby/object:Gem::Requirement
|
|
39
39
|
none: false
|
|
40
40
|
requirements:
|
|
41
41
|
- - ! '>='
|
|
@@ -43,10 +43,10 @@ dependencies:
|
|
|
43
43
|
version: '0'
|
|
44
44
|
type: :runtime
|
|
45
45
|
prerelease: false
|
|
46
|
-
version_requirements: *
|
|
46
|
+
version_requirements: *70201790008940
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: sqlite3
|
|
49
|
-
requirement: &
|
|
49
|
+
requirement: &70201790007940 !ruby/object:Gem::Requirement
|
|
50
50
|
none: false
|
|
51
51
|
requirements:
|
|
52
52
|
- - ! '>='
|
|
@@ -54,7 +54,18 @@ dependencies:
|
|
|
54
54
|
version: '0'
|
|
55
55
|
type: :development
|
|
56
56
|
prerelease: false
|
|
57
|
-
version_requirements: *
|
|
57
|
+
version_requirements: *70201790007940
|
|
58
|
+
- !ruby/object:Gem::Dependency
|
|
59
|
+
name: rspec-rails
|
|
60
|
+
requirement: &70201790007200 !ruby/object:Gem::Requirement
|
|
61
|
+
none: false
|
|
62
|
+
requirements:
|
|
63
|
+
- - ! '>='
|
|
64
|
+
- !ruby/object:Gem::Version
|
|
65
|
+
version: '0'
|
|
66
|
+
type: :development
|
|
67
|
+
prerelease: false
|
|
68
|
+
version_requirements: *70201790007200
|
|
58
69
|
description: A simple newsletter engine for rails.
|
|
59
70
|
email:
|
|
60
71
|
executables: []
|
|
@@ -67,6 +78,7 @@ files:
|
|
|
67
78
|
- app/assets/stylesheets/maktoub/archives.css
|
|
68
79
|
- app/controllers/maktoub/application_controller.rb
|
|
69
80
|
- app/controllers/maktoub/archives_controller.rb
|
|
81
|
+
- app/controllers/maktoub/subscribers_controller.rb
|
|
70
82
|
- app/helpers/maktoub/application_helper.rb
|
|
71
83
|
- app/helpers/maktoub/archives_helper.rb
|
|
72
84
|
- app/mailers/maktoub/newsletter_mailer.rb
|
|
@@ -74,6 +86,8 @@ files:
|
|
|
74
86
|
- app/views/layouts/maktoub/application.html.erb
|
|
75
87
|
- app/views/layouts/maktoub/newsletter_mailer.erb
|
|
76
88
|
- app/views/maktoub/newsletters/readme.erb
|
|
89
|
+
- app/views/maktoub/subscribers/edit.html.erb
|
|
90
|
+
- app/views/maktoub/subscribers/update.html.erb
|
|
77
91
|
- config/routes.rb
|
|
78
92
|
- lib/generators/maktoub/config_generator.rb
|
|
79
93
|
- lib/generators/maktoub/templates/maktoub.rb
|
|
@@ -85,60 +99,6 @@ files:
|
|
|
85
99
|
- MIT-LICENSE
|
|
86
100
|
- Rakefile
|
|
87
101
|
- README.rdoc
|
|
88
|
-
- test/dummy/app/assets/images/logo.jpg
|
|
89
|
-
- test/dummy/app/assets/javascripts/application.js
|
|
90
|
-
- test/dummy/app/assets/stylesheets/application.css
|
|
91
|
-
- test/dummy/app/controllers/application_controller.rb
|
|
92
|
-
- test/dummy/app/helpers/application_helper.rb
|
|
93
|
-
- test/dummy/app/views/layouts/application.html.erb
|
|
94
|
-
- test/dummy/app/views/maktoub/newsletters/test_template.erb
|
|
95
|
-
- test/dummy/config/application.rb
|
|
96
|
-
- test/dummy/config/boot.rb
|
|
97
|
-
- test/dummy/config/database.yml
|
|
98
|
-
- test/dummy/config/environment.rb
|
|
99
|
-
- test/dummy/config/environments/development.rb
|
|
100
|
-
- test/dummy/config/environments/production.rb
|
|
101
|
-
- test/dummy/config/environments/test.rb
|
|
102
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
103
|
-
- test/dummy/config/initializers/inflections.rb
|
|
104
|
-
- test/dummy/config/initializers/maktoub.rb
|
|
105
|
-
- test/dummy/config/initializers/mime_types.rb
|
|
106
|
-
- test/dummy/config/initializers/secret_token.rb
|
|
107
|
-
- test/dummy/config/initializers/session_store.rb
|
|
108
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
|
109
|
-
- test/dummy/config/locales/en.yml
|
|
110
|
-
- test/dummy/config/routes.rb
|
|
111
|
-
- test/dummy/config.ru
|
|
112
|
-
- test/dummy/db/development.sqlite3
|
|
113
|
-
- test/dummy/db/schema.rb
|
|
114
|
-
- test/dummy/db/test.sqlite3
|
|
115
|
-
- test/dummy/log/development.log
|
|
116
|
-
- test/dummy/log/test.log
|
|
117
|
-
- test/dummy/public/404.html
|
|
118
|
-
- test/dummy/public/422.html
|
|
119
|
-
- test/dummy/public/500.html
|
|
120
|
-
- test/dummy/public/favicon.ico
|
|
121
|
-
- test/dummy/Rakefile
|
|
122
|
-
- test/dummy/script/rails
|
|
123
|
-
- test/dummy/tmp/cache/assets/CA2/C20/sprockets%2F5603f1da541a5e3c72d26611478813da
|
|
124
|
-
- test/dummy/tmp/cache/assets/CB4/BE0/sprockets%2F57f7e5c53278ac52062992433f317acc
|
|
125
|
-
- test/dummy/tmp/cache/assets/CBC/F80/sprockets%2F95bdffc2824328543384db8ea7890153
|
|
126
|
-
- test/dummy/tmp/cache/assets/CCF/9C0/sprockets%2Fae24de6a552b3d6057517681a1a363e0
|
|
127
|
-
- test/dummy/tmp/cache/assets/CDD/630/sprockets%2F75757e115102f4fcc9ed52a2249bf082
|
|
128
|
-
- test/dummy/tmp/cache/assets/D34/130/sprockets%2F9a5c11d810e2e1f87ea6452113cc7e4c
|
|
129
|
-
- test/dummy/tmp/cache/assets/D68/E80/sprockets%2F2c93d36471b04c04bb72a9aeeaf496a8
|
|
130
|
-
- test/dummy/tmp/cache/assets/D6E/8A0/sprockets%2Fa833bda5303fa2c89da36ec6b469618d
|
|
131
|
-
- test/dummy/tmp/cache/assets/D70/6F0/sprockets%2Ff37da951add08a3d2866a4767b5afc43
|
|
132
|
-
- test/dummy/tmp/cache/assets/D74/710/sprockets%2F4865a147f154cadc0b49ebe873be7a85
|
|
133
|
-
- test/dummy/tmp/cache/assets/D76/B40/sprockets%2F8aea19137c7b683ef195fa3bf2a9704f
|
|
134
|
-
- test/dummy/tmp/cache/assets/D7D/170/sprockets%2F15742d263cfefba79b76652f6e94ac6d
|
|
135
|
-
- test/dummy/tmp/cache/assets/DC6/1E0/sprockets%2F5fad4aa8ef2c006cc0dd5233e98dd922
|
|
136
|
-
- test/functional/maktoub/archives_controller_test.rb
|
|
137
|
-
- test/functional/maktoub/newsletter_mailer_test.rb
|
|
138
|
-
- test/integration/navigation_test.rb
|
|
139
|
-
- test/maktoub_test.rb
|
|
140
|
-
- test/test_helper.rb
|
|
141
|
-
- test/unit/helpers/maktoub/archives_helper_test.rb
|
|
142
102
|
homepage: http://sandglaz.com
|
|
143
103
|
licenses: []
|
|
144
104
|
post_install_message:
|
|
@@ -153,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
153
113
|
version: '0'
|
|
154
114
|
segments:
|
|
155
115
|
- 0
|
|
156
|
-
hash:
|
|
116
|
+
hash: 853280269530404285
|
|
157
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
118
|
none: false
|
|
159
119
|
requirements:
|
|
@@ -162,65 +122,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
162
122
|
version: '0'
|
|
163
123
|
segments:
|
|
164
124
|
- 0
|
|
165
|
-
hash:
|
|
125
|
+
hash: 853280269530404285
|
|
166
126
|
requirements: []
|
|
167
127
|
rubyforge_project:
|
|
168
128
|
rubygems_version: 1.8.10
|
|
169
129
|
signing_key:
|
|
170
130
|
specification_version: 3
|
|
171
131
|
summary: A simple newsletter engine for rails.
|
|
172
|
-
test_files:
|
|
173
|
-
- test/dummy/app/assets/images/logo.jpg
|
|
174
|
-
- test/dummy/app/assets/javascripts/application.js
|
|
175
|
-
- test/dummy/app/assets/stylesheets/application.css
|
|
176
|
-
- test/dummy/app/controllers/application_controller.rb
|
|
177
|
-
- test/dummy/app/helpers/application_helper.rb
|
|
178
|
-
- test/dummy/app/views/layouts/application.html.erb
|
|
179
|
-
- test/dummy/app/views/maktoub/newsletters/test_template.erb
|
|
180
|
-
- test/dummy/config/application.rb
|
|
181
|
-
- test/dummy/config/boot.rb
|
|
182
|
-
- test/dummy/config/database.yml
|
|
183
|
-
- test/dummy/config/environment.rb
|
|
184
|
-
- test/dummy/config/environments/development.rb
|
|
185
|
-
- test/dummy/config/environments/production.rb
|
|
186
|
-
- test/dummy/config/environments/test.rb
|
|
187
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
188
|
-
- test/dummy/config/initializers/inflections.rb
|
|
189
|
-
- test/dummy/config/initializers/maktoub.rb
|
|
190
|
-
- test/dummy/config/initializers/mime_types.rb
|
|
191
|
-
- test/dummy/config/initializers/secret_token.rb
|
|
192
|
-
- test/dummy/config/initializers/session_store.rb
|
|
193
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
|
194
|
-
- test/dummy/config/locales/en.yml
|
|
195
|
-
- test/dummy/config/routes.rb
|
|
196
|
-
- test/dummy/config.ru
|
|
197
|
-
- test/dummy/db/development.sqlite3
|
|
198
|
-
- test/dummy/db/schema.rb
|
|
199
|
-
- test/dummy/db/test.sqlite3
|
|
200
|
-
- test/dummy/log/development.log
|
|
201
|
-
- test/dummy/log/test.log
|
|
202
|
-
- test/dummy/public/404.html
|
|
203
|
-
- test/dummy/public/422.html
|
|
204
|
-
- test/dummy/public/500.html
|
|
205
|
-
- test/dummy/public/favicon.ico
|
|
206
|
-
- test/dummy/Rakefile
|
|
207
|
-
- test/dummy/script/rails
|
|
208
|
-
- test/dummy/tmp/cache/assets/CA2/C20/sprockets%2F5603f1da541a5e3c72d26611478813da
|
|
209
|
-
- test/dummy/tmp/cache/assets/CB4/BE0/sprockets%2F57f7e5c53278ac52062992433f317acc
|
|
210
|
-
- test/dummy/tmp/cache/assets/CBC/F80/sprockets%2F95bdffc2824328543384db8ea7890153
|
|
211
|
-
- test/dummy/tmp/cache/assets/CCF/9C0/sprockets%2Fae24de6a552b3d6057517681a1a363e0
|
|
212
|
-
- test/dummy/tmp/cache/assets/CDD/630/sprockets%2F75757e115102f4fcc9ed52a2249bf082
|
|
213
|
-
- test/dummy/tmp/cache/assets/D34/130/sprockets%2F9a5c11d810e2e1f87ea6452113cc7e4c
|
|
214
|
-
- test/dummy/tmp/cache/assets/D68/E80/sprockets%2F2c93d36471b04c04bb72a9aeeaf496a8
|
|
215
|
-
- test/dummy/tmp/cache/assets/D6E/8A0/sprockets%2Fa833bda5303fa2c89da36ec6b469618d
|
|
216
|
-
- test/dummy/tmp/cache/assets/D70/6F0/sprockets%2Ff37da951add08a3d2866a4767b5afc43
|
|
217
|
-
- test/dummy/tmp/cache/assets/D74/710/sprockets%2F4865a147f154cadc0b49ebe873be7a85
|
|
218
|
-
- test/dummy/tmp/cache/assets/D76/B40/sprockets%2F8aea19137c7b683ef195fa3bf2a9704f
|
|
219
|
-
- test/dummy/tmp/cache/assets/D7D/170/sprockets%2F15742d263cfefba79b76652f6e94ac6d
|
|
220
|
-
- test/dummy/tmp/cache/assets/DC6/1E0/sprockets%2F5fad4aa8ef2c006cc0dd5233e98dd922
|
|
221
|
-
- test/functional/maktoub/archives_controller_test.rb
|
|
222
|
-
- test/functional/maktoub/newsletter_mailer_test.rb
|
|
223
|
-
- test/integration/navigation_test.rb
|
|
224
|
-
- test/maktoub_test.rb
|
|
225
|
-
- test/test_helper.rb
|
|
226
|
-
- test/unit/helpers/maktoub/archives_helper_test.rb
|
|
132
|
+
test_files: []
|
data/test/dummy/Rakefile
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env rake
|
|
2
|
-
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
|
3
|
-
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
|
4
|
-
|
|
5
|
-
require File.expand_path('../config/application', __FILE__)
|
|
6
|
-
|
|
7
|
-
Dummy::Application.load_tasks
|
|
Binary file
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// This is a manifest file that'll be compiled into including all the files listed below.
|
|
2
|
-
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
|
3
|
-
// be included in the compiled file accessible from http://example.com/assets/application.js
|
|
4
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
5
|
-
// the compiled file.
|
|
6
|
-
//
|
|
7
|
-
//= require jquery
|
|
8
|
-
//= require jquery_ujs
|
|
9
|
-
//= require_tree .
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
|
3
|
-
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
|
4
|
-
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
|
5
|
-
*= require_self
|
|
6
|
-
*= require_tree .
|
|
7
|
-
*/
|