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.
Files changed (111) hide show
  1. data/.yardoc/checksums +4 -4
  2. data/.yardoc/objects/ActionMailer/Base/collect_responses_and_parts_order_i.dat +0 -0
  3. data/.yardoc/objects/ActionMailer/Base/mail_i.dat +0 -0
  4. data/.yardoc/objects/ActionMailer/Base/origin_mail_i.dat +0 -0
  5. data/.yardoc/objects/ActionMailer/Base/set_layout_and_partials_i.dat +0 -0
  6. data/.yardoc/objects/ActionMailer/Base.dat +0 -0
  7. data/.yardoc/objects/ActionMailer/Collector/custom_i.dat +0 -0
  8. data/.yardoc/objects/ActionMailer/Collector.dat +0 -0
  9. data/.yardoc/objects/ActionMailer.dat +0 -0
  10. data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat +0 -0
  11. data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat +0 -0
  12. data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods.dat +0 -0
  13. data/.yardoc/objects/MailEngine/ActsAsMailReceiver.dat +0 -0
  14. data/.yardoc/objects/MailEngine/Base/_40_40configurations.dat +0 -0
  15. data/.yardoc/objects/MailEngine/Base/current_config_c.dat +0 -0
  16. data/.yardoc/objects/MailEngine/Base/send_marketing_mail_c.dat +0 -0
  17. data/.yardoc/objects/MailEngine/Base.dat +0 -0
  18. data/.yardoc/objects/MailEngine/Configuration/load_c.dat +0 -0
  19. data/.yardoc/objects/MailEngine/Configuration.dat +0 -0
  20. data/.yardoc/objects/MailEngine/CopyMigrations/copy_migrations_i.dat +0 -0
  21. data/.yardoc/objects/MailEngine/CopyMigrations.dat +0 -0
  22. data/.yardoc/objects/MailEngine/CopyResources/copy_resources_i.dat +0 -0
  23. data/.yardoc/objects/MailEngine/CopyResources.dat +0 -0
  24. data/.yardoc/objects/MailEngine/CreateConfig/create_config_file_i.dat +0 -0
  25. data/.yardoc/objects/MailEngine/CreateConfig.dat +0 -0
  26. data/.yardoc/objects/MailEngine/Engine.dat +0 -0
  27. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/check_21_c.dat +0 -0
  28. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/get_resource_url_c.dat +0 -0
  29. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/process_c.dat +0 -0
  30. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_in_html_c.dat +0 -0
  31. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer.dat +0 -0
  32. data/.yardoc/objects/MailEngine/Install/copy_migrations_i.dat +0 -0
  33. data/.yardoc/objects/MailEngine/Install/copy_resources_i.dat +0 -0
  34. data/.yardoc/objects/MailEngine/Install/create_config_i.dat +0 -0
  35. data/.yardoc/objects/MailEngine/Install.dat +0 -0
  36. data/.yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat +0 -0
  37. data/.yardoc/objects/MailEngine/MailLogSubscriber.dat +0 -0
  38. data/.yardoc/objects/MailEngine/PLACEHOLDERS_IN_LAYOUT.dat +0 -0
  39. data/.yardoc/objects/MailEngine/Sendgrid/Base/ClassMethods/sendgrid_header_i.dat +0 -0
  40. data/.yardoc/objects/MailEngine/Sendgrid/Base/ClassMethods.dat +0 -0
  41. data/.yardoc/objects/MailEngine/Sendgrid/Base/InstanceMethods.dat +0 -0
  42. data/.yardoc/objects/MailEngine/Sendgrid/Base.dat +0 -0
  43. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/data_3D_i.dat +0 -0
  44. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/data_i.dat +0 -0
  45. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/initialize_i.dat +0 -0
  46. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/validate_config_21_i.dat +0 -0
  47. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting.dat +0 -0
  48. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/blocks_c.dat +0 -0
  49. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/bounces_c.dat +0 -0
  50. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/invalidemails_c.dat +0 -0
  51. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/spamreports_c.dat +0 -0
  52. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/stats_c.dat +0 -0
  53. data/.yardoc/objects/MailEngine/Sendgrid/RestApi.dat +0 -0
  54. data/.yardoc/objects/MailEngine/Sendgrid/RestApiError.dat +0 -0
  55. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/add_sub_val_i.dat +0 -0
  56. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/add_to_i.dat +0 -0
  57. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/category_i.dat +0 -0
  58. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/filters_i.dat +0 -0
  59. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/initialize_i.dat +0 -0
  60. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/set_unique_args_i.dat +0 -0
  61. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_hash_i.dat +0 -0
  62. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_json_i.dat +0 -0
  63. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_s_i.dat +0 -0
  64. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi.dat +0 -0
  65. data/.yardoc/objects/MailEngine/Sendgrid.dat +0 -0
  66. data/.yardoc/objects/MailEngine/VERSION.dat +0 -0
  67. data/.yardoc/objects/MailEngine/ZipProcessor/extract_all_files_c.dat +0 -0
  68. data/.yardoc/objects/MailEngine/ZipProcessor.dat +0 -0
  69. data/.yardoc/objects/MailEngine.dat +0 -0
  70. data/.yardoc/objects/root.dat +0 -0
  71. data/Gemfile +5 -13
  72. data/Gemfile.lock +5 -7
  73. data/README.mkd +4 -0
  74. data/VERSION +1 -1
  75. data/config/routes.rb +37 -36
  76. data/doc/ActionMailer/Base.html +1 -1
  77. data/doc/ActionMailer/Collector.html +1 -1
  78. data/doc/ActionMailer.html +1 -1
  79. data/doc/MailEngine/ActsAsMailReceiver/ClassMethods.html +1 -1
  80. data/doc/MailEngine/ActsAsMailReceiver.html +1 -1
  81. data/doc/MailEngine/Base.html +2 -2
  82. data/doc/MailEngine/Configuration.html +4 -4
  83. data/doc/MailEngine/CopyMigrations.html +1 -1
  84. data/doc/MailEngine/CopyResources.html +1 -1
  85. data/doc/MailEngine/CreateConfig.html +1 -1
  86. data/doc/MailEngine/Engine.html +1 -1
  87. data/doc/MailEngine/HtmlDocumentAssetsReplacer.html +1 -1
  88. data/doc/MailEngine/Install.html +16 -16
  89. data/doc/MailEngine/MailLogSubscriber.html +1 -1
  90. data/doc/MailEngine/Sendgrid/Base/ClassMethods.html +1 -1
  91. data/doc/MailEngine/Sendgrid/Base/InstanceMethods.html +1 -1
  92. data/doc/MailEngine/Sendgrid/Base.html +1 -1
  93. data/doc/MailEngine/Sendgrid/FilterSetting.html +1 -1
  94. data/doc/MailEngine/Sendgrid/RestApi.html +1 -1
  95. data/doc/MailEngine/Sendgrid/RestApiError.html +1 -1
  96. data/doc/MailEngine/Sendgrid/SmtpApi.html +1 -1
  97. data/doc/MailEngine/Sendgrid.html +1 -1
  98. data/doc/MailEngine/ZipProcessor.html +1 -1
  99. data/doc/MailEngine.html +1 -1
  100. data/doc/_index.html +9 -9
  101. data/doc/file.README.html +5 -1
  102. data/doc/index.html +5 -1
  103. data/doc/method_list.html +8 -8
  104. data/doc/top-level-namespace.html +1 -1
  105. data/lib/mail_engine/base.rb +1 -1
  106. data/lib/mail_engine/configuration.rb +3 -3
  107. data/lib/mail_engine/engine.rb +13 -4
  108. data/lib/mail_engine/generators/install.rb +5 -4
  109. data/mail_engine.gemspec +16 -16
  110. data/test/dummy/config/database.yml +44 -44
  111. 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 bbf7649465b0710e3bba74fc92d5d79f6b142c48
