mail_engine 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (452) hide show
  1. data/.yardoc/checksums +12 -11
  2. data/.yardoc/objects/ActionMailer.dat +0 -0
  3. data/.yardoc/objects/ActionMailer/Base.dat +0 -0
  4. data/.yardoc/objects/ActionMailer/Base/collect_responses_and_parts_order_i.dat +0 -0
  5. data/.yardoc/objects/ActionMailer/Base/mail_i.dat +0 -0
  6. data/.yardoc/objects/ActionMailer/Base/origin_mail_i.dat +0 -0
  7. data/.yardoc/objects/ActionMailer/Base/set_layout_and_partials_i.dat +0 -0
  8. data/.yardoc/objects/ActionMailer/Collector.dat +0 -0
  9. data/.yardoc/objects/ActionMailer/Collector/custom_i.dat +0 -0
  10. data/.yardoc/objects/MailEngine.dat +0 -0
  11. data/.yardoc/objects/MailEngine/ActsAsMailReceiver.dat +0 -0
  12. data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods.dat +0 -0
  13. data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat +0 -0
  14. data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat +0 -0
  15. data/.yardoc/objects/MailEngine/Base.dat +0 -0
  16. data/.yardoc/objects/MailEngine/Base/_40_40configurations.dat +0 -0
  17. data/.yardoc/objects/MailEngine/Base/current_config_c.dat +0 -0
  18. data/.yardoc/objects/MailEngine/Base/send_marketing_mail_c.dat +0 -0
  19. data/.yardoc/objects/MailEngine/Configuration.dat +0 -0
  20. data/.yardoc/objects/MailEngine/Configuration/load_c.dat +0 -0
  21. data/.yardoc/objects/MailEngine/CopyMigrations.dat +0 -0
  22. data/.yardoc/objects/MailEngine/CopyMigrations/copy_migrations_i.dat +0 -0
  23. data/.yardoc/objects/MailEngine/CopyResources.dat +0 -0
  24. data/.yardoc/objects/MailEngine/CopyResources/copy_resources_i.dat +0 -0
  25. data/.yardoc/objects/MailEngine/CreateConfig.dat +0 -0
  26. data/.yardoc/objects/MailEngine/CreateConfig/create_config_file_i.dat +0 -0
  27. data/.yardoc/objects/MailEngine/Engine.dat +0 -0
  28. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer.dat +0 -0
  29. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/check_21_c.dat +0 -0
  30. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/get_resource_url_c.dat +0 -0
  31. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/process_c.dat +0 -0
  32. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_in_html_c.dat +0 -0
  33. data/.yardoc/objects/MailEngine/Install.dat +0 -0
  34. data/.yardoc/objects/MailEngine/Install/copy_migrations_i.dat +0 -0
  35. data/.yardoc/objects/MailEngine/Install/copy_resources_i.dat +0 -0
  36. data/.yardoc/objects/MailEngine/Install/create_config_i.dat +0 -0
  37. data/.yardoc/objects/MailEngine/MailLogSubscriber.dat +0 -0
  38. data/.yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat +0 -0
  39. data/.yardoc/objects/MailEngine/PLACEHOLDERS_IN_LAYOUT.dat +0 -0
  40. data/.yardoc/objects/MailEngine/Sendgrid.dat +0 -0
  41. data/.yardoc/objects/MailEngine/Sendgrid/Base.dat +0 -0
  42. data/.yardoc/objects/MailEngine/Sendgrid/Base/ClassMethods.dat +0 -0
  43. data/.yardoc/objects/MailEngine/Sendgrid/Base/ClassMethods/sendgrid_header_i.dat +0 -0
  44. data/.yardoc/objects/MailEngine/Sendgrid/Base/InstanceMethods.dat +0 -0
  45. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting.dat +0 -0
  46. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/data_3D_i.dat +0 -0
  47. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/data_i.dat +0 -0
  48. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/initialize_i.dat +0 -0
  49. data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/validate_config_21_i.dat +0 -0
  50. data/.yardoc/objects/MailEngine/Sendgrid/RestApi.dat +0 -0
  51. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/blocks_c.dat +0 -0
  52. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/bounces_c.dat +0 -0
  53. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/invalidemails_c.dat +0 -0
  54. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/spamreports_c.dat +0 -0
  55. data/.yardoc/objects/MailEngine/Sendgrid/RestApi/stats_c.dat +0 -0
  56. data/.yardoc/objects/MailEngine/Sendgrid/RestApiError.dat +0 -0
  57. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi.dat +0 -0
  58. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/add_sub_val_i.dat +0 -0
  59. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/add_to_i.dat +0 -0
  60. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/category_i.dat +0 -0
  61. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/filters_i.dat +0 -0
  62. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/initialize_i.dat +0 -0
  63. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/set_unique_args_i.dat +0 -0
  64. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_hash_i.dat +0 -0
  65. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_json_i.dat +0 -0
  66. data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_s_i.dat +0 -0
  67. data/.yardoc/objects/MailEngine/VERSION.dat +0 -0
  68. data/.yardoc/objects/MailEngine/ZipProcessor.dat +0 -0
  69. data/.yardoc/objects/MailEngine/ZipProcessor/extract_all_files_c.dat +0 -0
  70. data/.yardoc/objects/root.dat +0 -0
  71. data/Gemfile +16 -13
  72. data/Gemfile.lock +69 -46
  73. data/README.mkd +14 -2
  74. data/VERSION +1 -1
  75. data/app/controllers/mail_engine/application_controller.rb +4 -0
  76. data/app/controllers/mail_engine/mail_logs_controller.rb +1 -1
  77. data/app/controllers/mail_engine/mail_schedules_controller.rb +4 -4
  78. data/app/controllers/mail_engine/mail_template_files_controller.rb +4 -4
  79. data/app/controllers/mail_engine/mail_templates_controller.rb +16 -11
  80. data/app/controllers/mail_engine/reports_controller.rb +5 -1
  81. data/app/helpers/mail_engine/mail_engine_helper.rb +1 -1
  82. data/app/mailers/mail_engine/mail_dispatcher.rb +16 -9
  83. data/app/models/mail_engine/mail_log.rb +1 -1
  84. data/app/models/mail_engine/mail_schedule.rb +14 -12
  85. data/app/models/mail_engine/mail_template.rb +81 -55
  86. data/app/models/mail_engine/mail_template_file.rb +4 -3
  87. data/app/views/layouts/mail_engine/mail_engine.html.erb +31 -18
  88. data/app/views/layouts/mail_engine/simple.html.erb +14 -0
  89. data/app/views/mail_engine/dashboard/index.html.erb +18 -1
  90. data/app/views/mail_engine/mail_logs/_related_logs.html.erb +29 -0
  91. data/app/views/mail_engine/mail_logs/index.html.erb +5 -5
  92. data/app/views/mail_engine/mail_schedules/_form.html.erb +6 -5
  93. data/app/views/mail_engine/mail_schedules/index.html.erb +13 -8
  94. data/app/views/mail_engine/mail_schedules/show.html.erb +2 -0
  95. data/app/views/mail_engine/mail_template_files/_form.html.erb +20 -10
  96. data/app/views/mail_engine/mail_template_files/edit.html.erb +2 -0
  97. data/app/views/mail_engine/mail_template_files/new.html.erb +2 -0
  98. data/app/views/mail_engine/mail_templates/_form.html.erb +65 -12
  99. data/app/views/mail_engine/mail_templates/_layout_selector.html.erb +3 -3
  100. data/app/views/mail_engine/mail_templates/duplicate.html.erb +11 -7
  101. data/app/views/mail_engine/mail_templates/index.html.erb +25 -21
  102. data/app/views/mail_engine/mail_templates/new_by_upload.html.erb +11 -5
  103. data/app/views/mail_engine/mail_templates/partial_options.html.erb +2 -2
  104. data/app/views/mail_engine/mail_templates/show.html.erb +19 -29
  105. data/app/views/mail_engine/reports/charts/blocks.html.erb +2 -2
  106. data/app/views/mail_engine/reports/charts/bounces.html.erb +2 -2
  107. data/app/views/mail_engine/reports/charts/invalidemails.html.erb +2 -2
  108. data/app/views/mail_engine/reports/charts/spamreports.html.erb +2 -2
  109. data/app/views/mail_engine/reports/index.html.erb +40 -5
  110. data/config/routes.rb +5 -6
  111. data/db/migrate/20110114030841_create_table_mail_template.rb +1 -0
  112. data/doc/ActionMailer.html +108 -0
  113. data/doc/ActionMailer/Base.html +193 -0
  114. data/doc/ActionMailer/Collector.html +175 -0
  115. data/doc/MailEngine.html +146 -0
  116. data/doc/MailEngine/ActsAsMailReceiver.html +97 -0
  117. data/doc/MailEngine/ActsAsMailReceiver/ClassMethods.html +187 -0
  118. data/doc/MailEngine/Base.html +297 -0
  119. data/doc/MailEngine/Configuration.html +181 -0
  120. data/doc/MailEngine/CopyMigrations.html +187 -0
  121. data/doc/MailEngine/CopyResources.html +171 -0
  122. data/doc/MailEngine/CreateConfig.html +193 -0
  123. data/doc/MailEngine/CreateMigration.html +187 -0
  124. data/doc/MailEngine/Engine.html +100 -0
  125. data/doc/MailEngine/HtmlDocumentAssetsReplacer.html +397 -0
  126. data/doc/MailEngine/Install.html +273 -0
  127. data/doc/MailEngine/MailLogSubscriber.html +204 -0
  128. data/doc/MailEngine/Sendgrid.html +101 -0
  129. data/doc/MailEngine/Sendgrid/Base.html +97 -0
  130. data/doc/MailEngine/Sendgrid/Base/ClassMethods.html +150 -0
  131. data/doc/MailEngine/Sendgrid/Base/InstanceMethods.html +81 -0
  132. data/doc/MailEngine/Sendgrid/FilterSetting.html +257 -0
  133. data/doc/MailEngine/Sendgrid/RestApi.html +476 -0
  134. data/doc/MailEngine/Sendgrid/RestApiError.html +100 -0
  135. data/doc/MailEngine/Sendgrid/SmtpApi.html +604 -0
  136. data/doc/MailEngine/ZipProcessor.html +267 -0
  137. data/doc/_index.html +21 -7
  138. data/doc/class_list.html +1 -1
  139. data/doc/file.README.html +231 -0
  140. data/doc/index.html +231 -0
  141. data/doc/method_list.html +45 -21
  142. data/doc/top-level-namespace.html +88 -0
  143. data/lib/mail_engine.rb +7 -1
  144. data/lib/mail_engine/action_mailer_patch.rb +7 -0
  145. data/lib/mail_engine/acts_as_mail_receiver.rb +40 -6
  146. data/lib/mail_engine/base.rb +28 -7
  147. data/lib/mail_engine/configuration.rb +3 -0
  148. data/lib/mail_engine/engine.rb +5 -5
  149. data/lib/mail_engine/generators/{create_migration.rb → copy_migrations.rb} +4 -3
  150. data/lib/mail_engine/generators/copy_resources.rb +13 -0
  151. data/lib/mail_engine/generators/install.rb +21 -0
  152. data/lib/mail_engine/generators/templates/mail_engine_config.yml +10 -1
  153. data/lib/mail_engine/html_document_assets_replacer.rb +12 -23
  154. data/lib/mail_engine/mail_log_subscriber.rb +13 -5
  155. data/lib/mail_engine/zip_processor.rb +10 -1
  156. data/mail_engine.gemspec +336 -110
  157. data/public/images/mail_engine/header_and_footer_layout.png +0 -0
  158. data/public/images/mail_engine/icons/add.png +0 -0
  159. data/public/images/mail_engine/icons/copy.png +0 -0
  160. data/public/images/mail_engine/icons/delete.png +0 -0
  161. data/public/images/mail_engine/icons/edit.gif +0 -0
  162. data/public/images/mail_engine/icons/missing.png +0 -0
  163. data/public/images/mail_engine/icons/save.png +0 -0
  164. data/public/images/mail_engine/icons/show.png +0 -0
  165. data/public/images/mail_engine/logo.gif +0 -0
  166. data/public/images/mail_engine/logo.png +0 -0
  167. data/public/images/mail_engine/none_layout.png +0 -0
  168. data/public/images/mail_engine/only_footer_layout.png +0 -0
  169. data/public/images/mail_engine/unselect_header_and_footer_layout.png +0 -0
  170. data/public/images/mail_engine/unselect_none_layout.png +0 -0
  171. data/public/images/mail_engine/unselect_only_footer_layout.png +0 -0
  172. data/public/javascripts/mail_engine/fancybox/blank.gif +0 -0
  173. data/public/javascripts/mail_engine/fancybox/fancy_close.png +0 -0
  174. data/public/javascripts/mail_engine/fancybox/fancy_loading.png +0 -0
  175. data/public/javascripts/mail_engine/fancybox/fancy_nav_left.png +0 -0
  176. data/public/javascripts/mail_engine/fancybox/fancy_nav_right.png +0 -0
  177. data/public/javascripts/mail_engine/fancybox/fancy_shadow_e.png +0 -0
  178. data/public/javascripts/mail_engine/fancybox/fancy_shadow_n.png +0 -0
  179. data/public/javascripts/mail_engine/fancybox/fancy_shadow_ne.png +0 -0
  180. data/public/javascripts/mail_engine/fancybox/fancy_shadow_nw.png +0 -0
  181. data/public/javascripts/mail_engine/fancybox/fancy_shadow_s.png +0 -0
  182. data/public/javascripts/mail_engine/fancybox/fancy_shadow_se.png +0 -0
  183. data/public/javascripts/mail_engine/fancybox/fancy_shadow_sw.png +0 -0
  184. data/public/javascripts/mail_engine/fancybox/fancy_shadow_w.png +0 -0
  185. data/public/javascripts/mail_engine/fancybox/fancy_title_left.png +0 -0
  186. data/public/javascripts/mail_engine/fancybox/fancy_title_main.png +0 -0
  187. data/public/javascripts/mail_engine/fancybox/fancy_title_over.png +0 -0
  188. data/public/javascripts/mail_engine/fancybox/fancy_title_right.png +0 -0
  189. data/public/javascripts/mail_engine/fancybox/fancybox-x.png +0 -0
  190. data/public/javascripts/mail_engine/fancybox/fancybox-y.png +0 -0
  191. data/public/javascripts/mail_engine/fancybox/fancybox.png +0 -0
  192. data/public/javascripts/mail_engine/fancybox/jquery.easing-1.3.pack.js +72 -0
  193. data/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.css +359 -0
  194. data/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.js +1156 -0
  195. data/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.pack.js +46 -0
  196. data/public/javascripts/mail_engine/fancybox/jquery.mousewheel-3.0.4.pack.js +14 -0
  197. data/public/javascripts/mail_engine/jquery-ui.min.js +577 -0
  198. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/jquery.iframe-auto-height.plugin.js +0 -0
  199. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/jquery.string.js +0 -0
  200. data/{test/dummy/public/javascripts/mail_engine_application.js → public/javascripts/mail_engine/mail_engine.js} +0 -0
  201. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/jquery.markitup.js +0 -0
  202. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/bold.png +0 -0
  203. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/css.png +0 -0
  204. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/italic.png +0 -0
  205. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/picture.png +0 -0
  206. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/stroke.png +0 -0
  207. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/tag.png +0 -0
  208. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_align_center.png +0 -0
  209. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_align_justify.png +0 -0
  210. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_align_left.png +0 -0
  211. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_align_right.png +0 -0
  212. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_indent.png +0 -0
  213. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_letterspacing.png +0 -0
  214. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_linespacing.png +0 -0
  215. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_lowercase.png +0 -0
  216. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_padding_bottom.png +0 -0
  217. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_padding_left.png +0 -0
  218. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_padding_right.png +0 -0
  219. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_padding_top.png +0 -0
  220. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_uppercase.png +0 -0
  221. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/readme.txt +0 -0
  222. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/set.js +0 -0
  223. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/style.css +0 -0
  224. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/bold.png +0 -0
  225. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/clean.png +0 -0
  226. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/image.png +0 -0
  227. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/italic.png +0 -0
  228. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/link.png +0 -0
  229. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/picture.png +0 -0
  230. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/preview.png +0 -0
  231. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/stroke.png +0 -0
  232. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/set.js +0 -0
  233. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/style.css +0 -0
  234. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/bold.png +0 -0
  235. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/clean.png +0 -0
  236. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h1.png +0 -0
  237. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h2.png +0 -0
  238. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h3.png +0 -0
  239. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h4.png +0 -0
  240. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h5.png +0 -0
  241. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h6.png +0 -0
  242. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/image.png +0 -0
  243. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/italic.png +0 -0
  244. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/link.png +0 -0
  245. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/list-bullet.png +0 -0
  246. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/list-item.png +0 -0
  247. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/list-numeric.png +0 -0
  248. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/paragraph.png +0 -0
  249. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/picture.png +0 -0
  250. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/preview.png +0 -0
  251. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/stroke.png +0 -0
  252. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/readme.txt +0 -0
  253. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/set.js +0 -0
  254. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/style.css +0 -0
  255. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-container.png +0 -0
  256. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-bbcode.png +0 -0
  257. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-dotclear.png +0 -0
  258. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-html.png +0 -0
  259. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-json.png +0 -0
  260. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-markdown.png +0 -0
  261. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-textile.png +0 -0
  262. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-wiki.png +0 -0
  263. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-xml.png +0 -0
  264. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor.png +0 -0
  265. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/handle.png +0 -0
  266. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/menu.png +0 -0
  267. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/submenu.png +0 -0
  268. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/style.css +0 -0
  269. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/simple/images/handle.png +0 -0
  270. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/simple/images/menu.png +0 -0
  271. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/simple/images/submenu.png +0 -0
  272. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/simple/style.css +0 -0
  273. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/templates/preview.css +0 -0
  274. data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/templates/preview.html +0 -0
  275. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  276. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  277. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  278. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  279. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  280. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  281. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  282. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  283. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_222222_256x240.png +0 -0
  284. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  285. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_454545_256x240.png +0 -0
  286. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_888888_256x240.png +0 -0
  287. data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  288. data/public/stylesheets/mail_engine/jquery-ui/smoothness/jquery-ui.css +544 -0
  289. data/{test/dummy/public/stylesheets → public/stylesheets/mail_engine}/style.css +6 -2
  290. data/test/dummy/app/controllers/application_controller.rb +0 -8
  291. data/test/dummy/app/models/user.rb +6 -4
  292. data/test/dummy/config/application.rb +2 -2
  293. data/test/dummy/config/database.yml +2 -2
  294. data/test/dummy/db/migrate/20110114030841_create_table_mail_template.rb +1 -0
  295. data/test/dummy/db/migrate/20110206025002_create_mail_logs.rb +1 -1
  296. data/test/dummy/db/schema.rb +1 -0
  297. data/test/dummy/public/images/mail_engine/icons/add.png +0 -0
  298. data/test/dummy/public/images/mail_engine/icons/copy.png +0 -0
  299. data/test/dummy/public/images/mail_engine/icons/delete.png +0 -0
  300. data/test/dummy/public/images/mail_engine/icons/edit.gif +0 -0
  301. data/test/dummy/public/images/mail_engine/icons/missing.png +0 -0
  302. data/test/dummy/public/images/mail_engine/icons/save.png +0 -0
  303. data/test/dummy/public/images/mail_engine/icons/show.png +0 -0
  304. data/test/dummy/public/javascripts/mail_engine/fancybox/blank.gif +0 -0
  305. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_close.png +0 -0
  306. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_loading.png +0 -0
  307. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_nav_left.png +0 -0
  308. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_nav_right.png +0 -0
  309. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_e.png +0 -0
  310. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_n.png +0 -0
  311. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_ne.png +0 -0
  312. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_nw.png +0 -0
  313. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_s.png +0 -0
  314. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_se.png +0 -0
  315. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_sw.png +0 -0
  316. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_w.png +0 -0
  317. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_left.png +0 -0
  318. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_main.png +0 -0
  319. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_over.png +0 -0
  320. data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_right.png +0 -0
  321. data/test/dummy/public/javascripts/mail_engine/fancybox/fancybox-x.png +0 -0
  322. data/test/dummy/public/javascripts/mail_engine/fancybox/fancybox-y.png +0 -0
  323. data/test/dummy/public/javascripts/mail_engine/fancybox/fancybox.png +0 -0
  324. data/test/dummy/public/javascripts/mail_engine/fancybox/jquery.easing-1.3.pack.js +72 -0
  325. data/test/dummy/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.css +359 -0
  326. data/test/dummy/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.js +1156 -0
  327. data/test/dummy/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.pack.js +46 -0
  328. data/test/dummy/public/javascripts/mail_engine/fancybox/jquery.mousewheel-3.0.4.pack.js +14 -0
  329. data/test/dummy/public/javascripts/mail_engine/jquery-ui.min.js +577 -0
  330. data/test/dummy/public/javascripts/mail_engine/jquery.iframe-auto-height.plugin.js +50 -0
  331. data/test/dummy/public/javascripts/mail_engine/jquery.string.js +425 -0
  332. data/test/dummy/public/javascripts/mail_engine/mail_engine.js +2 -0
  333. data/test/dummy/public/javascripts/mail_engine/markitup/jquery.markitup.js +564 -0
  334. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/bold.png +0 -0
  335. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/css.png +0 -0
  336. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/italic.png +0 -0
  337. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/picture.png +0 -0
  338. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/stroke.png +0 -0
  339. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/tag.png +0 -0
  340. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_center.png +0 -0
  341. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_justify.png +0 -0
  342. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_left.png +0 -0
  343. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_right.png +0 -0
  344. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_indent.png +0 -0
  345. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_letterspacing.png +0 -0
  346. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_linespacing.png +0 -0
  347. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_lowercase.png +0 -0
  348. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_bottom.png +0 -0
  349. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_left.png +0 -0
  350. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_right.png +0 -0
  351. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_top.png +0 -0
  352. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_uppercase.png +0 -0
  353. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/readme.txt +28 -0
  354. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/set.js +52 -0
  355. data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/style.css +72 -0
  356. data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/bold.png +0 -0
  357. data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/clean.png +0 -0
  358. data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/image.png +0 -0
  359. data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/italic.png +0 -0
  360. data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/link.png +0 -0
  361. data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/picture.png +0 -0
  362. data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/preview.png +0 -0
  363. data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/stroke.png +0 -0
  364. data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/set.js +27 -0
  365. data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/style.css +27 -0
  366. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/bold.png +0 -0
  367. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/clean.png +0 -0
  368. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h1.png +0 -0
  369. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h2.png +0 -0
  370. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h3.png +0 -0
  371. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h4.png +0 -0
  372. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h5.png +0 -0
  373. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h6.png +0 -0
  374. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/image.png +0 -0
  375. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/italic.png +0 -0
  376. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/link.png +0 -0
  377. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/list-bullet.png +0 -0
  378. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/list-item.png +0 -0
  379. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/list-numeric.png +0 -0
  380. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/paragraph.png +0 -0
  381. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/picture.png +0 -0
  382. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/preview.png +0 -0
  383. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/stroke.png +0 -0
  384. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/readme.txt +11 -0
  385. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/set.js +40 -0
  386. data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/style.css +59 -0
  387. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-container.png +0 -0
  388. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-bbcode.png +0 -0
  389. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-dotclear.png +0 -0
  390. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-html.png +0 -0
  391. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-json.png +0 -0
  392. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-markdown.png +0 -0
  393. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-textile.png +0 -0
  394. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-wiki.png +0 -0
  395. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-xml.png +0 -0
  396. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor.png +0 -0
  397. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/handle.png +0 -0
  398. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/menu.png +0 -0
  399. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/submenu.png +0 -0
  400. data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/style.css +147 -0
  401. data/test/dummy/public/javascripts/mail_engine/markitup/skins/simple/images/handle.png +0 -0
  402. data/test/dummy/public/javascripts/mail_engine/markitup/skins/simple/images/menu.png +0 -0
  403. data/test/dummy/public/javascripts/mail_engine/markitup/skins/simple/images/submenu.png +0 -0
  404. data/test/dummy/public/javascripts/mail_engine/markitup/skins/simple/style.css +118 -0
  405. data/test/dummy/public/javascripts/mail_engine/markitup/templates/preview.css +5 -0
  406. data/test/dummy/public/javascripts/mail_engine/markitup/templates/preview.html +11 -0
  407. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  408. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  409. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  410. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  411. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  412. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  413. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  414. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  415. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_222222_256x240.png +0 -0
  416. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  417. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_454545_256x240.png +0 -0
  418. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_888888_256x240.png +0 -0
  419. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  420. data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/jquery-ui.css +544 -0
  421. data/test/dummy/public/stylesheets/mail_engine/style.css +685 -0
  422. data/test/factories.rb +31 -4
  423. data/test/functional/mail_engine/{mail_schedules_controller_controller_test.rb → dashboard_controller_test.rb} +2 -2
  424. data/test/functional/mail_engine/{mail_templates_controller_controller_test.rb → mail_logs_controller_test.rb} +2 -2
  425. data/test/functional/mail_engine/mail_schedules_controller_test.rb +8 -0
  426. data/test/functional/mail_engine/mail_template_files_controller_test.rb +8 -0
  427. data/test/functional/mail_engine/mail_templates_controller_test.rb +8 -0
  428. data/test/functional/mail_engine/reports_controller_test.rb +8 -0
  429. data/test/functional/user_mailer_test.rb +14 -0
  430. data/test/test_helper.rb +4 -1
  431. data/test/unit/mail_engine/mail_log_test.rb +1 -1
  432. data/test/unit/mail_engine/mail_schedule_test.rb +34 -1
  433. data/test/unit/mail_engine/mail_template_test.rb +51 -12
  434. data/test/unit/user_test.rb +20 -0
  435. metadata +370 -125
  436. data/.yardoc/objects/MailEngine/Base/send_mail_c.dat +0 -0
  437. data/.yardoc/objects/MailEngine/CreateMigration.dat +0 -0
  438. data/.yardoc/objects/MailEngine/CreateMigration/create_migrations_i.dat +0 -0
  439. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_filename_in_html_c.dat +0 -0
  440. data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_url_in_html_c.dat +0 -0
  441. data/.yardoc/objects/PLACEHOLDERS_IN_LAYOUT.dat +0 -0
  442. data/lib/mail_engine/placeholders_in_layout.rb +0 -5
  443. data/test/dummy/public/javascripts/jquery.nyroModal/img/ajaxLoader.gif +0 -0
  444. data/test/dummy/public/javascripts/jquery.nyroModal/img/close.gif +0 -0
  445. data/test/dummy/public/javascripts/jquery.nyroModal/img/next.gif +0 -0
  446. data/test/dummy/public/javascripts/jquery.nyroModal/img/prev.gif +0 -0
  447. data/test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal-ie6.js +0 -186
  448. data/test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal-ie6.min.js +0 -9
  449. data/test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal.custom.js +0 -1599
  450. data/test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal.custom.min.js +0 -34
  451. data/test/dummy/public/javascripts/jquery.nyroModal/styles/nyroModal.css +0 -102
  452. data/test/dummy/public/stylesheets/.gitkeep +0 -0
