mail_engine 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardoc/checksums +4 -4
- data/.yardoc/objects/ActionMailer/Base/collect_responses_and_parts_order_i.dat +0 -0
- data/.yardoc/objects/ActionMailer/Base/mail_i.dat +0 -0
- data/.yardoc/objects/ActionMailer/Base/origin_mail_i.dat +0 -0
- data/.yardoc/objects/ActionMailer/Base/set_layout_and_partials_i.dat +0 -0
- data/.yardoc/objects/ActionMailer/Base.dat +0 -0
- data/.yardoc/objects/ActionMailer/Collector/custom_i.dat +0 -0
- data/.yardoc/objects/ActionMailer/Collector.dat +0 -0
- data/.yardoc/objects/ActionMailer.dat +0 -0
- data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat +0 -0
- data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat +0 -0
- data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods.dat +0 -0
- data/.yardoc/objects/MailEngine/ActsAsMailReceiver.dat +0 -0
- data/.yardoc/objects/MailEngine/Base/_40_40configurations.dat +0 -0
- data/.yardoc/objects/MailEngine/Base/current_config_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Base/send_marketing_mail_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Base.dat +0 -0
- data/.yardoc/objects/MailEngine/Configuration/load_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Configuration.dat +0 -0
- data/.yardoc/objects/MailEngine/CopyMigrations/copy_migrations_i.dat +0 -0
- data/.yardoc/objects/MailEngine/CopyMigrations.dat +0 -0
- data/.yardoc/objects/MailEngine/CopyResources/copy_resources_i.dat +0 -0
- data/.yardoc/objects/MailEngine/CopyResources.dat +0 -0
- data/.yardoc/objects/MailEngine/CreateConfig/create_config_file_i.dat +0 -0
- data/.yardoc/objects/MailEngine/CreateConfig.dat +0 -0
- data/.yardoc/objects/MailEngine/Engine.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/check_21_c.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/get_resource_url_c.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/process_c.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_in_html_c.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer.dat +0 -0
- data/.yardoc/objects/MailEngine/Install/copy_migrations_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Install/copy_resources_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Install/create_config_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Install.dat +0 -0
- data/.yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat +0 -0
- data/.yardoc/objects/MailEngine/MailLogSubscriber.dat +0 -0
- data/.yardoc/objects/MailEngine/PLACEHOLDERS_IN_LAYOUT.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/Base/ClassMethods/sendgrid_header_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/Base/ClassMethods.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/Base/InstanceMethods.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/Base.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/data_3D_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/data_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/initialize_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/validate_config_21_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi/blocks_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi/bounces_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi/invalidemails_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi/spamreports_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi/stats_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApiError.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/add_sub_val_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/add_to_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/category_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/filters_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/initialize_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/set_unique_args_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_hash_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_json_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_s_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid.dat +0 -0
- data/.yardoc/objects/MailEngine/VERSION.dat +0 -0
- data/.yardoc/objects/MailEngine/ZipProcessor/extract_all_files_c.dat +0 -0
- data/.yardoc/objects/MailEngine/ZipProcessor.dat +0 -0
- data/.yardoc/objects/MailEngine.dat +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile +5 -13
- data/Gemfile.lock +5 -7
- data/README.mkd +4 -0
- data/VERSION +1 -1
- data/config/routes.rb +37 -36
- data/doc/ActionMailer/Base.html +1 -1
- data/doc/ActionMailer/Collector.html +1 -1
- data/doc/ActionMailer.html +1 -1
- data/doc/MailEngine/ActsAsMailReceiver/ClassMethods.html +1 -1
- data/doc/MailEngine/ActsAsMailReceiver.html +1 -1
- data/doc/MailEngine/Base.html +2 -2
- data/doc/MailEngine/Configuration.html +4 -4
- data/doc/MailEngine/CopyMigrations.html +1 -1
- data/doc/MailEngine/CopyResources.html +1 -1
- data/doc/MailEngine/CreateConfig.html +1 -1
- data/doc/MailEngine/Engine.html +1 -1
- data/doc/MailEngine/HtmlDocumentAssetsReplacer.html +1 -1
- data/doc/MailEngine/Install.html +16 -16
- data/doc/MailEngine/MailLogSubscriber.html +1 -1
- data/doc/MailEngine/Sendgrid/Base/ClassMethods.html +1 -1
- data/doc/MailEngine/Sendgrid/Base/InstanceMethods.html +1 -1
- data/doc/MailEngine/Sendgrid/Base.html +1 -1
- data/doc/MailEngine/Sendgrid/FilterSetting.html +1 -1
- data/doc/MailEngine/Sendgrid/RestApi.html +1 -1
- data/doc/MailEngine/Sendgrid/RestApiError.html +1 -1
- data/doc/MailEngine/Sendgrid/SmtpApi.html +1 -1
- data/doc/MailEngine/Sendgrid.html +1 -1
- data/doc/MailEngine/ZipProcessor.html +1 -1
- data/doc/MailEngine.html +1 -1
- data/doc/_index.html +9 -9
- data/doc/file.README.html +5 -1
- data/doc/index.html +5 -1
- data/doc/method_list.html +8 -8
- data/doc/top-level-namespace.html +1 -1
- data/lib/mail_engine/base.rb +1 -1
- data/lib/mail_engine/configuration.rb +3 -3
- data/lib/mail_engine/engine.rb +13 -4
- data/lib/mail_engine/generators/install.rb +5 -4
- data/mail_engine.gemspec +16 -16
- data/test/dummy/config/database.yml +44 -44
- metadata +16 -16
data/.yardoc/checksums
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
lib/mail_engine/sendgrid.rb 9ddb5014301ea6c90f51c53a8f491b81d4fe2e13
|
2
2
|
lib/mail_engine/version.rb ef61db17982e6fe17b507089a3bc407c2c511669
|
3
|
-
lib/mail_engine/base.rb
|
4
|
-
lib/mail_engine/engine.rb
|
3
|
+
lib/mail_engine/base.rb 506de34b61619211701fbe9dbf22e9055dc6bc1f
|
4
|
+
lib/mail_engine/engine.rb 4571a2ccd3a26b6acbb07c6a3412ec2e06bb8b35
|
5
5
|
lib/mail_engine/action_mailer_patch.rb 020e6e92590559e30a0cf8f875cc2b004316171d
|
6
6
|
lib/mail_engine/generators/copy_resources.rb 3e72e4f094070d342c090dd9cca036538b4ebdc6
|
7
7
|
lib/mail_engine/generators/create_config.rb 05cbb67778c9094bf60469ccf32401360d599265
|
8
|
-
lib/mail_engine/generators/install.rb
|
8
|
+
lib/mail_engine/generators/install.rb 8de1454821677173bfc7ca1e4d580e92981f285a
|
9
9
|
lib/mail_engine/sendgrid/rest_api.rb 7245e928594306c21d9cbf6f8173d06f0f430e7a
|
10
10
|
lib/mail_engine/sendgrid/base.rb 3b5a99c4157a654de4f0888a2b8185c80b4e49f7
|
11
11
|
lib/mail_engine/zip_processor.rb 81a8ad517a7b9c6545a0d97644aeb35e84417ab0
|
12
|
-
lib/mail_engine/configuration.rb
|
12
|
+
lib/mail_engine/configuration.rb 7ca78849a5e8d92d6b72ea6c3407417c0cefbe3b
|
13
13
|
lib/mail_engine/generators/copy_migrations.rb 217d9e93cf3610b6fdf7474d1430a2a8410e2501
|
14
14
|
lib/mail_engine/mail_log_subscriber.rb c36429e447bc6291169d096e424ff0394bdf7233
|
15
15
|
lib/mail_engine/html_document_assets_replacer.rb 079ed661e53513feef39380beaf2824c589aa1b4
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/.yardoc/objects/root.dat
CHANGED
Binary file
|
data/Gemfile
CHANGED
@@ -1,21 +1,14 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
gem "
|
3
|
+
gem "activesupport", '>= 3.0.0'
|
4
|
+
gem "httparty"
|
5
|
+
gem "nokogiri"
|
6
|
+
gem "deep_cloneable"
|
7
|
+
gem "sqlite3-ruby", :require => "sqlite3"
|
4
8
|
gem 'rack', :git => 'git://github.com/rack/rack.git'
|
5
|
-
gem "mysql"
|
6
9
|
gem "liquid", :git => "git://github.com/hlxwell/liquid.git"
|
7
|
-
gem "httparty"
|
8
10
|
gem 'kaminari', :git => 'https://github.com/amatsuda/kaminari.git'
|
9
11
|
gem "carrierwave", :git => "git://github.com/jnicklas/carrierwave.git"
|
10
|
-
gem "nokogiri"
|
11
|
-
gem "deep_cloneable"
|
12
|
-
|
13
|
-
# gem "mustache"
|
14
|
-
# gem "sqlite3-ruby", :require => "sqlite3"
|
15
|
-
|
16
|
-
# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
|
17
|
-
# gem "ruby-debug"
|
18
|
-
# gem "ruby-debug19"
|
19
12
|
|
20
13
|
group :development do
|
21
14
|
gem "bluecloth"
|
@@ -27,7 +20,6 @@ group :development do
|
|
27
20
|
end
|
28
21
|
|
29
22
|
group :test do
|
30
|
-
gem 'simplecov', '>= 0.4.0', :require => false
|
31
23
|
gem "timecop"
|
32
24
|
gem "capybara", ">= 0.4.0"
|
33
25
|
gem "mocha", :require => "mocha"
|
data/Gemfile.lock
CHANGED
@@ -100,7 +100,6 @@ GEM
|
|
100
100
|
mime-types (1.16)
|
101
101
|
mocha (0.9.10)
|
102
102
|
rake
|
103
|
-
mysql (2.8.1)
|
104
103
|
nokogiri (1.4.4)
|
105
104
|
polyglot (0.3.1)
|
106
105
|
rack-mount (0.6.13)
|
@@ -139,9 +138,9 @@ GEM
|
|
139
138
|
rubyzip
|
140
139
|
sexp_processor (3.0.5)
|
141
140
|
shoulda (2.11.3)
|
142
|
-
|
143
|
-
|
144
|
-
|
141
|
+
sqlite3 (1.3.3)
|
142
|
+
sqlite3-ruby (1.3.3)
|
143
|
+
sqlite3 (>= 1.3.3)
|
145
144
|
test_benchmarker (1.2.1)
|
146
145
|
thor (0.14.6)
|
147
146
|
timecop (0.3.5)
|
@@ -156,6 +155,7 @@ PLATFORMS
|
|
156
155
|
ruby
|
157
156
|
|
158
157
|
DEPENDENCIES
|
158
|
+
activesupport (>= 3.0.0)
|
159
159
|
bluecloth
|
160
160
|
bundler
|
161
161
|
capybara (>= 0.4.0)
|
@@ -168,15 +168,13 @@ DEPENDENCIES
|
|
168
168
|
kaminari!
|
169
169
|
liquid!
|
170
170
|
mocha
|
171
|
-
mysql
|
172
171
|
nokogiri
|
173
172
|
rack!
|
174
173
|
rack-test
|
175
|
-
rails (= 3.0.4)
|
176
174
|
rcov
|
177
175
|
reek
|
178
176
|
shoulda
|
179
|
-
|
177
|
+
sqlite3-ruby
|
180
178
|
test_benchmarker
|
181
179
|
timecop
|
182
180
|
yard
|
data/README.mkd
CHANGED
@@ -81,6 +81,10 @@ condition for the scheduler, like if no specified data in collection, don't send
|
|
81
81
|
You also can send mail in your program by using:
|
82
82
|
MailEngine::MailDispatcher.{your marketing mail template name}(:to => "Michael he <hlxwell@gmail.com>", :values => {:username => "Michael He"}).deliver
|
83
83
|
|
84
|
+
Notes
|
85
|
+
=====
|
86
|
+
Currently only support above rails3.
|
87
|
+
|
84
88
|
Screenshots
|
85
89
|
===========
|
86
90
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/config/routes.rb
CHANGED
@@ -1,47 +1,48 @@
|
|
1
1
|
module MailEngine
|
2
2
|
Rails.application.routes.draw do
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
3
|
+
# if not loaded config should not mount it.
|
4
|
+
if mount_at = MailEngine::Base.current_config["mount_at"]
|
5
|
+
scope mount_at, :module => :mail_engine do
|
6
|
+
match '/', :controller => "dashboard", :action => "index", :as => :mail_engine_dashboard
|
7
|
+
|
8
|
+
resources :mail_templates do
|
9
|
+
member do
|
10
|
+
get :duplicate
|
11
|
+
put :duplicate
|
12
|
+
get :preview
|
13
|
+
post :preview
|
14
|
+
get :body
|
15
|
+
post :body
|
16
|
+
post :send_test_mail
|
17
|
+
end
|
18
|
+
|
19
|
+
collection do
|
20
|
+
# used before mail template been saved
|
21
|
+
post :preview
|
22
|
+
|
23
|
+
get :get_existed_subject
|
24
|
+
get :new_by_upload
|
25
|
+
post :create_by_upload
|
26
|
+
post :partial_options
|
27
|
+
end
|
28
|
+
|
29
|
+
resources :mail_template_files
|
15
30
|
end
|
16
31
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
get :get_existed_subject
|
22
|
-
get :new_by_upload
|
23
|
-
post :create_by_upload
|
24
|
-
post :partial_options
|
32
|
+
resources :mail_schedules do
|
33
|
+
member do
|
34
|
+
post :send_test_mail
|
35
|
+
end
|
25
36
|
end
|
26
37
|
|
27
|
-
resources :
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
member do
|
32
|
-
post :send_test_mail
|
38
|
+
resources :reports do
|
39
|
+
collection do
|
40
|
+
get :chart
|
41
|
+
end
|
33
42
|
end
|
34
|
-
end
|
35
43
|
|
36
|
-
|
37
|
-
collection do
|
38
|
-
get :chart
|
39
|
-
end
|
44
|
+
resources :mail_logs
|
40
45
|
end
|
41
|
-
|
42
|
-
resources :mail_logs
|
43
|
-
end
|
44
|
-
|
45
|
-
# match ':controller(/:action(/:id(.:format)))', :controller => /admin\/[^\/]+/
|
46
|
+
end # end if
|
46
47
|
end
|
47
48
|
end
|
data/doc/ActionMailer/Base.html
CHANGED
@@ -184,7 +184,7 @@
|
|
184
184
|
</div>
|
185
185
|
|
186
186
|
<div id="footer">
|
187
|
-
Generated on Fri Mar 4
|
187
|
+
Generated on Fri Mar 4 17:56:26 2011 by
|
188
188
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
189
189
|
0.6.4 (ruby-1.8.7).
|
190
190
|
</div>
|
@@ -166,7 +166,7 @@
|
|
166
166
|
</div>
|
167
167
|
|
168
168
|
<div id="footer">
|
169
|
-
Generated on Fri Mar 4
|
169
|
+
Generated on Fri Mar 4 17:56:26 2011 by
|
170
170
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
171
171
|
0.6.4 (ruby-1.8.7).
|
172
172
|
</div>
|
data/doc/ActionMailer.html
CHANGED
@@ -99,7 +99,7 @@ format.text { xxxx; render ‘xxx’ }
|
|
99
99
|
</div>
|
100
100
|
|
101
101
|
<div id="footer">
|
102
|
-
Generated on Fri Mar 4
|
102
|
+
Generated on Fri Mar 4 17:56:26 2011 by
|
103
103
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
104
104
|
0.6.4 (ruby-1.8.7).
|
105
105
|
</div>
|
@@ -178,7 +178,7 @@ you can define:
|
|
178
178
|
</div>
|
179
179
|
|
180
180
|
<div id="footer">
|
181
|
-
Generated on Fri Mar 4
|
181
|
+
Generated on Fri Mar 4 17:56:25 2011 by
|
182
182
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
183
183
|
0.6.4 (ruby-1.8.7).
|
184
184
|
</div>
|
data/doc/MailEngine/Base.html
CHANGED
@@ -201,7 +201,7 @@ return current runtime environment config hash.
|
|
201
201
|
<pre class="code"><span class="info file"># File 'lib/mail_engine/base.rb', line 17</span>
|
202
202
|
|
203
203
|
<span class='def def kw'>def</span> <span class='current_config identifier id'>current_config</span>
|
204
|
-
<span class='MailEngine constant id'>MailEngine</span><span class='colon2 op'>::</span><span class='Base constant id'>Base</span><span class='dot token'>.</span><span class='configurations identifier id'>configurations</span><span class='lbrack token'>[</span><span class='Rails constant id'>Rails</span><span class='dot token'>.</span><span class='env identifier id'>env</span><span class='rbrack token'>]</span>
|
204
|
+
<span class='MailEngine constant id'>MailEngine</span><span class='colon2 op'>::</span><span class='Base constant id'>Base</span><span class='dot token'>.</span><span class='configurations identifier id'>configurations</span><span class='lbrack token'>[</span><span class='Rails constant id'>Rails</span><span class='dot token'>.</span><span class='env identifier id'>env</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span>
|
205
205
|
<span class='end end kw'>end</span>
|
206
206
|
</pre>
|
207
207
|
</td>
|
@@ -288,7 +288,7 @@ send mail template with given data.
|
|
288
288
|
</div>
|
289
289
|
|
290
290
|
<div id="footer">
|
291
|
-
Generated on Fri Mar 4
|
291
|
+
Generated on Fri Mar 4 17:56:26 2011 by
|
292
292
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
293
293
|
0.6.4 (ruby-1.8.7).
|
294
294
|
</div>
|
@@ -156,10 +156,10 @@ config by MailEngine::Base.current_config[]
|
|
156
156
|
<pre class="code"><span class="info file"># File 'lib/mail_engine/configuration.rb', line 6</span>
|
157
157
|
|
158
158
|
<span class='def def kw'>def</span> <span class='load identifier id'>load</span>
|
159
|
-
<span class='require identifier id'>require</span> <span class='string val'>'erb'</span>
|
160
|
-
|
159
|
+
<span class='require identifier id'>require</span> <span class='string val'>'erb'</span> <span class='comment val'># make config file support erb tags. like <% %></span>
|
161
160
|
<span class='config_path identifier id'>config_path</span> <span class='assign token'>=</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='Rails constant id'>Rails</span><span class='dot token'>.</span><span class='root identifier id'>root</span><span class='comma token'>,</span> <span class='string val'>"config"</span><span class='comma token'>,</span> <span class='string val'>"mail_engine_config.yml"</span><span class='rparen token'>)</span>
|
162
|
-
<span class='MailEngine constant id'>MailEngine</span><span class='colon2 op'>::</span><span class='Base constant id'>Base</span><span class='dot token'>.</span><span class='configurations identifier id'>configurations</span> <span class='assign token'>=</span> <span class='
|
161
|
+
<span class='MailEngine constant id'>MailEngine</span><span class='colon2 op'>::</span><span class='Base constant id'>Base</span><span class='dot token'>.</span><span class='configurations identifier id'>configurations</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span>
|
162
|
+
<span class='MailEngine constant id'>MailEngine</span><span class='colon2 op'>::</span><span class='Base constant id'>Base</span><span class='dot token'>.</span><span class='configurations identifier id'>configurations</span> <span class='assign token'>=</span> <span class='YAML constant id'>YAML</span><span class='colon2 op'>::</span><span class='load identifier id'>load</span><span class='lparen token'>(</span><span class='ERB constant id'>ERB</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='IO constant id'>IO</span><span class='dot token'>.</span><span class='read identifier id'>read</span><span class='lparen token'>(</span><span class='config_path identifier id'>config_path</span><span class='rparen token'>)</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='result identifier id'>result</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='exist? fid id'>exist?</span><span class='lparen token'>(</span><span class='config_path identifier id'>config_path</span><span class='rparen token'>)</span>
|
163
163
|
<span class='end end kw'>end</span>
|
164
164
|
</pre>
|
165
165
|
</td>
|
@@ -172,7 +172,7 @@ config by MailEngine::Base.current_config[]
|
|
172
172
|
</div>
|
173
173
|
|
174
174
|
<div id="footer">
|
175
|
-
Generated on Fri Mar 4
|
175
|
+
Generated on Fri Mar 4 17:56:25 2011 by
|
176
176
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
177
177
|
0.6.4 (ruby-1.8.7).
|
178
178
|
</div>
|
@@ -178,7 +178,7 @@
|
|
178
178
|
</div>
|
179
179
|
|
180
180
|
<div id="footer">
|
181
|
-
Generated on Fri Mar 4
|
181
|
+
Generated on Fri Mar 4 17:56:26 2011 by
|
182
182
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
183
183
|
0.6.4 (ruby-1.8.7).
|
184
184
|
</div>
|
@@ -162,7 +162,7 @@
|
|
162
162
|
</div>
|
163
163
|
|
164
164
|
<div id="footer">
|
165
|
-
Generated on Fri Mar 4
|
165
|
+
Generated on Fri Mar 4 17:56:25 2011 by
|
166
166
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
167
167
|
0.6.4 (ruby-1.8.7).
|
168
168
|
</div>
|
@@ -184,7 +184,7 @@ end
|
|
184
184
|
</div>
|
185
185
|
|
186
186
|
<div id="footer">
|
187
|
-
Generated on Fri Mar 4
|
187
|
+
Generated on Fri Mar 4 17:56:27 2011 by
|
188
188
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
189
189
|
0.6.4 (ruby-1.8.7).
|
190
190
|
</div>
|
data/doc/MailEngine/Engine.html
CHANGED
@@ -388,7 +388,7 @@ replace the old filename in html by new filename
|
|
388
388
|
</div>
|
389
389
|
|
390
390
|
<div id="footer">
|
391
|
-
Generated on Fri Mar 4
|
391
|
+
Generated on Fri Mar 4 17:56:26 2011 by
|
392
392
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
393
393
|
0.6.4 (ruby-1.8.7).
|
394
394
|
</div>
|
data/doc/MailEngine/Install.html
CHANGED
@@ -179,13 +179,13 @@
|
|
179
179
|
<pre class="lines">
|
180
180
|
|
181
181
|
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
182
|
+
16
|
183
|
+
17
|
184
|
+
18
|
185
|
+
19</pre>
|
186
186
|
</td>
|
187
187
|
<td>
|
188
|
-
<pre class="code"><span class="info file"># File 'lib/mail_engine/generators/install.rb', line
|
188
|
+
<pre class="code"><span class="info file"># File 'lib/mail_engine/generators/install.rb', line 16</span>
|
189
189
|
|
190
190
|
<span class='def def kw'>def</span> <span class='copy_migrations identifier id'>copy_migrations</span>
|
191
191
|
<span class='say identifier id'>say</span> <span class='string val'>"Copying Migration Files to project..."</span><span class='comma token'>,</span> <span class='symbol val'>:yellow</span>
|
@@ -210,13 +210,13 @@
|
|
210
210
|
<pre class="lines">
|
211
211
|
|
212
212
|
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
213
|
+
11
|
214
|
+
12
|
215
|
+
13
|
216
|
+
14</pre>
|
217
217
|
</td>
|
218
218
|
<td>
|
219
|
-
<pre class="code"><span class="info file"># File 'lib/mail_engine/generators/install.rb', line
|
219
|
+
<pre class="code"><span class="info file"># File 'lib/mail_engine/generators/install.rb', line 11</span>
|
220
220
|
|
221
221
|
<span class='def def kw'>def</span> <span class='copy_resources identifier id'>copy_resources</span>
|
222
222
|
<span class='say identifier id'>say</span> <span class='string val'>"Copying Resource Files to project..."</span><span class='comma token'>,</span> <span class='symbol val'>:yellow</span>
|
@@ -241,13 +241,13 @@
|
|
241
241
|
<pre class="lines">
|
242
242
|
|
243
243
|
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
244
|
+
6
|
245
|
+
7
|
246
|
+
8
|
247
|
+
9</pre>
|
248
248
|
</td>
|
249
249
|
<td>
|
250
|
-
<pre class="code"><span class="info file"># File 'lib/mail_engine/generators/install.rb', line
|
250
|
+
<pre class="code"><span class="info file"># File 'lib/mail_engine/generators/install.rb', line 6</span>
|
251
251
|
|
252
252
|
<span class='def def kw'>def</span> <span class='create_config identifier id'>create_config</span>
|
253
253
|
<span class='say identifier id'>say</span> <span class='string val'>"Create Configure file to project..."</span><span class='comma token'>,</span> <span class='symbol val'>:yellow</span>
|
@@ -264,7 +264,7 @@
|
|
264
264
|
</div>
|
265
265
|
|
266
266
|
<div id="footer">
|
267
|
-
Generated on Fri Mar 4
|
267
|
+
Generated on Fri Mar 4 17:56:26 2011 by
|
268
268
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
269
269
|
0.6.4 (ruby-1.8.7).
|
270
270
|
</div>
|
@@ -195,7 +195,7 @@ another good solution.
|
|
195
195
|
</div>
|
196
196
|
|
197
197
|
<div id="footer">
|
198
|
-
Generated on Fri Mar 4
|
198
|
+
Generated on Fri Mar 4 17:56:26 2011 by
|
199
199
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
200
200
|
0.6.4 (ruby-1.8.7).
|
201
201
|
</div>
|