mail_engine 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/.yardoc/checksums +9 -7
  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/LiquidView/PROTECTED_ASSIGNS.dat +0 -0
  11. data/.yardoc/objects/LiquidView/PROTECTED_INSTANCE_VARIABLES.dat +0 -0
  12. data/.yardoc/objects/LiquidView/call_c.dat +0 -0
  13. data/.yardoc/objects/LiquidView/compilable_3F_i.dat +0 -0
  14. data/.yardoc/objects/LiquidView/initialize_i.dat +0 -0
  15. data/.yardoc/objects/LiquidView/render_i.dat +0 -0
  16. data/.yardoc/objects/LiquidView.dat +0 -0
  17. data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat +0 -0
  18. data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat +0 -0
  19. data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods.dat +0 -0
  20. data/.yardoc/objects/MailEngine/ActsAsMailReceiver.dat +0 -0
  21. data/.yardoc/objects/MailEngine/Base/_40_40configurations.dat +0 -0
  22. data/.yardoc/objects/MailEngine/Base/current_config_c.dat +0 -0
  23. data/.yardoc/objects/MailEngine/Base/send_marketing_mail_c.dat +0 -0
  24. data/.yardoc/objects/MailEngine/Base.dat +0 -0
  25. data/.yardoc/objects/MailEngine/Configuration/load_c.dat +0 -0
  26. data/.yardoc/objects/MailEngine/Configuration.dat +0 -0
  27. data/.yardoc/objects/MailEngine/CopyMigrations/copy_migrations_i.dat +0 -0
  28. data/.yardoc/objects/MailEngine/CopyMigrations.dat +0 -0
  29. data/.yardoc/objects/MailEngine/CopyResources/copy_resources_i.dat +0 -0
  30. data/.yardoc/objects/MailEngine/CopyResources.dat +0 -0
  31. data/.yardoc/objects/MailEngine/CreateConfig/create_config_file_i.dat +0 -0
  32. data/.yardoc/objects/MailEngine/CreateConfig.dat +0 -0
  33. data/.yardoc/objects/MailEngine/Engine.dat +0 -0
  34. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/check_21_c.dat +0 -0
  35. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/get_resource_url_c.dat +0 -0
  36. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/process_c.dat +0 -0
  37. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_in_html_c.dat +0 -0
  38. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer.dat +0 -0
  39. data/.yardoc/objects/MailEngine/Install/copy_migrations_i.dat +0 -0
  40. data/.yardoc/objects/MailEngine/Install/copy_resources_i.dat +0 -0
  41. data/.yardoc/objects/MailEngine/Install/create_config_i.dat +0 -0
  42. data/.yardoc/objects/MailEngine/Install.dat +0 -0
  43. data/.yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat +0 -0
  44. data/.yardoc/objects/MailEngine/MailLogSubscriber.dat +0 -0
  45. data/.yardoc/objects/MailEngine/MailTemplateResolver/find_templates_i.dat +0 -0
  46. data/.yardoc/objects/MailEngine/MailTemplateResolver/initialize_template_i.dat +0 -0
  47. data/.yardoc/objects/MailEngine/MailTemplateResolver/normalize_array_i.dat +0 -0
  48. data/.yardoc/objects/MailEngine/MailTemplateResolver/normalize_path_i.dat +0 -0
  49. data/.yardoc/objects/MailEngine/MailTemplateResolver/virtual_path_i.dat +0 -0
  50. data/.yardoc/objects/MailEngine/MailTemplateResolver.dat +0 -0
  51. data/.yardoc/objects/MailEngine/PLACEHOLDERS_IN_LAYOUT.dat +0 -0
  52. data/.yardoc/objects/MailEngine/Sendgrid/Base/ClassMethods/sendgrid_header_i.dat +0 -0
  53. data/.yardoc/objects/MailEngine/Sendgrid/Base/ClassMethods.dat +0 -0
  54. data/.yardoc/objects/MailEngine/Sendgrid/Base/InstanceMethods.dat +0 -0
  55. data/.yardoc/objects/MailEngine/Sendgrid/Base.dat +0 -0
  56. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/data_3D_i.dat +0 -0
  57. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/data_i.dat +0 -0
  58. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/initialize_i.dat +0 -0
  59. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/validate_config_21_i.dat +0 -0
  60. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting.dat +0 -0
  61. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/blocks_c.dat +0 -0
  62. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/bounces_c.dat +0 -0
  63. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/invalidemails_c.dat +0 -0
  64. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/spamreports_c.dat +0 -0
  65. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/stats_c.dat +0 -0
  66. data/.yardoc/objects/MailEngine/Sendgrid/RestApi.dat +0 -0
  67. data/.yardoc/objects/MailEngine/Sendgrid/RestApiError.dat +0 -0
  68. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/add_sub_val_i.dat +0 -0
  69. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/add_to_i.dat +0 -0
  70. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/category_i.dat +0 -0
  71. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/filters_i.dat +0 -0
  72. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/initialize_i.dat +0 -0
  73. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/set_send_to_i.dat +0 -0
  74. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/set_unique_args_i.dat +0 -0
  75. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_hash_i.dat +0 -0
  76. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_json_i.dat +0 -0
  77. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_s_i.dat +0 -0
  78. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi.dat +0 -0
  79. data/.yardoc/objects/MailEngine/Sendgrid.dat +0 -0
  80. data/.yardoc/objects/MailEngine/VERSION.dat +0 -0
  81. data/.yardoc/objects/MailEngine/ZipProcessor/extract_all_files_c.dat +0 -0
  82. data/.yardoc/objects/MailEngine/ZipProcessor.dat +0 -0
  83. data/.yardoc/objects/MailEngine.dat +0 -0
  84. data/.yardoc/objects/root.dat +0 -0
  85. data/.yardoc/proxy_types +0 -0
  86. data/Gemfile +0 -1
  87. data/VERSION +1 -1
  88. data/app/controllers/mail_engine/application_controller.rb +0 -2
  89. data/doc/ActionMailer/Base.html +48 -4
  90. data/doc/ActionMailer/Collector.html +11 -11
  91. data/doc/ActionMailer.html +1 -1
  92. data/doc/LiquidView.html +453 -0
  93. data/doc/MailEngine/ActsAsMailReceiver/ClassMethods.html +1 -1
  94. data/doc/MailEngine/ActsAsMailReceiver.html +1 -1
  95. data/doc/MailEngine/Base.html +14 -12
  96. data/doc/MailEngine/Configuration.html +1 -1
  97. data/doc/MailEngine/CopyMigrations.html +1 -1
  98. data/doc/MailEngine/CopyResources.html +1 -1
  99. data/doc/MailEngine/CreateConfig.html +1 -1
  100. data/doc/MailEngine/Engine.html +1 -1
  101. data/doc/MailEngine/HtmlDocumentAssetsReplacer.html +1 -1
  102. data/doc/MailEngine/Install.html +1 -1
  103. data/doc/MailEngine/MailLogSubscriber.html +1 -1
  104. data/doc/MailEngine/MailTemplateResolver.html +502 -0
  105. data/doc/MailEngine/Sendgrid/Base/ClassMethods.html +1 -1
  106. data/doc/MailEngine/Sendgrid/Base/InstanceMethods.html +1 -1
  107. data/doc/MailEngine/Sendgrid/Base.html +1 -1
  108. data/doc/MailEngine/Sendgrid/FilterSetting.html +1 -1
  109. data/doc/MailEngine/Sendgrid/RestApi.html +1 -1
  110. data/doc/MailEngine/Sendgrid/RestApiError.html +1 -1
  111. data/doc/MailEngine/Sendgrid/SmtpApi.html +99 -30
  112. data/doc/MailEngine/Sendgrid.html +1 -1
  113. data/doc/MailEngine/ZipProcessor.html +1 -1
  114. data/doc/MailEngine.html +3 -3
  115. data/doc/_index.html +25 -5
  116. data/doc/class_list.html +1 -1
  117. data/doc/file.README.html +70 -2
  118. data/doc/index.html +70 -2
  119. data/doc/method_list.html +88 -8
  120. data/doc/top-level-namespace.html +3 -1
  121. data/lib/mail_engine/action_mailer_patch.rb +2 -2
  122. data/lib/mail_engine/engine.rb +3 -7
  123. data/mail_engine.gemspec +18 -5
  124. data/test/functional/user_mailer_test.rb +2 -5
  125. metadata +27 -25