data/test/factories.rb CHANGED
@@ -7,7 +7,7 @@ FactoryGirl.define do
7
7
 
8
8
  factory :footer_partial, :class => MailEngine::TemplatePartial do |t|
9
9
  placeholder_name "footer"
10
- association :partial_id, :factory => :partial_template
10
+ association :partial, :factory => :partial_template
11
11
  end
12
12
 
13
13
  factory :partial_template, :class => MailEngine::MailTemplate do |t|
@@ -22,6 +22,7 @@ FactoryGirl.define do
22
22
  factory :zip_mail_template_with_footer, :class => MailEngine::MailTemplate do |t|
23
23
  name "New Job"
24
24
  path "user_mailer/notify"
25
+ subject "mail template title"
25
26
  # format "html" # can't set format
26
27
  locale "en"
27
28
  handler "liquid"
@@ -30,12 +31,13 @@ FactoryGirl.define do
30
31
  for_marketing false
31
32
  zip_file File.open(File.join(Rails.root, '../..', 'test', 'fixtures', 'files', 'compress_by_file.zip'))
32
33
  create_by_upload true
33
- template_partials { [FactoryGirl.build(:footer_partial)] }
34
+ template_partials { [FactoryGirl.create(:footer_partial)] }
34
35
  end
35
36
 