4
- lib/mail_engine/engine.rb 7a759d9a8c15cdee3971e785f7ee7532c6267d8d
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 a2bb3a06a418ed0b481d194f195d7720652e4014
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 6c1c2c7f81fdd186b94251a028d2dc7dd4526047
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
data/Gemfile CHANGED
@@ -1,21 +1,14 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "rails", "3.0.4"
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
- simplecov (0.4.1)
143
- simplecov-html (~> 0.4.3)
144
- simplecov-html (0.4.3)
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
- simplecov (>= 0.4.0)
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.0
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
- scope MailEngine::Base.current_config["mount_at"], :module => :mail_engine do
4
- match '/', :controller => "dashboard", :action => "index", :as => :mail_engine_dashboard
5
-
6
- resources :mail_templates do
7
- member do
8
- get :duplicate
9
- put :duplicate
10
- get :preview
11
- post :preview
12
- get :body
13
- post :body
14
- post :send_test_mail
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
- collection do
18
- # used before mail template been saved
19
- post :preview
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 :mail_template_files
28
- end
29
-
30
- resources :mail_schedules do
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
- resources :reports do
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
@@ -184,7 +184,7 @@
184
184
  </div>
185
185
 
186
186
  <div id="footer">
187
- Generated on Fri Mar 4 00:23:19 2011 by
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 00:23:19 2011 by
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>
@@ -99,7 +99,7 @@ format.text { xxxx; render &#8216;xxx&#8217; }
99
99
  </div>
100
100
 
101
101
  <div id="footer">
102
- Generated on Fri Mar 4 00:23:20 2011 by
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 00:23:18 2011 by
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>
@@ -88,7 +88,7 @@
88
88
  </div>
89
89
 
90
90
  <div id="footer">
91
- Generated on Fri Mar 4 00:23:20 2011 by
91
+ Generated on Fri Mar 4 17:56:26 2011 by
92
92
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
93
93
  0.6.4 (ruby-1.8.7).
94
94
  </div>
@@ -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 00:23:19 2011 by
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 &lt;% %&gt;</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'>&quot;config&quot;</span><span class='comma token'>,</span> <span class='string val'>&quot;mail_engine_config.yml&quot;</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='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>
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 00:23:20 2011 by
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 00:23:19 2011 by
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 00:23:20 2011 by
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 00:23:20 2011 by
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>
@@ -91,7 +91,7 @@
91
91
  </div>
92
92
 
93
93
  <div id="footer">
94
- Generated on Fri Mar 4 00:23:19 2011 by
94
+ Generated on Fri Mar 4 17:56:26 2011 by
95
95
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
96
96
  0.6.4 (ruby-1.8.7).
97
97
  </div>
@@ -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 00:23:20 2011 by
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>
@@ -179,13 +179,13 @@
179
179
  <pre class="lines">
180
180
 
181
181
 
182
- 11
183
- 12
184
- 13
185
- 14</pre>
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 11</span>
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'>&quot;Copying Migration Files to project...&quot;</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
- 6
214
- 7
215
- 8
216
- 9</pre>
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 6</span>
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'>&quot;Copying Resource Files to project...&quot;</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
- 16
245
- 17
246
- 18
247
- 19</pre>
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 16</span>
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'>&quot;Create Configure file to project...&quot;</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 00:23:19 2011 by
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 00:23:19 2011 by
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>