data/.yardoc/checksums CHANGED
@@ -1,18 +1,20 @@
1
1
  lib/mail_engine/sendgrid.rb 9ddb5014301ea6c90f51c53a8f491b81d4fe2e13
2
2
  lib/mail_engine/version.rb ef61db17982e6fe17b507089a3bc407c2c511669
3
- lib/mail_engine/base.rb 506de34b61619211701fbe9dbf22e9055dc6bc1f
4
- lib/mail_engine/engine.rb 4571a2ccd3a26b6acbb07c6a3412ec2e06bb8b35
5
- lib/mail_engine/action_mailer_patch.rb 020e6e92590559e30a0cf8f875cc2b004316171d
3
+ lib/mail_engine/base.rb bf22ead460d3b26ebfdfa6699f86fa1bf9e947ea
4
+ lib/mail_engine/engine.rb ca1860ff1467a6b5c31b47949ecbdf4f95fc9ed8
5
+ lib/mail_engine/action_mailer_patch.rb c152911c5f89dcae841c478ed739a8319e20de46
6
6
  lib/mail_engine/generators/copy_resources.rb 3e72e4f094070d342c090dd9cca036538b4ebdc6
7
7
  lib/mail_engine/generators/create_config.rb 05cbb67778c9094bf60469ccf32401360d599265