36
37
  factory :system_mail_template, :class => MailEngine::MailTemplate do |t|
37
38
  name "New Job"
38
39
  path "user_mailer/notify"
40
+ subject "mail template title"
39
41
  # format "html" # can't set format
40
42
  locale "en"
41
43
  handler "liquid"
@@ -45,9 +47,24 @@ FactoryGirl.define do
45
47
  for_marketing false
46
48
  end
47
49
 
50
+ factory :system_mail_template_with_footer, :class => MailEngine::MailTemplate do |t|
51
+ name "New Job"
52
+ path "user_mailer/notify"
53
+ subject "mail template title"
54
+ # format "html" # can't set format
55
+ locale "en"
56
+ handler "liquid"
57
+ body "latest jobs mail."
58
+ layout "only_footer"
59
+ partial false
60
+ for_marketing false
61
+ template_partials { [FactoryGirl.create(:footer_partial)] }
62
+ end
63
+
48
64
  factory :dirzip_mail_template, :class => MailEngine::MailTemplate do |t|
49
65
  name "New Job"
50
66
  path "user_mailer/notify"
67
+ subject "mail template title"
51
68
  # format "html" # can't set format
52
69
  locale "en"
53
70
  handler "liquid"
@@ -61,6 +78,7 @@ FactoryGirl.define do
61
78
  factory :filezip_mail_template, :class => MailEngine::MailTemplate do |t|
