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.
- data/.yardoc/checksums +9 -7
- 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/LiquidView/PROTECTED_ASSIGNS.dat +0 -0
- data/.yardoc/objects/LiquidView/PROTECTED_INSTANCE_VARIABLES.dat +0 -0
- data/.yardoc/objects/LiquidView/call_c.dat +0 -0
- data/.yardoc/objects/LiquidView/compilable_3F_i.dat +0 -0
- data/.yardoc/objects/LiquidView/initialize_i.dat +0 -0
- data/.yardoc/objects/LiquidView/render_i.dat +0 -0
- data/.yardoc/objects/LiquidView.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/MailTemplateResolver/find_templates_i.dat +0 -0
- data/.yardoc/objects/MailEngine/MailTemplateResolver/initialize_template_i.dat +0 -0
- data/.yardoc/objects/MailEngine/MailTemplateResolver/normalize_array_i.dat +0 -0
- data/.yardoc/objects/MailEngine/MailTemplateResolver/normalize_path_i.dat +0 -0
- data/.yardoc/objects/MailEngine/MailTemplateResolver/virtual_path_i.dat +0 -0
- data/.yardoc/objects/MailEngine/MailTemplateResolver.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_send_to_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/.yardoc/proxy_types +0 -0
- data/Gemfile +0 -1
- data/VERSION +1 -1
- data/app/controllers/mail_engine/application_controller.rb +0 -2
- data/doc/ActionMailer/Base.html +48 -4
- data/doc/ActionMailer/Collector.html +11 -11
- data/doc/ActionMailer.html +1 -1
- data/doc/LiquidView.html +453 -0
- data/doc/MailEngine/ActsAsMailReceiver/ClassMethods.html +1 -1
- data/doc/MailEngine/ActsAsMailReceiver.html +1 -1
- data/doc/MailEngine/Base.html +14 -12
- data/doc/MailEngine/Configuration.html +1 -1
- 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 +1 -1
- data/doc/MailEngine/MailLogSubscriber.html +1 -1
- data/doc/MailEngine/MailTemplateResolver.html +502 -0
- 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 +99 -30
- data/doc/MailEngine/Sendgrid.html +1 -1
- data/doc/MailEngine/ZipProcessor.html +1 -1
- data/doc/MailEngine.html +3 -3
- data/doc/_index.html +25 -5
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +70 -2
- data/doc/index.html +70 -2
- data/doc/method_list.html +88 -8
- data/doc/top-level-namespace.html +3 -1
- data/lib/mail_engine/action_mailer_patch.rb +2 -2
- data/lib/mail_engine/engine.rb +3 -7
- data/mail_engine.gemspec +18 -5
- data/test/functional/user_mailer_test.rb +2 -5
- 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
|
4
|
-
lib/mail_engine/engine.rb
|
5
|
-
lib/mail_engine/action_mailer_patch.rb
|
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
|
10
|
-
lib/mail_engine/sendgrid/base.rb
|
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
|
18
|
-
lib/mail_engine.rb
|
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
|
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
|
Binary file
|
Binary file
|
Binary file
|
data/.yardoc/objects/root.dat
CHANGED
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.
|
1
|
+
0.1.7
|
data/doc/ActionMailer/Base.html
CHANGED
@@ -153,7 +153,29 @@
|
|
153
153
|
16
|
154
154
|
17
|
155
155
|
18
|
156
|
-
19
|
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'>&</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'>></span> <span class='dstring node'>"#{controller_path}/#{action_name}"</span><span class='comma token'>,</span> <span class='symbol val'>:locale</span> <span class='assign token'>=</span><span class='gt op'>></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'>></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'>"updated_at desc"</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='first identifier id'>first</span>
|
164
|
-
|
186
|
+
|
187
|
+
<span class='comment val'># {'username' => @username, 'gender' => @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'>"#{controller_path}/#{action_name}"</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'>"\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 => 'xxx@xxx.com' do |format|
|
199
|
+
format.text
|
200
|
+
format.html
|
201
|
+
end
|
202
|
+
\e[0m"</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='
|
208
|
+
<span class='comment val'># if add "replacement_email" 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'>&</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'>&</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
|
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
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
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
|
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'>></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
|
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>
|
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
|
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>
|