8
+ lib/mail_engine/mail_template_resolver.rb 10b48ffe79f58f0a2bc4248c85bfd67e293bd9cc
8
9
  lib/mail_engine/generators/install.rb 8de1454821677173bfc7ca1e4d580e92981f285a
9
- lib/mail_engine/sendgrid/rest_api.rb 7245e928594306c21d9cbf6f8173d06f0f430e7a
10
- lib/mail_engine/sendgrid/base.rb 3b5a99c4157a654de4f0888a2b8185c80b4e49f7
10
+ lib/mail_engine/sendgrid/rest_api.rb 3b13a57ff688d093643e407a77574d0488d6708c
11
+ lib/mail_engine/sendgrid/base.rb 4a5cdf92eda4808cae9d4e08843f9ee9ec309374
11
12
  lib/mail_engine/zip_processor.rb 81a8ad517a7b9c6545a0d97644aeb35e84417ab0
12
13
  lib/mail_engine/configuration.rb 7ca78849a5e8d92d6b72ea6c3407417c0cefbe3b
13
14
  lib/mail_engine/generators/copy_migrations.rb 217d9e93cf3610b6fdf7474d1430a2a8410e2501
14
15
  lib/mail_engine/mail_log_subscriber.rb c36429e447bc6291169d096e424ff0394bdf7233
16
+ lib/mail_engine/liquid_view_patch/liquid_view.rb c355d11144f80c1f6673101626ff3a8a803af09e
15
17
  lib/mail_engine/html_document_assets_replacer.rb 079ed661e53513feef39380beaf2824c589aa1b4
16
18
  lib/mail_engine/acts_as_mail_receiver.rb 69eb7d9fc658d51f55a815ec993e8aa19bb3d43c
17
- lib/mail_engine/sendgrid/smtp_api.rb 36e3486fd4df48866b94f8865ade269295a4cabb
18
- lib/mail_engine.rb bc7fb06744c05b94e442b2a0365a118925517758
19
+ lib/mail_engine/sendgrid/smtp_api.rb e3fae4e21740fa73f7cb3ab18cb7c867f5f69e60
20
+ lib/mail_engine.rb 21212df5c1480610f01760c6a3aef61aad804540
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/.yardoc/proxy_types CHANGED
Binary file
data/Gemfile CHANGED
@@ -10,7 +10,6 @@ gem 'rack', :git => 'git://github.com/rack/rack.git'
10
10
  gem "liquid"
11
11
  gem 'kaminari', :git => 'https://github.com/amatsuda/kaminari.git'
12
12
  gem "carrierwave", :git => "git://github.com/jnicklas/carrierwave.git"
13
- gem "mail_safe"
14
13
 
15
14
  group :development do
16
15
  gem "annotate"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.7
@@ -1,6 +1,4 @@
1
1
  class MailEngine::ApplicationController < ApplicationController
2
- # used when mail_template preview.
3
- prepend_view_path MailEngine::MailTemplateResolver.instance
4
2
  layout 'mail_engine/mail_engine'
5
3
 
6
4
  # set the access check method.
@@ -153,7 +153,29 @@
153
153
  16
154
154
  17
155
155
  18
156
- 19</pre>
156
+ 19
157
+ 20
158
+ 21
159
+ 22
160
+ 23
161
+ 24
162
+ 25
163
+ 26
164
+ 27
165
+ 28
166
+ 29
167
+ 30
168
+ 31
169
+ 32
170
+ 33
171
+ 34
172
+ 35
173
+ 36
174
+ 37
175
+ 38
176
+ 39
177
+ 40
178
+ 41</pre>
157
179
  </td>
158
180
  <td>
159
181
  <pre class="code"><span class="info file"># File 'lib/mail_engine/action_mailer_patch.rb', line 5</span>