62
79
  name "New Job"
63
80
  path "user_mailer/notify"
81
+ subject "mail template title"
64
82
  # format "html" # can't set format
65
83
  locale "en"
66
84
  handler "liquid"
@@ -71,13 +89,22 @@ FactoryGirl.define do
71
89
  create_by_upload true
72
90
  end
73
91
 
74
- factory :marketing_mail_template, :parent => :system_mail_template do |t|
92
+ factory :marketing_mail_template, :class => MailEngine::MailTemplate do |t|
93
+ name "New Job Newsletter"
94
+ path "new_jobs"
95
+ subject "new job mail title"
96
+ # format "html" # can't set format
97
+ locale "en"
98
+ handler "liquid"
99
+ body "latest jobs mail."
100
+ layout "none"
101
+ partial false
75
102
  for_marketing true
76
103
  end
77
104
 
78
105
  factory :mail_schedule, :class => MailEngine::MailSchedule do
79
106
  name "New Data"
80
- association :mail_template, :factory => :system_mail_template, :format => "html"
107
+ association :mail_template, :factory => :marketing_mail_template, :format => "html"
81
108
  user_group "all"
82
109
  count 0
83
110
  sent_count 0
@@ -1,8 +1,8 @@
1
1
  require 'test_helper'
2
2
 
3
- class MailEngine::MailSchedulesControllerControllerTest < ActionController::TestCase
3
+ class MailEngine::DashboardControllerTest < ActionController::TestCase
4
4
  # Replace this with your real tests.
5
5
  test "the truth" do
6
6
  assert true
7
7
  end
8
- end
8
+ end
@@ -1,8 +1,8 @@
1
1
  require 'test_helper'
2
2
 
3
- class MailEngine::MailTemplatesControllerControllerTest < ActionController::TestCase
3
+ class MailEngine::MailLogsControllerTest < ActionController::TestCase
4
4
  # Replace this with your real tests.
5
5
  test "the truth" do
6
6
  assert true
7
7
  end
8
- end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class MailEngine::MailSchedulesControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class MailEngine::MailTemplateFilesControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class MailEngine::MailTemplatesControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class MailEngine::ReportsControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,14 @@
1
+ require 'test_helper'
2
+
3
+ class UserMailerTest < ActionController::TestCase
4
+ context "description" do
5
+ setup do
6
+
7
+ end
8
+
9
+ should "description" do
10
+
11
+ end
12
+ end
13
+
14
+ end
data/test/test_helper.rb CHANGED
@@ -1,3 +1,6 @@
1
+ # require 'simplecov'
2
+ # SimpleCov.start
3
+
1
4
  # Configure Rails Envinronment
2
5
  ENV["RAILS_ENV"] = "test"
3
6
 
@@ -25,11 +28,11 @@ require 'shoulda'
25
28
  require 'factory_girl'
26
29
  require 'factories'
27
30
  require 'timecop'
28
- require 'pp'
29
31
 
30
32
  class ActiveSupport::TestCase
31
33
  def clear_database
32
34
  MailEngine::MailTemplate.destroy_all
33
35
  MailEngine::MailSchedule.destroy_all
36
+ MailEngine::MailLog.destroy_all
34
37
  end
35
38
  end
@@ -5,4 +5,4 @@ class MailEngine::MailLogTest < ActiveSupport::TestCase
5
5
  test "the truth" do
6
6
  assert true
7
7
  end
8
- end
8
+ end
@@ -2,7 +2,40 @@ require 'test_helper'
2
2
 
3
3
  class MailEngine::MailScheduleTest < ActiveSupport::TestCase
4
4
 
5
- context "One time schedule" do
5
+ context "schedule" do
6
+ setup do
7
+ @user = FactoryGirl.create(:user)
8
+ @schedule = FactoryGirl.create(:mail_schedule, :period => "once")
9
+ end
10
+
11
+ should "have logs" do
12
+ @schedule.send_test_mail_to!("hlxwell@gmail.com", @user.id)
13
+ assert_equal 1, @schedule.logs.count
14
+ end
15
+
16
+ should "be able to load all payload" do
17
+ assert_equal @schedule.load_payload(@user), {"lastname" => "He", "firstname" => "Michael"}
18
+ end
19
+
20
+ should "check email when send_test_mail_to" do
21
+ assert_raise RuntimeError do
22
+ @schedule.send_test_mail_to!("hlxwell", @user.id)
23
+ end
24
+ end
25
+
26
+ should "be able to send_test_mail_to" do
27
+ @schedule.send_test_mail_to!("hlxwell@gmail.com", @user.id)
28
+ assert_equal 1, MailEngine::MailLog.count
29
+ end
30
+
31
+ should "check sample user when send_test_mail_to" do
32
+ assert_raise ActiveRecord::RecordNotFound do
33
+ @schedule.send_test_mail_to!("hlxwell@gmail.com", 0)
34
+ end
35
+ end
36
+ end
37
+
38
+ context "once sending only schedule" do
6
39
  setup do
7
40
  clear_database
8
41
  @schedule = FactoryGirl.create(:mail_schedule, :period => "once")
@@ -17,7 +17,7 @@ class MailEngine::MailTemplateTest < ActiveSupport::TestCase
17
17
 
18
18
  context "Template" do
19
19
  setup do
20
- @template = FactoryGirl.create(:system_mail_template, :format => "html")
20
+ @template = FactoryGirl.create(:system_mail_template_with_footer, :format => "html")
21
21
  end
22
22
 
23
23
  should "have a correct full path" do
@@ -33,9 +33,44 @@ class MailEngine::MailTemplateTest < ActiveSupport::TestCase
33
33
  @template.partial = true
34
34
  assert_equal "user_mailer/_notify", @template.filename
35
35
  end
36
+
37
+ context "has locale, regardless of the format" do
38
+ setup do
39
+ @template_text = FactoryGirl.build(:system_mail_template, :format => "text")
40
+ end
41
+
42
+ should "has the same subject" do
43
+ assert_equal @template.subject, @template_text.subject
44
+ @template_text.subject = "xxx"
45
+ assert @template_text.save
46
+ @template.reload
47
+ @template_text.reload
48
+ assert_equal @template.subject, @template_text.subject
49
+ end
50
+ end
51
+
52
+ should "know if partial_in_use?" do
53
+ assert_equal 1, @template.partials.count
54
+ assert @template.partials.first.partial_in_use?
55
+ end
56
+
57
+ should "be able to get missing variations" do
58
+ assert_equal 4, @template.variations.count
59
+ assert_equal 3, @template.variations.delete_if {|v| v.persisted? }.size
60
+
61
+ variations = @template.variations.map { |v|
62
+ [v.locale, v.format]
63
+ }.sort
64
+
65
+ assert_equal [["en", "html"], ["en", "text"], ["zh", "html"], ["zh", "text"]], variations
66
+ end
36
67
  end
37
68
 
38
69
  context "Create by upload" do
70
+ setup do
71
+ `rm -rf #{File.join(Rails.root, "tmp", "zip_processor_tmp_dir")}`
72
+ end
73
+
39
74
  context "a dirzip file" do
40
75
  setup do
41
76
  @template = FactoryGirl.create(:dirzip_mail_template, :format => "html")
@@ -53,21 +88,25 @@ class MailEngine::MailTemplateTest < ActiveSupport::TestCase
53
88
 
54
89
  context "Template duplication" do
55
90
  setup do
56
- @zipmail_template = FactoryGirl.create(:zip_mail_template_with_footer, :format => "html")
57
- @clone_template = @zipmail_template.duplicate
91
+ clear_database
92
+ @zipmail_template = FactoryGirl.create(:filezip_mail_template, :format => "html")
93
+ @clone_template = @zipmail_template.duplicate(:path => "user_mailer/notify_clone")
58
94
  end
59
95
 
60
- should "clone zip file" do
61
- assert_not_equal @clone_template.zip_file.path, @zipmail_template.zip_file.path
96
+ should "two template should be different" do
97
+ assert_not_equal @clone_template, @zipmail_template
62
98
  end
63
99
 
64
- should "clone mail template files" do
65
- assert_equal @clone_template.mail_template_files.count, @zipmail_template.mail_template_files.count
66
-
67
- @clone_template.mail_template_files.each_with_index do |f, index|
68
- assert_equal f.file.path, @zipmail_template.mail_template_files[index]
69
- end
70
- end
100
+ ### not works in test
101
+ # should "clone mail template files" do
102
+ # assert_equal @clone_template.mail_template_files.count, @zipmail_template.mail_template_files.count, "clone template has different files with original one."
103
+ # end
104
+ #
105
+ # should "has the same files" do
106
+ # @clone_template.mail_template_files.each_with_index do |f, index|
107
+ # assert_equal File.basename(f.file.path), @zipmail_template.mail_template_files[index].try(:attributes).try(:[], "file")
108
+ # end
109
+ # end
71
110
 
72
111
  should "clone partial relation records" do
73
112
  assert_equal @clone_template.partials.count, @zipmail_template.partials.count
@@ -0,0 +1,20 @@
1
+ require 'test_helper'
2
+
3
+ class UserTest < ActiveSupport::TestCase
4
+ context "user" do
5
+ setup do
6
+ @user = Factory(:user)
7
+ end
8
+
9
+ context "after applied acts_as_mail_receiver" do
10
+ should "has payload_columns class attr" do
11
+ assert_equal User.payload_columns.sort, ["firstname", "lastname"].sort
12
+ end
13
+
14
+ should "has groups class attr" do
15
+ assert_equal User.groups.sort, ["all", "english_users", "chinese_users"].sort
16
+ end
17
+ end
18
+
19
+ end
20
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail_engine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 0
9
8
  - 1
10
- version: 0.0.1
9
+ - 0
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - michael he
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-25 00:00:00 +08:00
18
+ date: 2011-03-04 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -24,12 +24,12 @@ dependencies:
24
24
  requirements:
25
25
  - - "="
26
26
  - !ruby/object:Gem::Version
27
- hash: 1
27
+ hash: 15
28
28
  segments:
29
29
  - 3
30
30
  - 0
31
- - 3
32
- version: 3.0.3
31
+ - 4
32
+ version: 3.0.4
33
33
  requirement: *id001
34
34
  prerelease: false
35
35
  name: rails
@@ -46,7 +46,7 @@ dependencies:
46
46
  version: "0"
47
47
  requirement: *id002
48
48
  prerelease: false
49
- name: mysql
49
+ name: rack
50
50
  type: :runtime
51
51
  - !ruby/object:Gem::Dependency
52
52
  version_requirements: &id003 !ruby/object:Gem::Requirement
@@ -60,7 +60,7 @@ dependencies:
60
60
  version: "0"
61
61
  requirement: *id003
62
62
  prerelease: false
63
- name: liquid
63
+ name: mysql
64
64
  type: :runtime
65
65
  - !ruby/object:Gem::Dependency
66
66
  version_requirements: &id004 !ruby/object:Gem::Requirement
@@ -74,24 +74,21 @@ dependencies:
74
74
  version: "0"
75
75
  requirement: *id004
76
76
  prerelease: false
77
- name: httparty
77
+ name: liquid
78
78
  type: :runtime
79
79
  - !ruby/object:Gem::Dependency
80
80
  version_requirements: &id005 !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
83
- - - ~>
83
+ - - ">="
84
84
  - !ruby/object:Gem::Version
85
- hash: 1923831917
85
+ hash: 3
86
86
  segments:
87
- - 3
88
87
  - 0
89
- - pre
90
- - 2
91
- version: 3.0.pre2
88
+ version: "0"
92
89
  requirement: *id005
93
90
  prerelease: false
94
- name: will_paginate
91
+ name: httparty
95
92
  type: :runtime
96
93
  - !ruby/object:Gem::Dependency
97
94
  version_requirements: &id006 !ruby/object:Gem::Requirement
@@ -105,7 +102,7 @@ dependencies:
105
102
  version: "0"
106
103
  requirement: *id006
107
104
  prerelease: false
108
- name: carrierwave
105
+ name: kaminari
109
106
  type: :runtime
110
107
  - !ruby/object:Gem::Dependency
111
108
  version_requirements: &id007 !ruby/object:Gem::Requirement
@@ -119,7 +116,7 @@ dependencies:
119
116
  version: "0"
120
117
  requirement: *id007
121
118
  prerelease: false
122
- name: nokogiri
119
+ name: carrierwave
123
120
  type: :runtime
124
121
  - !ruby/object:Gem::Dependency
125
122
  version_requirements: &id008 !ruby/object:Gem::Requirement
@@ -133,7 +130,7 @@ dependencies:
133
130
  version: "0"
134
131
  requirement: *id008
135
132
  prerelease: false
136
- name: deep_cloneable
133
+ name: nokogiri
137
134
  type: :runtime
138
135
  - !ruby/object:Gem::Dependency
139
136
  version_requirements: &id009 !ruby/object:Gem::Requirement
@@ -147,8 +144,8 @@ dependencies:
147
144
  version: "0"
148
145
  requirement: *id009
149
146
  prerelease: false
150
- name: yard
151
- type: :development
147
+ name: deep_cloneable
148
+ type: :runtime
152
149
  - !ruby/object:Gem::Dependency
153
150
  version_requirements: &id010 !ruby/object:Gem::Requirement
154
151
  none: false
@@ -161,7 +158,7 @@ dependencies:
161
158
  version: "0"
162
159
  requirement: *id010
163
160
  prerelease: false
164
- name: bundler
161
+ name: bluecloth
165
162
  type: :development
166
163
  - !ruby/object:Gem::Dependency
167
164
  version_requirements: &id011 !ruby/object:Gem::Requirement
@@ -175,7 +172,7 @@ dependencies:
175
172
  version: "0"
176
173
  requirement: *id011
177
174
  prerelease: false
178
- name: jeweler
175
+ name: yard
179
176
  type: :development
180
177
  - !ruby/object:Gem::Dependency
181
178
  version_requirements: &id012 !ruby/object:Gem::Requirement
@@ -189,7 +186,7 @@ dependencies:
189
186
  version: "0"
190
187
  requirement: *id012
191
188
  prerelease: false
192
- name: rcov
189
+ name: bundler
193
190
  type: :development
194
191
  - !ruby/object:Gem::Dependency
195
192
  version_requirements: &id013 !ruby/object:Gem::Requirement
@@ -203,6 +200,34 @@ dependencies:
203
200
  version: "0"
204
201
  requirement: *id013
205
202
  prerelease: false
203
+ name: jeweler
204
+ type: :development
205
+ - !ruby/object:Gem::Dependency
206
+ version_requirements: &id014 !ruby/object:Gem::Requirement
207
+ none: false
208
+ requirements:
209
+ - - ">="
210
+ - !ruby/object:Gem::Version
211
+ hash: 3
212
+ segments:
213
+ - 0
214
+ version: "0"
215
+ requirement: *id014
216
+ prerelease: false
217
+ name: rcov
218
+ type: :development
219
+ - !ruby/object:Gem::Dependency
220
+ version_requirements: &id015 !ruby/object:Gem::Requirement
221
+ none: false
222
+ requirements:
223
+ - - ">="
224
+ - !ruby/object:Gem::Version
225
+ hash: 3
226
+ segments:
227
+ - 0
228
+ version: "0"
229
+ requirement: *id015
230
+ prerelease: false
206
231
  name: reek
207
232
  type: :development
208
233
  description: Rails system mail management solution.
@@ -227,24 +252,32 @@ files:
227
252
  - .yardoc/objects/MailEngine/ActsAsMailReceiver.dat
228
253
  - .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods.dat
229
254
  - .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
255
+ - .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat
230
256
  - .yardoc/objects/MailEngine/Base.dat
231
257
  - .yardoc/objects/MailEngine/Base/_40_40configurations.dat
232
258
  - .yardoc/objects/MailEngine/Base/current_config_c.dat
233
- - .yardoc/objects/MailEngine/Base/send_mail_c.dat
259
+ - .yardoc/objects/MailEngine/Base/send_marketing_mail_c.dat
234
260
  - .yardoc/objects/MailEngine/Configuration.dat
235
261
  - .yardoc/objects/MailEngine/Configuration/load_c.dat
262
+ - .yardoc/objects/MailEngine/CopyMigrations.dat
263
+ - .yardoc/objects/MailEngine/CopyMigrations/copy_migrations_i.dat
264
+ - .yardoc/objects/MailEngine/CopyResources.dat
265
+ - .yardoc/objects/MailEngine/CopyResources/copy_resources_i.dat
236
266
  - .yardoc/objects/MailEngine/CreateConfig.dat
237
267
  - .yardoc/objects/MailEngine/CreateConfig/create_config_file_i.dat
238
- - .yardoc/objects/MailEngine/CreateMigration.dat
239
- - .yardoc/objects/MailEngine/CreateMigration/create_migrations_i.dat
240
268
  - .yardoc/objects/MailEngine/Engine.dat
241
269
  - .yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer.dat
242
270
  - .yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/check_21_c.dat
271
+ - .yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/get_resource_url_c.dat
243
272
  - .yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/process_c.dat
244
- - .yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_filename_in_html_c.dat
245
- - .yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_url_in_html_c.dat
273
+ - .yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_in_html_c.dat
274
+ - .yardoc/objects/MailEngine/Install.dat
275
+ - .yardoc/objects/MailEngine/Install/copy_migrations_i.dat
276
+ - .yardoc/objects/MailEngine/Install/copy_resources_i.dat
277
+ - .yardoc/objects/MailEngine/Install/create_config_i.dat
246
278
  - .yardoc/objects/MailEngine/MailLogSubscriber.dat
247
279
  - .yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat
280
+ - .yardoc/objects/MailEngine/PLACEHOLDERS_IN_LAYOUT.dat
248
281
  - .yardoc/objects/MailEngine/Sendgrid.dat