@@ -161,13 +183,35 @@
161
183
  <span class='def def kw'>def</span> <span class='mail identifier id'>mail</span><span class='lparen token'>(</span><span class='headers identifier id'>headers</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
162
184
  <span class='comment val'># order by latest uploaded, for get the latest updated 'subject'</span>
163
185
  <span class='current_template identifier id'>current_template</span> <span class='assign token'>=</span> <span class='MailEngine constant id'>MailEngine</span><span class='colon2 op'>::</span><span class='MailTemplate constant id'>MailTemplate</span><span class='dot token'>.</span><span class='where identifier id'>where</span><span class='lparen token'>(</span><span class='symbol val'>:path</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='dstring node'>&quot;#{controller_path}/#{action_name}&quot;</span><span class='comma token'>,</span> <span class='symbol val'>:locale</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='I18n constant id'>I18n</span><span class='dot token'>.</span><span class='locale identifier id'>locale</span><span class='comma token'>,</span> <span class='symbol val'>:partial</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='false false kw'>false</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='order identifier id'>order</span><span class='lparen token'>(</span><span class='string val'>&quot;updated_at desc&quot;</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='first identifier id'>first</span>
164
- <span class='headers identifier id'>headers</span><span class='lbrack token'>[</span><span class='symbol val'>:subject</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='current_template identifier id'>current_template</span><span class='dot token'>.</span><span class='subject identifier id'>subject</span> <span class='if if_mod kw'>if</span> <span class='headers identifier id'>headers</span><span class='lbrack token'>[</span><span class='symbol val'>:subject</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='blank? fid id'>blank?</span> <span class='andop op'>&amp;&amp;</span> <span class='current_template identifier id'>current_template</span><span class='dot token'>.</span><span class='present? fid id'>present?</span>
186
+
187
+ <span class='comment val'># {'username' =&gt; @username, 'gender' =&gt; @gender}</span>
188
+ <span class='instance_variable_hash identifier id'>instance_variable_hash</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='rbrace token'>}</span>
189
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='instance_variables identifier id'>instance_variables</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='var identifier id'>var</span><span class='bitor op'>|</span> <span class='instance_variable_hash identifier id'>instance_variable_hash</span><span class='lbrack token'>[</span><span class='var identifier id'>var</span><span class='dot token'>.</span><span class='sub identifier id'>sub</span><span class='lparen token'>(</span><span class='regexp val'>/^@/</span><span class='comma token'>,</span><span class='string val'>''</span><span class='rparen token'>)</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='instance_variable_get identifier id'>instance_variable_get</span><span class='lparen token'>(</span><span class='var identifier id'>var</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
190
+
191
+ <span class='headers identifier id'>headers</span><span class='lbrack token'>[</span><span class='symbol val'>:subject</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='Liquid constant id'>Liquid</span><span class='colon2 op'>::</span><span class='Template constant id'>Template</span><span class='dot token'>.</span><span class='parse identifier id'>parse</span><span class='lparen token'>(</span><span class='current_template identifier id'>current_template</span><span class='dot token'>.</span><span class='subject identifier id'>subject</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='render identifier id'>render</span><span class='lparen token'>(</span><span class='instance_variable_hash identifier id'>instance_variable_hash</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='current_template identifier id'>current_template</span><span class='dot token'>.</span><span class='present? fid id'>present?</span>
165
192
  <span class='headers identifier id'>headers</span><span class='lbrack token'>[</span><span class='symbol val'>:message_id</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='dstring node'>&quot;#{controller_path}/#{action_name}&quot;</span>
166
193
 
194
+ <span class='unless unless kw'>unless</span> <span class='block_given? fid id'>block_given?</span>
195
+ <span class='puts identifier id'>puts</span> <span class='string val'>&quot;\e[1;31;40m[Mail Engine Warning]\e[0m Please pass a block to 'mail' method as below style,
196
+ mail engine needs you to specify the format to send:
197
+ \e[1;34;40m
198
+ mail :to =&gt; 'xxx@xxx.com' do |format|
199
+ format.text
200
+ format.html
201
+ end
202
+ \e[0m&quot;</span>
203
+ <span class='end end kw'>end</span>
204
+
167
205
  <span class='comment val'># Add sendgrid header before sending mail.</span>
168
206
  <span class='comment val'># Why here but not add to default_params of action_mailer? because the receiver email [:to] only can get here.</span>
169
207
  <span class='if if kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='sendgrid_config identifier id'>sendgrid_config</span>
170
- <span class='self self kw'>self</span><span class='dot token'>.</span><span class='sendgrid_config identifier id'>sendgrid_config</span><span class='dot token'>.</span><span class='add_to identifier id'>add_to</span> <span class='headers identifier id'>headers</span><span class='lbrack token'>[</span><span class='symbol val'>:to</span><span class='rbrack token'>]</span>
208
+ <span class='comment val'># if add &quot;replacement_email&quot; option in config</span>
209
+ <span class='receiver identifier id'>receiver</span> <span class='assign token'>=</span> <span class='if if kw'>if</span> <span class='defined? defined kw'>defined?</span><span class='lparen token'>(</span><span class='colon3 op'>::</span><span class='MailSafe constant id'>MailSafe</span><span class='colon2 op'>::</span><span class='Config constant id'>Config</span><span class='rparen token'>)</span> <span class='and and kw'>and</span> <span class='colon3 op'>::</span><span class='MailSafe constant id'>MailSafe</span><span class='colon2 op'>::</span><span class='Config constant id'>Config</span><span class='dot token'>.</span><span class='replacement_address identifier id'>replacement_address</span>
210
+ <span class='colon3 op'>::</span><span class='MailSafe constant id'>MailSafe</span><span class='colon2 op'>::</span><span class='Config constant id'>Config</span><span class='dot token'>.</span><span class='get_replacement_address identifier id'>get_replacement_address</span><span class='lparen token'>(</span><span class='headers identifier id'>headers</span><span class='lbrack token'>[</span><span class='symbol val'>:to</span><span class='rbrack token'>]</span><span class='rparen token'>)</span>
211
+ <span class='else else kw'>else</span>
212
+ <span class='headers identifier id'>headers</span><span class='lbrack token'>[</span><span class='symbol val'>:to</span><span class='rbrack token'>]</span>
213
+ <span class='end end kw'>end</span>
214
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='sendgrid_config identifier id'>sendgrid_config</span><span class='dot token'>.</span><span class='set_send_to identifier id'>set_send_to</span> <span class='receiver identifier id'>receiver</span>
171
215
  <span class='origin_mail identifier id'>origin_mail</span><span class='lparen token'>(</span><span class='headers identifier id'>headers</span><span class='dot token'>.</span><span class='merge identifier id'>merge</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='dot token'>.</span><span class='sendgrid_config identifier id'>sendgrid_config</span><span class='dot token'>.</span><span class='to_hash identifier id'>to_hash</span><span class='rparen token'>)</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
172
216
  <span class='else else kw'>else</span>
173
217
  <span class='origin_mail identifier id'>origin_mail</span><span class='lparen token'>(</span><span class='headers identifier id'>headers</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
@@ -184,7 +228,7 @@
184
228
  </div>
185
229
 
186
230
  <div id="footer">
187
- Generated on Fri Mar 4 17:56:26 2011 by
231
+ Generated on Mon Mar 14 22:31:46 2011 by
188
232
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
189
233
  0.6.4 (ruby-1.8.7).
190
234
  </div>
@@ -133,18 +133,18 @@
133
133
  <pre class="lines">
134
134
 
135
135
 
136
- 101
137
- 102
138
- 103
139
- 104
140
- 105
141
- 106
142
- 107
143
- 108
144
- 109</pre>
136
+ 123
137
+ 124
138
+ 125
139
+ 126
140
+ 127
141
+ 128
142
+ 129
143
+ 130
144
+ 131</pre>
145
145
  </td>
146
146
  <td>
147
- <pre class="code"><span class="info file"># File 'lib/mail_engine/action_mailer_patch.rb', line 101</span>
147
+ <pre class="code"><span class="info file"># File 'lib/mail_engine/action_mailer_patch.rb', line 123</span>
148
148
 
149
149
  <span class='def def kw'>def</span> <span class='custom identifier id'>custom</span><span class='lparen token'>(</span><span class='mime identifier id'>mime</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
150
150
  <span class='options identifier id'>options</span><span class='dot token'>.</span><span class='reverse_merge! fid id'>reverse_merge!</span><span class='lparen token'>(</span><span class='symbol val'>:content_type</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='mime identifier id'>mime</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='rparen token'>)</span>
@@ -166,7 +166,7 @@
166
166
  </div>
167
167
 
168
168
  <div id="footer">
169
- Generated on Fri Mar 4 17:56:26 2011 by
169
+ Generated on Mon Mar 14 22:31:43 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 17:56:26 2011 by
102
+ Generated on Mon Mar 14 22:31:44 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>