249
282
  - .yardoc/objects/MailEngine/Sendgrid/Base.dat
250
283
  - .yardoc/objects/MailEngine/Sendgrid/Base/ClassMethods.dat
@@ -275,7 +308,6 @@ files:
275
308
  - .yardoc/objects/MailEngine/VERSION.dat
276
309
  - .yardoc/objects/MailEngine/ZipProcessor.dat
277
310
  - .yardoc/objects/MailEngine/ZipProcessor/extract_all_files_c.dat
278
- - .yardoc/objects/PLACEHOLDERS_IN_LAYOUT.dat
279
311
  - .yardoc/objects/root.dat
280
312
  - .yardoc/proxy_types
281
313
  - Gemfile
@@ -307,7 +339,9 @@ files:
307
339
  - app/views/layouts/mail_engine/mail_template_layouts/none.text.erb
308
340
  - app/views/layouts/mail_engine/mail_template_layouts/only_footer.html.erb
309
341
  - app/views/layouts/mail_engine/mail_template_layouts/only_footer.text.erb
342
+ - app/views/layouts/mail_engine/simple.html.erb
310
343
  - app/views/mail_engine/dashboard/index.html.erb
344
+ - app/views/mail_engine/mail_logs/_related_logs.html.erb
311
345
  - app/views/mail_engine/mail_logs/index.html.erb
312
346
  - app/views/mail_engine/mail_logs/show.html.erb
313
347
  - app/views/mail_engine/mail_schedules/_form.html.erb
@@ -340,29 +374,58 @@ files:
340
374
  - db/migrate/20110204114145_create_template_partials.rb
341
375
  - db/migrate/20110206025002_create_mail_logs.rb
342
376
  - db/migrate/20110217062316_create_mail_template_files.rb
377
+ - doc/ActionMailer.html
378
+ - doc/ActionMailer/Base.html
379
+ - doc/ActionMailer/Collector.html
380
+ - doc/MailEngine.html
381
+ - doc/MailEngine/ActsAsMailReceiver.html
382
+ - doc/MailEngine/ActsAsMailReceiver/ClassMethods.html
383
+ - doc/MailEngine/Base.html
384
+ - doc/MailEngine/Configuration.html
385
+ - doc/MailEngine/CopyMigrations.html
386
+ - doc/MailEngine/CopyResources.html
387
+ - doc/MailEngine/CreateConfig.html
388
+ - doc/MailEngine/CreateMigration.html
389
+ - doc/MailEngine/Engine.html
390
+ - doc/MailEngine/HtmlDocumentAssetsReplacer.html
391
+ - doc/MailEngine/Install.html
392
+ - doc/MailEngine/MailLogSubscriber.html
393
+ - doc/MailEngine/Sendgrid.html
394
+ - doc/MailEngine/Sendgrid/Base.html
395
+ - doc/MailEngine/Sendgrid/Base/ClassMethods.html
396
+ - doc/MailEngine/Sendgrid/Base/InstanceMethods.html
397
+ - doc/MailEngine/Sendgrid/FilterSetting.html
398
+ - doc/MailEngine/Sendgrid/RestApi.html
399
+ - doc/MailEngine/Sendgrid/RestApiError.html
400
+ - doc/MailEngine/Sendgrid/SmtpApi.html
401
+ - doc/MailEngine/ZipProcessor.html
343
402
  - doc/_index.html
344
403
  - doc/class_list.html
345
404
  - doc/css/common.css
346
405
  - doc/css/full_list.css
347
406
  - doc/css/style.css
407
+ - doc/file.README.html
348
408
  - doc/file_list.html
349
409
  - doc/frames.html
410
+ - doc/index.html
350
411
  - doc/js/app.js
351
412
  - doc/js/full_list.js
352
413
  - doc/js/jquery.js
353
414
  - doc/method_list.html
415
+ - doc/top-level-namespace.html
354
416
  - lib/mail_engine.rb
355
417
  - lib/mail_engine/action_mailer_patch.rb
356
418
  - lib/mail_engine/acts_as_mail_receiver.rb
357
419
  - lib/mail_engine/base.rb
358
420
  - lib/mail_engine/configuration.rb
359
421
  - lib/mail_engine/engine.rb
422
+ - lib/mail_engine/generators/copy_migrations.rb
423
+ - lib/mail_engine/generators/copy_resources.rb
360
424
  - lib/mail_engine/generators/create_config.rb
361
- - lib/mail_engine/generators/create_migration.rb
425
+ - lib/mail_engine/generators/install.rb
362
426
  - lib/mail_engine/generators/templates/mail_engine_config.yml
363
427
  - lib/mail_engine/html_document_assets_replacer.rb
364
428
  - lib/mail_engine/mail_log_subscriber.rb
365
- - lib/mail_engine/placeholders_in_layout.rb
366
429
  - lib/mail_engine/sendgrid.rb
367
430
  - lib/mail_engine/sendgrid/base.rb
368
431
  - lib/mail_engine/sendgrid/rest_api.rb
@@ -371,6 +434,139 @@ files:
371
434
  - lib/mail_engine/version.rb
372
435
  - lib/mail_engine/zip_processor.rb
373
436
  - mail_engine.gemspec
437
+ - public/images/mail_engine/header_and_footer_layout.png
438
+ - public/images/mail_engine/icons/add.png
439
+ - public/images/mail_engine/icons/copy.png
440
+ - public/images/mail_engine/icons/delete.png
441
+ - public/images/mail_engine/icons/edit.gif
442
+ - public/images/mail_engine/icons/missing.png
443
+ - public/images/mail_engine/icons/save.png
444
+ - public/images/mail_engine/icons/show.png
445
+ - public/images/mail_engine/logo.gif
446
+ - public/images/mail_engine/logo.png
447
+ - public/images/mail_engine/none_layout.png
448
+ - public/images/mail_engine/only_footer_layout.png
449
+ - public/images/mail_engine/unselect_header_and_footer_layout.png
450
+ - public/images/mail_engine/unselect_none_layout.png
451
+ - public/images/mail_engine/unselect_only_footer_layout.png
452
+ - public/javascripts/mail_engine/fancybox/blank.gif
453
+ - public/javascripts/mail_engine/fancybox/fancy_close.png
454
+ - public/javascripts/mail_engine/fancybox/fancy_loading.png
455
+ - public/javascripts/mail_engine/fancybox/fancy_nav_left.png
456
+ - public/javascripts/mail_engine/fancybox/fancy_nav_right.png
457
+ - public/javascripts/mail_engine/fancybox/fancy_shadow_e.png
458
+ - public/javascripts/mail_engine/fancybox/fancy_shadow_n.png
459
+ - public/javascripts/mail_engine/fancybox/fancy_shadow_ne.png
460
+ - public/javascripts/mail_engine/fancybox/fancy_shadow_nw.png
461
+ - public/javascripts/mail_engine/fancybox/fancy_shadow_s.png
462
+ - public/javascripts/mail_engine/fancybox/fancy_shadow_se.png
463
+ - public/javascripts/mail_engine/fancybox/fancy_shadow_sw.png
464
+ - public/javascripts/mail_engine/fancybox/fancy_shadow_w.png
465
+ - public/javascripts/mail_engine/fancybox/fancy_title_left.png
466
+ - public/javascripts/mail_engine/fancybox/fancy_title_main.png
467
+ - public/javascripts/mail_engine/fancybox/fancy_title_over.png
468
+ - public/javascripts/mail_engine/fancybox/fancy_title_right.png
469
+ - public/javascripts/mail_engine/fancybox/fancybox-x.png
470
+ - public/javascripts/mail_engine/fancybox/fancybox-y.png
471
+ - public/javascripts/mail_engine/fancybox/fancybox.png
472
+ - public/javascripts/mail_engine/fancybox/jquery.easing-1.3.pack.js
473
+ - public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.css
474
+ - public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.js
475
+ - public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.pack.js
476
+ - public/javascripts/mail_engine/fancybox/jquery.mousewheel-3.0.4.pack.js
477
+ - public/javascripts/mail_engine/jquery-ui.min.js
478
+ - public/javascripts/mail_engine/jquery.iframe-auto-height.plugin.js
479
+ - public/javascripts/mail_engine/jquery.string.js
480
+ - public/javascripts/mail_engine/mail_engine.js
481
+ - public/javascripts/mail_engine/markitup/jquery.markitup.js
482
+ - public/javascripts/mail_engine/markitup/sets/css/images/bold.png
483
+ - public/javascripts/mail_engine/markitup/sets/css/images/css.png
484
+ - public/javascripts/mail_engine/markitup/sets/css/images/italic.png
485
+ - public/javascripts/mail_engine/markitup/sets/css/images/picture.png
486
+ - public/javascripts/mail_engine/markitup/sets/css/images/stroke.png
487
+ - public/javascripts/mail_engine/markitup/sets/css/images/tag.png
488
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_align_center.png
489
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_align_justify.png
490
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_align_left.png
491
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_align_right.png
492
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_indent.png
493
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_letterspacing.png
494
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_linespacing.png
495
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_lowercase.png
496
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_padding_bottom.png
497
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_padding_left.png
498
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_padding_right.png
499
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_padding_top.png
500
+ - public/javascripts/mail_engine/markitup/sets/css/images/text_uppercase.png
501
+ - public/javascripts/mail_engine/markitup/sets/css/readme.txt
502
+ - public/javascripts/mail_engine/markitup/sets/css/set.js
503
+ - public/javascripts/mail_engine/markitup/sets/css/style.css
504
+ - public/javascripts/mail_engine/markitup/sets/default/images/bold.png
505
+ - public/javascripts/mail_engine/markitup/sets/default/images/clean.png
506
+ - public/javascripts/mail_engine/markitup/sets/default/images/image.png
507
+ - public/javascripts/mail_engine/markitup/sets/default/images/italic.png
508
+ - public/javascripts/mail_engine/markitup/sets/default/images/link.png
509
+ - public/javascripts/mail_engine/markitup/sets/default/images/picture.png
510
+ - public/javascripts/mail_engine/markitup/sets/default/images/preview.png
511
+ - public/javascripts/mail_engine/markitup/sets/default/images/stroke.png
512
+ - public/javascripts/mail_engine/markitup/sets/default/set.js
513
+ - public/javascripts/mail_engine/markitup/sets/default/style.css
514
+ - public/javascripts/mail_engine/markitup/sets/html/images/bold.png
515
+ - public/javascripts/mail_engine/markitup/sets/html/images/clean.png
516
+ - public/javascripts/mail_engine/markitup/sets/html/images/h1.png
517
+ - public/javascripts/mail_engine/markitup/sets/html/images/h2.png
518
+ - public/javascripts/mail_engine/markitup/sets/html/images/h3.png
519
+ - public/javascripts/mail_engine/markitup/sets/html/images/h4.png
520
+ - public/javascripts/mail_engine/markitup/sets/html/images/h5.png
521
+ - public/javascripts/mail_engine/markitup/sets/html/images/h6.png
522
+ - public/javascripts/mail_engine/markitup/sets/html/images/image.png
523
+ - public/javascripts/mail_engine/markitup/sets/html/images/italic.png
524
+ - public/javascripts/mail_engine/markitup/sets/html/images/link.png
525
+ - public/javascripts/mail_engine/markitup/sets/html/images/list-bullet.png
526
+ - public/javascripts/mail_engine/markitup/sets/html/images/list-item.png
527
+ - public/javascripts/mail_engine/markitup/sets/html/images/list-numeric.png
528
+ - public/javascripts/mail_engine/markitup/sets/html/images/paragraph.png
529
+ - public/javascripts/mail_engine/markitup/sets/html/images/picture.png
530
+ - public/javascripts/mail_engine/markitup/sets/html/images/preview.png
531
+ - public/javascripts/mail_engine/markitup/sets/html/images/stroke.png
532
+ - public/javascripts/mail_engine/markitup/sets/html/readme.txt
533
+ - public/javascripts/mail_engine/markitup/sets/html/set.js
534
+ - public/javascripts/mail_engine/markitup/sets/html/style.css
535
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/bg-container.png
536
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-bbcode.png
537
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-dotclear.png
538
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-html.png
539
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-json.png
540
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-markdown.png
541
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-textile.png
542
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-wiki.png
543
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-xml.png
544
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor.png
545
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/handle.png
546
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/menu.png
547
+ - public/javascripts/mail_engine/markitup/skins/markitup/images/submenu.png
548
+ - public/javascripts/mail_engine/markitup/skins/markitup/style.css
549
+ - public/javascripts/mail_engine/markitup/skins/simple/images/handle.png
550
+ - public/javascripts/mail_engine/markitup/skins/simple/images/menu.png
551
+ - public/javascripts/mail_engine/markitup/skins/simple/images/submenu.png
552
+ - public/javascripts/mail_engine/markitup/skins/simple/style.css
553
+ - public/javascripts/mail_engine/markitup/templates/preview.css
554
+ - public/javascripts/mail_engine/markitup/templates/preview.html
555
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
556
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
557
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
558
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
559
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_dadada_1x400.png
560
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
561
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
562
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
563
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_222222_256x240.png
564
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_2e83ff_256x240.png
565
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_454545_256x240.png
566
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_888888_256x240.png
567
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_cd0a0a_256x240.png
568
+ - public/stylesheets/mail_engine/jquery-ui/smoothness/jquery-ui.css
569
+ - public/stylesheets/mail_engine/style.css
374
570
  - screenshots/bounce_report.png
375
571
  - screenshots/dashboard.png
376
572
  - screenshots/editing_mail_template.png
@@ -413,6 +609,13 @@ files:
413
609
  - test/dummy/public/500.html
414
610
  - test/dummy/public/favicon.ico
415
611
  - test/dummy/public/images/mail_engine/header_and_footer_layout.png
612
+ - test/dummy/public/images/mail_engine/icons/add.png
613
+ - test/dummy/public/images/mail_engine/icons/copy.png
614
+ - test/dummy/public/images/mail_engine/icons/delete.png
615
+ - test/dummy/public/images/mail_engine/icons/edit.gif
616
+ - test/dummy/public/images/mail_engine/icons/missing.png
617
+ - test/dummy/public/images/mail_engine/icons/save.png
618
+ - test/dummy/public/images/mail_engine/icons/show.png
416
619
  - test/dummy/public/images/mail_engine/logo.gif
417
620
  - test/dummy/public/images/mail_engine/logo.png
418
621
  - test/dummy/public/images/mail_engine/none_layout.png
@@ -420,105 +623,140 @@ files:
420
623
  - test/dummy/public/images/mail_engine/unselect_header_and_footer_layout.png
421
624
  - test/dummy/public/images/mail_engine/unselect_none_layout.png
422
625
  - test/dummy/public/images/mail_engine/unselect_only_footer_layout.png
423
- - test/dummy/public/javascripts/jquery.iframe-auto-height.plugin.js
424
626
  - test/dummy/public/javascripts/jquery.js
425
- - test/dummy/public/javascripts/jquery.nyroModal/img/ajaxLoader.gif
426
- - test/dummy/public/javascripts/jquery.nyroModal/img/close.gif
427
- - test/dummy/public/javascripts/jquery.nyroModal/img/next.gif
428
- - test/dummy/public/javascripts/jquery.nyroModal/img/prev.gif
429
- - test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal-ie6.js
430
- - test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal-ie6.min.js
431
- - test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal.custom.js
432
- - test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal.custom.min.js
433
- - test/dummy/public/javascripts/jquery.nyroModal/styles/nyroModal.css
434
- - test/dummy/public/javascripts/jquery.string.js
435
- - test/dummy/public/javascripts/mail_engine_application.js
436
- - test/dummy/public/javascripts/markitup/jquery.markitup.js
437
- - test/dummy/public/javascripts/markitup/sets/css/images/bold.png
438
- - test/dummy/public/javascripts/markitup/sets/css/images/css.png
439
- - test/dummy/public/javascripts/markitup/sets/css/images/italic.png
440
- - test/dummy/public/javascripts/markitup/sets/css/images/picture.png
441
- - test/dummy/public/javascripts/markitup/sets/css/images/stroke.png
442
- - test/dummy/public/javascripts/markitup/sets/css/images/tag.png
443
- - test/dummy/public/javascripts/markitup/sets/css/images/text_align_center.png
444
- - test/dummy/public/javascripts/markitup/sets/css/images/text_align_justify.png
445
- - test/dummy/public/javascripts/markitup/sets/css/images/text_align_left.png
446
- - test/dummy/public/javascripts/markitup/sets/css/images/text_align_right.png
447
- - test/dummy/public/javascripts/markitup/sets/css/images/text_indent.png
448
- - test/dummy/public/javascripts/markitup/sets/css/images/text_letterspacing.png
449
- - test/dummy/public/javascripts/markitup/sets/css/images/text_linespacing.png
450
- - test/dummy/public/javascripts/markitup/sets/css/images/text_lowercase.png
451
- - test/dummy/public/javascripts/markitup/sets/css/images/text_padding_bottom.png
452
- - test/dummy/public/javascripts/markitup/sets/css/images/text_padding_left.png
453
- - test/dummy/public/javascripts/markitup/sets/css/images/text_padding_right.png
454
- - test/dummy/public/javascripts/markitup/sets/css/images/text_padding_top.png
455
- - test/dummy/public/javascripts/markitup/sets/css/images/text_uppercase.png
456
- - test/dummy/public/javascripts/markitup/sets/css/readme.txt
457
- - test/dummy/public/javascripts/markitup/sets/css/set.js
458
- - test/dummy/public/javascripts/markitup/sets/css/style.css
459
- - test/dummy/public/javascripts/markitup/sets/default/images/bold.png
460
- - test/dummy/public/javascripts/markitup/sets/default/images/clean.png
461
- - test/dummy/public/javascripts/markitup/sets/default/images/image.png
462
- - test/dummy/public/javascripts/markitup/sets/default/images/italic.png
463
- - test/dummy/public/javascripts/markitup/sets/default/images/link.png
464
- - test/dummy/public/javascripts/markitup/sets/default/images/picture.png
465
- - test/dummy/public/javascripts/markitup/sets/default/images/preview.png
466
- - test/dummy/public/javascripts/markitup/sets/default/images/stroke.png
467
- - test/dummy/public/javascripts/markitup/sets/default/set.js
468
- - test/dummy/public/javascripts/markitup/sets/default/style.css
469
- - test/dummy/public/javascripts/markitup/sets/html/images/bold.png
470
- - test/dummy/public/javascripts/markitup/sets/html/images/clean.png
471
- - test/dummy/public/javascripts/markitup/sets/html/images/h1.png
472
- - test/dummy/public/javascripts/markitup/sets/html/images/h2.png
473
- - test/dummy/public/javascripts/markitup/sets/html/images/h3.png
474
- - test/dummy/public/javascripts/markitup/sets/html/images/h4.png
475
- - test/dummy/public/javascripts/markitup/sets/html/images/h5.png
476
- - test/dummy/public/javascripts/markitup/sets/html/images/h6.png
477
- - test/dummy/public/javascripts/markitup/sets/html/images/image.png
478
- - test/dummy/public/javascripts/markitup/sets/html/images/italic.png
479
- - test/dummy/public/javascripts/markitup/sets/html/images/link.png
480
- - test/dummy/public/javascripts/markitup/sets/html/images/list-bullet.png
481
- - test/dummy/public/javascripts/markitup/sets/html/images/list-item.png
482
- - test/dummy/public/javascripts/markitup/sets/html/images/list-numeric.png
483
- - test/dummy/public/javascripts/markitup/sets/html/images/paragraph.png
484
- - test/dummy/public/javascripts/markitup/sets/html/images/picture.png
485
- - test/dummy/public/javascripts/markitup/sets/html/images/preview.png
486
- - test/dummy/public/javascripts/markitup/sets/html/images/stroke.png
487
- - test/dummy/public/javascripts/markitup/sets/html/readme.txt
488
- - test/dummy/public/javascripts/markitup/sets/html/set.js
489
- - test/dummy/public/javascripts/markitup/sets/html/style.css
490
- - test/dummy/public/javascripts/markitup/skins/markitup/images/bg-container.png
491
- - test/dummy/public/javascripts/markitup/skins/markitup/images/bg-editor-bbcode.png
492
- - test/dummy/public/javascripts/markitup/skins/markitup/images/bg-editor-dotclear.png
493
- - test/dummy/public/javascripts/markitup/skins/markitup/images/bg-editor-html.png
494
- - test/dummy/public/javascripts/markitup/skins/markitup/images/bg-editor-json.png
495
- - test/dummy/public/javascripts/markitup/skins/markitup/images/bg-editor-markdown.png
496
- - test/dummy/public/javascripts/markitup/skins/markitup/images/bg-editor-textile.png
497
- - test/dummy/public/javascripts/markitup/skins/markitup/images/bg-editor-wiki.png
498
- - test/dummy/public/javascripts/markitup/skins/markitup/images/bg-editor-xml.png
499
- - test/dummy/public/javascripts/markitup/skins/markitup/images/bg-editor.png
500
- - test/dummy/public/javascripts/markitup/skins/markitup/images/handle.png
501
- - test/dummy/public/javascripts/markitup/skins/markitup/images/menu.png
502
- - test/dummy/public/javascripts/markitup/skins/markitup/images/submenu.png
503
- - test/dummy/public/javascripts/markitup/skins/markitup/style.css
504
- - test/dummy/public/javascripts/markitup/skins/simple/images/handle.png
505
- - test/dummy/public/javascripts/markitup/skins/simple/images/menu.png
506
- - test/dummy/public/javascripts/markitup/skins/simple/images/submenu.png
507
- - test/dummy/public/javascripts/markitup/skins/simple/style.css
508
- - test/dummy/public/javascripts/markitup/templates/preview.css
509
- - test/dummy/public/javascripts/markitup/templates/preview.html
627
+ - test/dummy/public/javascripts/mail_engine/fancybox/blank.gif
628
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_close.png
629
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_loading.png
630
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_nav_left.png
631
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_nav_right.png
632
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_e.png
633
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_n.png
634
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_ne.png
635
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_nw.png
636
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_s.png
637
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_se.png
638
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_sw.png
639
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_w.png
640
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_left.png
641
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_main.png
642
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_over.png
643
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_right.png
644
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancybox-x.png
645
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancybox-y.png
646
+ - test/dummy/public/javascripts/mail_engine/fancybox/fancybox.png
647
+ - test/dummy/public/javascripts/mail_engine/fancybox/jquery.easing-1.3.pack.js
648
+ - test/dummy/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.css
649
+ - test/dummy/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.js
650
+ - test/dummy/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.pack.js
651
+ - test/dummy/public/javascripts/mail_engine/fancybox/jquery.mousewheel-3.0.4.pack.js
652
+ - test/dummy/public/javascripts/mail_engine/jquery-ui.min.js
653
+ - test/dummy/public/javascripts/mail_engine/jquery.iframe-auto-height.plugin.js
654
+ - test/dummy/public/javascripts/mail_engine/jquery.string.js
655
+ - test/dummy/public/javascripts/mail_engine/mail_engine.js
656
+ - test/dummy/public/javascripts/mail_engine/markitup/jquery.markitup.js
657
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/bold.png
658
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/css.png
659
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/italic.png
660
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/picture.png
661
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/stroke.png
662
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/tag.png
663
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_center.png
664
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_justify.png
665
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_left.png
666
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_right.png
667
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_indent.png
668
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_letterspacing.png
669
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_linespacing.png
670
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_lowercase.png
671
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_bottom.png
672
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_left.png
673
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_right.png
674
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_top.png
675
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_uppercase.png
676
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/readme.txt
677
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/set.js
678
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/css/style.css
679
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/bold.png
680
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/clean.png
681
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/image.png
682
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/italic.png
683
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/link.png
684
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/picture.png
685
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/preview.png
686
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/stroke.png
687
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/default/set.js
688
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/default/style.css
689
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/bold.png
690
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/clean.png
691
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h1.png
692
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h2.png
693
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h3.png
694
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h4.png
695
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h5.png
696
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h6.png
697
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/image.png
698
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/italic.png
699
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/link.png
700
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/list-bullet.png
701
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/list-item.png
702
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/list-numeric.png
703
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/paragraph.png
704
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/picture.png
705
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/preview.png
706
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/stroke.png
707
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/readme.txt
708
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/set.js
709
+ - test/dummy/public/javascripts/mail_engine/markitup/sets/html/style.css
710
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-container.png
711
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-bbcode.png
712
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-dotclear.png
713
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-html.png
714
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-json.png
715
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-markdown.png
716
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-textile.png
717
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-wiki.png
718
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-xml.png
719
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor.png
720
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/handle.png
721
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/menu.png
722
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/submenu.png
723
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/style.css
724
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/simple/images/handle.png
725
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/simple/images/menu.png
726
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/simple/images/submenu.png
727
+ - test/dummy/public/javascripts/mail_engine/markitup/skins/simple/style.css
728
+ - test/dummy/public/javascripts/mail_engine/markitup/templates/preview.css
729
+ - test/dummy/public/javascripts/mail_engine/markitup/templates/preview.html
510
730
  - test/dummy/public/javascripts/rails.js
511
- - test/dummy/public/stylesheets/.gitkeep
512
731
  - test/dummy/public/stylesheets/application.css
513
- - test/dummy/public/stylesheets/style.css
732
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
733
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
734
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
735
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
736
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_dadada_1x400.png
737
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
738
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
739
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
740
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_222222_256x240.png
741
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_2e83ff_256x240.png
742
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_454545_256x240.png
743
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_888888_256x240.png
744
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_cd0a0a_256x240.png
745
+ - test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/jquery-ui.css
746
+ - test/dummy/public/stylesheets/mail_engine/style.css
514
747
  - test/dummy/script/rails
515
748
  - test/factories.rb
516
749
  - test/fixtures/files/compress_by_dir.zip
517
750
  - test/fixtures/files/compress_by_file.zip
518
751
  - test/fixtures/files/image.png
752
+ - test/functional/mail_engine/dashboard_controller_test.rb
519
753
  - test/functional/mail_engine/mail_dispatcher_test.rb
520
- - test/functional/mail_engine/mail_schedules_controller_controller_test.rb
521
- - test/functional/mail_engine/mail_templates_controller_controller_test.rb
754
+ - test/functional/mail_engine/mail_logs_controller_test.rb
755
+ - test/functional/mail_engine/mail_schedules_controller_test.rb
756
+ - test/functional/mail_engine/mail_template_files_controller_test.rb
757
+ - test/functional/mail_engine/mail_templates_controller_test.rb
758
+ - test/functional/mail_engine/reports_controller_test.rb
759
+ - test/functional/user_mailer_test.rb
522
760
  - test/support/integration_case.rb
523
761
  - test/test_helper.rb
524
762
  - test/unit/mail_engine/mail_log_test.rb
@@ -526,6 +764,7 @@ files:
526
764
  - test/unit/mail_engine/mail_template_file_test.rb
527
765
  - test/unit/mail_engine/mail_template_test.rb
528
766
  - test/unit/mail_engine/template_partial_test.rb
767
+ - test/unit/user_test.rb
529
768
  has_rdoc: true
530
769
  homepage: http://github.com/hlxwell/mail-engine
531
770
  licenses:
@@ -585,9 +824,14 @@ test_files:
585
824
  - test/dummy/db/migrate/20110217062316_create_mail_template_files.rb
586
825
  - test/dummy/db/schema.rb
587
826
  - test/factories.rb
827
+ - test/functional/mail_engine/dashboard_controller_test.rb
588
828
  - test/functional/mail_engine/mail_dispatcher_test.rb
589
- - test/functional/mail_engine/mail_schedules_controller_controller_test.rb
590
- - test/functional/mail_engine/mail_templates_controller_controller_test.rb
829
+ - test/functional/mail_engine/mail_logs_controller_test.rb
830
+ - test/functional/mail_engine/mail_schedules_controller_test.rb
831
+ - test/functional/mail_engine/mail_template_files_controller_test.rb
832
+ - test/functional/mail_engine/mail_templates_controller_test.rb
833
+ - test/functional/mail_engine/reports_controller_test.rb
834
+ - test/functional/user_mailer_test.rb
591
835
  - test/support/integration_case.rb
592
836
  - test/test_helper.rb
593
837
  - test/unit/mail_engine/mail_log_test.rb
@@ -595,3 +839,4 @@ test_files:
595
839
  - test/unit/mail_engine/mail_template_file_test.rb
596
840
  - test/unit/mail_engine/mail_template_test.rb
597
841
  - test/unit/mail_engine/template_partial_test.rb
842
+ - test/unit/user_test.rb