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.
- data/.yardoc/checksums +12 -11
- data/.yardoc/objects/ActionMailer.dat +0 -0
- data/.yardoc/objects/ActionMailer/Base.dat +0 -0
- data/.yardoc/objects/ActionMailer/Base/collect_responses_and_parts_order_i.dat +0 -0
- data/.yardoc/objects/ActionMailer/Base/mail_i.dat +0 -0
- data/.yardoc/objects/ActionMailer/Base/origin_mail_i.dat +0 -0
- data/.yardoc/objects/ActionMailer/Base/set_layout_and_partials_i.dat +0 -0
- data/.yardoc/objects/ActionMailer/Collector.dat +0 -0
- data/.yardoc/objects/ActionMailer/Collector/custom_i.dat +0 -0
- data/.yardoc/objects/MailEngine.dat +0 -0
- data/.yardoc/objects/MailEngine/ActsAsMailReceiver.dat +0 -0
- data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods.dat +0 -0
- data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat +0 -0
- data/.yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/check_method_existance_21_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Base.dat +0 -0
- data/.yardoc/objects/MailEngine/Base/_40_40configurations.dat +0 -0
- data/.yardoc/objects/MailEngine/Base/current_config_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Base/send_marketing_mail_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Configuration.dat +0 -0
- data/.yardoc/objects/MailEngine/Configuration/load_c.dat +0 -0
- data/.yardoc/objects/MailEngine/CopyMigrations.dat +0 -0
- data/.yardoc/objects/MailEngine/CopyMigrations/copy_migrations_i.dat +0 -0
- data/.yardoc/objects/MailEngine/CopyResources.dat +0 -0
- data/.yardoc/objects/MailEngine/CopyResources/copy_resources_i.dat +0 -0
- data/.yardoc/objects/MailEngine/CreateConfig.dat +0 -0
- data/.yardoc/objects/MailEngine/CreateConfig/create_config_file_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Engine.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/check_21_c.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/get_resource_url_c.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/process_c.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_in_html_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Install.dat +0 -0
- data/.yardoc/objects/MailEngine/Install/copy_migrations_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Install/copy_resources_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Install/create_config_i.dat +0 -0
- data/.yardoc/objects/MailEngine/MailLogSubscriber.dat +0 -0
- data/.yardoc/objects/MailEngine/MailLogSubscriber/deliver_i.dat +0 -0
- data/.yardoc/objects/MailEngine/PLACEHOLDERS_IN_LAYOUT.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/Base.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/Base/ClassMethods.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/Base/ClassMethods/sendgrid_header_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/Base/InstanceMethods.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/data_3D_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/data_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/initialize_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/FilterSetting/validate_config_21_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi/blocks_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi/bounces_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi/invalidemails_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi/spamreports_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApi/stats_c.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/RestApiError.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/add_sub_val_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/add_to_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/category_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/filters_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/initialize_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/set_unique_args_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_hash_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_json_i.dat +0 -0
- data/.yardoc/objects/MailEngine/Sendgrid/SmtpApi/to_s_i.dat +0 -0
- data/.yardoc/objects/MailEngine/VERSION.dat +0 -0
- data/.yardoc/objects/MailEngine/ZipProcessor.dat +0 -0
- data/.yardoc/objects/MailEngine/ZipProcessor/extract_all_files_c.dat +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile +16 -13
- data/Gemfile.lock +69 -46
- data/README.mkd +14 -2
- data/VERSION +1 -1
- data/app/controllers/mail_engine/application_controller.rb +4 -0
- data/app/controllers/mail_engine/mail_logs_controller.rb +1 -1
- data/app/controllers/mail_engine/mail_schedules_controller.rb +4 -4
- data/app/controllers/mail_engine/mail_template_files_controller.rb +4 -4
- data/app/controllers/mail_engine/mail_templates_controller.rb +16 -11
- data/app/controllers/mail_engine/reports_controller.rb +5 -1
- data/app/helpers/mail_engine/mail_engine_helper.rb +1 -1
- data/app/mailers/mail_engine/mail_dispatcher.rb +16 -9
- data/app/models/mail_engine/mail_log.rb +1 -1
- data/app/models/mail_engine/mail_schedule.rb +14 -12
- data/app/models/mail_engine/mail_template.rb +81 -55
- data/app/models/mail_engine/mail_template_file.rb +4 -3
- data/app/views/layouts/mail_engine/mail_engine.html.erb +31 -18
- data/app/views/layouts/mail_engine/simple.html.erb +14 -0
- data/app/views/mail_engine/dashboard/index.html.erb +18 -1
- data/app/views/mail_engine/mail_logs/_related_logs.html.erb +29 -0
- data/app/views/mail_engine/mail_logs/index.html.erb +5 -5
- data/app/views/mail_engine/mail_schedules/_form.html.erb +6 -5
- data/app/views/mail_engine/mail_schedules/index.html.erb +13 -8
- data/app/views/mail_engine/mail_schedules/show.html.erb +2 -0
- data/app/views/mail_engine/mail_template_files/_form.html.erb +20 -10
- data/app/views/mail_engine/mail_template_files/edit.html.erb +2 -0
- data/app/views/mail_engine/mail_template_files/new.html.erb +2 -0
- data/app/views/mail_engine/mail_templates/_form.html.erb +65 -12
- data/app/views/mail_engine/mail_templates/_layout_selector.html.erb +3 -3
- data/app/views/mail_engine/mail_templates/duplicate.html.erb +11 -7
- data/app/views/mail_engine/mail_templates/index.html.erb +25 -21
- data/app/views/mail_engine/mail_templates/new_by_upload.html.erb +11 -5
- data/app/views/mail_engine/mail_templates/partial_options.html.erb +2 -2
- data/app/views/mail_engine/mail_templates/show.html.erb +19 -29
- data/app/views/mail_engine/reports/charts/blocks.html.erb +2 -2
- data/app/views/mail_engine/reports/charts/bounces.html.erb +2 -2
- data/app/views/mail_engine/reports/charts/invalidemails.html.erb +2 -2
- data/app/views/mail_engine/reports/charts/spamreports.html.erb +2 -2
- data/app/views/mail_engine/reports/index.html.erb +40 -5
- data/config/routes.rb +5 -6
- data/db/migrate/20110114030841_create_table_mail_template.rb +1 -0
- data/doc/ActionMailer.html +108 -0
- data/doc/ActionMailer/Base.html +193 -0
- data/doc/ActionMailer/Collector.html +175 -0
- data/doc/MailEngine.html +146 -0
- data/doc/MailEngine/ActsAsMailReceiver.html +97 -0
- data/doc/MailEngine/ActsAsMailReceiver/ClassMethods.html +187 -0
- data/doc/MailEngine/Base.html +297 -0
- data/doc/MailEngine/Configuration.html +181 -0
- data/doc/MailEngine/CopyMigrations.html +187 -0
- data/doc/MailEngine/CopyResources.html +171 -0
- data/doc/MailEngine/CreateConfig.html +193 -0
- data/doc/MailEngine/CreateMigration.html +187 -0
- data/doc/MailEngine/Engine.html +100 -0
- data/doc/MailEngine/HtmlDocumentAssetsReplacer.html +397 -0
- data/doc/MailEngine/Install.html +273 -0
- data/doc/MailEngine/MailLogSubscriber.html +204 -0
- data/doc/MailEngine/Sendgrid.html +101 -0
- data/doc/MailEngine/Sendgrid/Base.html +97 -0
- data/doc/MailEngine/Sendgrid/Base/ClassMethods.html +150 -0
- data/doc/MailEngine/Sendgrid/Base/InstanceMethods.html +81 -0
- data/doc/MailEngine/Sendgrid/FilterSetting.html +257 -0
- data/doc/MailEngine/Sendgrid/RestApi.html +476 -0
- data/doc/MailEngine/Sendgrid/RestApiError.html +100 -0
- data/doc/MailEngine/Sendgrid/SmtpApi.html +604 -0
- data/doc/MailEngine/ZipProcessor.html +267 -0
- data/doc/_index.html +21 -7
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +231 -0
- data/doc/index.html +231 -0
- data/doc/method_list.html +45 -21
- data/doc/top-level-namespace.html +88 -0
- data/lib/mail_engine.rb +7 -1
- data/lib/mail_engine/action_mailer_patch.rb +7 -0
- data/lib/mail_engine/acts_as_mail_receiver.rb +40 -6
- data/lib/mail_engine/base.rb +28 -7
- data/lib/mail_engine/configuration.rb +3 -0
- data/lib/mail_engine/engine.rb +5 -5
- data/lib/mail_engine/generators/{create_migration.rb → copy_migrations.rb} +4 -3
- data/lib/mail_engine/generators/copy_resources.rb +13 -0
- data/lib/mail_engine/generators/install.rb +21 -0
- data/lib/mail_engine/generators/templates/mail_engine_config.yml +10 -1
- data/lib/mail_engine/html_document_assets_replacer.rb +12 -23
- data/lib/mail_engine/mail_log_subscriber.rb +13 -5
- data/lib/mail_engine/zip_processor.rb +10 -1
- data/mail_engine.gemspec +336 -110
- data/public/images/mail_engine/header_and_footer_layout.png +0 -0
- data/public/images/mail_engine/icons/add.png +0 -0
- data/public/images/mail_engine/icons/copy.png +0 -0
- data/public/images/mail_engine/icons/delete.png +0 -0
- data/public/images/mail_engine/icons/edit.gif +0 -0
- data/public/images/mail_engine/icons/missing.png +0 -0
- data/public/images/mail_engine/icons/save.png +0 -0
- data/public/images/mail_engine/icons/show.png +0 -0
- data/public/images/mail_engine/logo.gif +0 -0
- data/public/images/mail_engine/logo.png +0 -0
- data/public/images/mail_engine/none_layout.png +0 -0
- data/public/images/mail_engine/only_footer_layout.png +0 -0
- data/public/images/mail_engine/unselect_header_and_footer_layout.png +0 -0
- data/public/images/mail_engine/unselect_none_layout.png +0 -0
- data/public/images/mail_engine/unselect_only_footer_layout.png +0 -0
- data/public/javascripts/mail_engine/fancybox/blank.gif +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_close.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_loading.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_nav_left.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_nav_right.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_shadow_e.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_shadow_n.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_shadow_ne.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_shadow_nw.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_shadow_s.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_shadow_se.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_shadow_sw.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_shadow_w.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_title_left.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_title_main.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_title_over.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancy_title_right.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancybox-x.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancybox-y.png +0 -0
- data/public/javascripts/mail_engine/fancybox/fancybox.png +0 -0
- data/public/javascripts/mail_engine/fancybox/jquery.easing-1.3.pack.js +72 -0
- data/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.css +359 -0
- data/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.js +1156 -0
- data/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.pack.js +46 -0
- data/public/javascripts/mail_engine/fancybox/jquery.mousewheel-3.0.4.pack.js +14 -0
- data/public/javascripts/mail_engine/jquery-ui.min.js +577 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/jquery.iframe-auto-height.plugin.js +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/jquery.string.js +0 -0
- data/{test/dummy/public/javascripts/mail_engine_application.js → public/javascripts/mail_engine/mail_engine.js} +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/jquery.markitup.js +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/bold.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/css.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/italic.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/picture.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/stroke.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/tag.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_align_center.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_align_justify.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_align_left.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_align_right.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_indent.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_letterspacing.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_linespacing.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_lowercase.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_padding_bottom.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_padding_left.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_padding_right.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_padding_top.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/images/text_uppercase.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/readme.txt +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/set.js +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/css/style.css +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/bold.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/clean.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/image.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/italic.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/link.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/picture.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/preview.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/images/stroke.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/set.js +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/default/style.css +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/bold.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/clean.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h1.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h2.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h3.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h4.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h5.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/h6.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/image.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/italic.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/link.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/list-bullet.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/list-item.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/list-numeric.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/paragraph.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/picture.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/preview.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/images/stroke.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/readme.txt +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/set.js +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/sets/html/style.css +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-container.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-bbcode.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-dotclear.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-html.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-json.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-markdown.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-textile.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-wiki.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor-xml.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/bg-editor.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/handle.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/menu.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/images/submenu.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/markitup/style.css +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/simple/images/handle.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/simple/images/menu.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/simple/images/submenu.png +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/skins/simple/style.css +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/templates/preview.css +0 -0
- data/{test/dummy/public/javascripts → public/javascripts/mail_engine}/markitup/templates/preview.html +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/public/stylesheets/mail_engine/jquery-ui/smoothness/jquery-ui.css +544 -0
- data/{test/dummy/public/stylesheets → public/stylesheets/mail_engine}/style.css +6 -2
- data/test/dummy/app/controllers/application_controller.rb +0 -8
- data/test/dummy/app/models/user.rb +6 -4
- data/test/dummy/config/application.rb +2 -2
- data/test/dummy/config/database.yml +2 -2
- data/test/dummy/db/migrate/20110114030841_create_table_mail_template.rb +1 -0
- data/test/dummy/db/migrate/20110206025002_create_mail_logs.rb +1 -1
- data/test/dummy/db/schema.rb +1 -0
- data/test/dummy/public/images/mail_engine/icons/add.png +0 -0
- data/test/dummy/public/images/mail_engine/icons/copy.png +0 -0
- data/test/dummy/public/images/mail_engine/icons/delete.png +0 -0
- data/test/dummy/public/images/mail_engine/icons/edit.gif +0 -0
- data/test/dummy/public/images/mail_engine/icons/missing.png +0 -0
- data/test/dummy/public/images/mail_engine/icons/save.png +0 -0
- data/test/dummy/public/images/mail_engine/icons/show.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/blank.gif +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_close.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_loading.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_nav_left.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_nav_right.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_e.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_n.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_ne.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_nw.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_s.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_se.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_sw.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_shadow_w.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_left.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_main.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_over.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancy_title_right.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancybox-x.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancybox-y.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/fancybox.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/jquery.easing-1.3.pack.js +72 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.css +359 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.js +1156 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/jquery.fancybox-1.3.4.pack.js +46 -0
- data/test/dummy/public/javascripts/mail_engine/fancybox/jquery.mousewheel-3.0.4.pack.js +14 -0
- data/test/dummy/public/javascripts/mail_engine/jquery-ui.min.js +577 -0
- data/test/dummy/public/javascripts/mail_engine/jquery.iframe-auto-height.plugin.js +50 -0
- data/test/dummy/public/javascripts/mail_engine/jquery.string.js +425 -0
- data/test/dummy/public/javascripts/mail_engine/mail_engine.js +2 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/jquery.markitup.js +564 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/bold.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/css.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/italic.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/picture.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/stroke.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/tag.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_center.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_justify.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_left.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_align_right.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_indent.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_letterspacing.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_linespacing.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_lowercase.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_bottom.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_left.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_right.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_padding_top.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/images/text_uppercase.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/readme.txt +28 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/set.js +52 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/css/style.css +72 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/bold.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/clean.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/image.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/italic.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/link.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/picture.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/preview.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/images/stroke.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/set.js +27 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/default/style.css +27 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/bold.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/clean.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h1.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h2.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h3.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h4.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h5.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/h6.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/image.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/italic.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/link.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/list-bullet.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/list-item.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/list-numeric.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/paragraph.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/picture.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/preview.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/images/stroke.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/readme.txt +11 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/set.js +40 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/sets/html/style.css +59 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-container.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-bbcode.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-dotclear.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-html.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-json.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-markdown.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-textile.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-wiki.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor-xml.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/bg-editor.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/handle.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/menu.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/images/submenu.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/markitup/style.css +147 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/simple/images/handle.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/simple/images/menu.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/simple/images/submenu.png +0 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/skins/simple/style.css +118 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/templates/preview.css +5 -0
- data/test/dummy/public/javascripts/mail_engine/markitup/templates/preview.html +11 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/dummy/public/stylesheets/mail_engine/jquery-ui/smoothness/jquery-ui.css +544 -0
- data/test/dummy/public/stylesheets/mail_engine/style.css +685 -0
- data/test/factories.rb +31 -4
- data/test/functional/mail_engine/{mail_schedules_controller_controller_test.rb → dashboard_controller_test.rb} +2 -2
- data/test/functional/mail_engine/{mail_templates_controller_controller_test.rb → mail_logs_controller_test.rb} +2 -2
- data/test/functional/mail_engine/mail_schedules_controller_test.rb +8 -0
- data/test/functional/mail_engine/mail_template_files_controller_test.rb +8 -0
- data/test/functional/mail_engine/mail_templates_controller_test.rb +8 -0
- data/test/functional/mail_engine/reports_controller_test.rb +8 -0
- data/test/functional/user_mailer_test.rb +14 -0
- data/test/test_helper.rb +4 -1
- data/test/unit/mail_engine/mail_log_test.rb +1 -1
- data/test/unit/mail_engine/mail_schedule_test.rb +34 -1
- data/test/unit/mail_engine/mail_template_test.rb +51 -12
- data/test/unit/user_test.rb +20 -0
- metadata +370 -125
- data/.yardoc/objects/MailEngine/Base/send_mail_c.dat +0 -0
- data/.yardoc/objects/MailEngine/CreateMigration.dat +0 -0
- data/.yardoc/objects/MailEngine/CreateMigration/create_migrations_i.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_filename_in_html_c.dat +0 -0
- data/.yardoc/objects/MailEngine/HtmlDocumentAssetsReplacer/replace_resource_url_in_html_c.dat +0 -0
- data/.yardoc/objects/PLACEHOLDERS_IN_LAYOUT.dat +0 -0
- data/lib/mail_engine/placeholders_in_layout.rb +0 -5
- data/test/dummy/public/javascripts/jquery.nyroModal/img/ajaxLoader.gif +0 -0
- data/test/dummy/public/javascripts/jquery.nyroModal/img/close.gif +0 -0
- data/test/dummy/public/javascripts/jquery.nyroModal/img/next.gif +0 -0
- data/test/dummy/public/javascripts/jquery.nyroModal/img/prev.gif +0 -0
- data/test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal-ie6.js +0 -186
- data/test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal-ie6.min.js +0 -9
- data/test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal.custom.js +0 -1599
- data/test/dummy/public/javascripts/jquery.nyroModal/js/jquery.nyroModal.custom.min.js +0 -34
- data/test/dummy/public/javascripts/jquery.nyroModal/styles/nyroModal.css +0 -102
- 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 :
|
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.
|
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, :
|
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 => :
|
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::
|
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::
|
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
|
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
|
@@ -2,7 +2,40 @@ require 'test_helper'
|
|
2
2
|
|
3
3
|
class MailEngine::MailScheduleTest < ActiveSupport::TestCase
|
4
4
|
|
5
|
-
context "
|
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(:
|
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
|
-
|
57
|
-
@
|
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 "
|
61
|
-
assert_not_equal @clone_template
|
96
|
+
should "two template should be different" do
|
97
|
+
assert_not_equal @clone_template, @zipmail_template
|
62
98
|
end
|
63
99
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
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:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
- 0
|
9
8
|
- 1
|
10
|
-
|
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-
|
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:
|
27
|
+
hash: 15
|
28
28
|
segments:
|
29
29
|
- 3
|
30
30
|
- 0
|
31
|
-
-
|
32
|
-
version: 3.0.
|
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:
|
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:
|
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:
|
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:
|
85
|
+
hash: 3
|
86
86
|
segments:
|
87
|
-
- 3
|
88
87
|
- 0
|
89
|
-
|
90
|
-
- 2
|
91
|
-
version: 3.0.pre2
|
88
|
+
version: "0"
|
92
89
|
requirement: *id005
|
93
90
|
prerelease: false
|
94
|
-
name:
|
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:
|
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:
|
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:
|
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:
|
151
|
-
type: :
|
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:
|
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:
|
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:
|
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/
|
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/
|
245
|
-
- .yardoc/objects/MailEngine/
|
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/
|
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/
|
426
|
-
- test/dummy/public/javascripts/
|
427
|
-
- test/dummy/public/javascripts/
|
428
|
-
- test/dummy/public/javascripts/
|
429
|
-
- test/dummy/public/javascripts/
|
430
|
-
- test/dummy/public/javascripts/
|
431
|
-
- test/dummy/public/javascripts/
|
432
|
-
- test/dummy/public/javascripts/
|
433
|
-
- test/dummy/public/javascripts/
|
434
|
-
- test/dummy/public/javascripts/
|
435
|
-
- test/dummy/public/javascripts/
|
436
|
-
- test/dummy/public/javascripts/
|
437
|
-
- test/dummy/public/javascripts/
|
438
|
-
- test/dummy/public/javascripts/
|
439
|
-
- test/dummy/public/javascripts/
|
440
|
-
- test/dummy/public/javascripts/
|
441
|
-
- test/dummy/public/javascripts/
|
442
|
-
- test/dummy/public/javascripts/
|
443
|
-
- test/dummy/public/javascripts/
|
444
|
-
- test/dummy/public/javascripts/
|
445
|
-
- test/dummy/public/javascripts/
|
446
|
-
- test/dummy/public/javascripts/
|
447
|
-
- test/dummy/public/javascripts/
|
448
|
-
- test/dummy/public/javascripts/
|
449
|
-
- test/dummy/public/javascripts/
|
450
|
-
- test/dummy/public/javascripts/
|
451
|
-
- test/dummy/public/javascripts/
|
452
|
-
- test/dummy/public/javascripts/
|
453
|
-
- test/dummy/public/javascripts/
|
454
|
-
- test/dummy/public/javascripts/markitup/
|
455
|
-
- test/dummy/public/javascripts/markitup/sets/css/images/
|
456
|
-
- test/dummy/public/javascripts/markitup/sets/css/
|
457
|
-
- test/dummy/public/javascripts/markitup/sets/css/
|
458
|
-
- test/dummy/public/javascripts/markitup/sets/css/
|
459
|
-
- test/dummy/public/javascripts/markitup/sets/
|
460
|
-
- test/dummy/public/javascripts/markitup/sets/
|
461
|
-
- test/dummy/public/javascripts/markitup/sets/
|
462
|
-
- test/dummy/public/javascripts/markitup/sets/
|
463
|
-
- test/dummy/public/javascripts/markitup/sets/
|
464
|
-
- test/dummy/public/javascripts/markitup/sets/
|
465
|
-
- test/dummy/public/javascripts/markitup/sets/
|
466
|
-
- test/dummy/public/javascripts/markitup/sets/
|
467
|
-
- test/dummy/public/javascripts/markitup/sets/
|
468
|
-
- test/dummy/public/javascripts/markitup/sets/
|
469
|
-
- test/dummy/public/javascripts/markitup/sets/
|
470
|
-
- test/dummy/public/javascripts/markitup/sets/
|
471
|
-
- test/dummy/public/javascripts/markitup/sets/
|
472
|
-
- test/dummy/public/javascripts/markitup/sets/
|
473
|
-
- test/dummy/public/javascripts/markitup/sets/
|
474
|
-
- test/dummy/public/javascripts/markitup/sets/
|
475
|
-
- test/dummy/public/javascripts/markitup/sets/
|
476
|
-
- test/dummy/public/javascripts/markitup/sets/
|
477
|
-
- test/dummy/public/javascripts/markitup/sets/
|
478
|
-
- test/dummy/public/javascripts/markitup/sets/
|
479
|
-
- test/dummy/public/javascripts/markitup/sets/
|
480
|
-
- test/dummy/public/javascripts/markitup/sets/
|
481
|
-
- test/dummy/public/javascripts/markitup/sets/
|
482
|
-
- test/dummy/public/javascripts/markitup/sets/
|
483
|
-
- test/dummy/public/javascripts/markitup/sets/
|
484
|
-
- test/dummy/public/javascripts/markitup/sets/
|
485
|
-
- test/dummy/public/javascripts/markitup/sets/
|
486
|
-
- test/dummy/public/javascripts/markitup/sets/
|
487
|
-
- test/dummy/public/javascripts/markitup/sets/html/
|
488
|
-
- test/dummy/public/javascripts/markitup/sets/html/
|
489
|
-
- test/dummy/public/javascripts/markitup/sets/html/
|
490
|
-
- test/dummy/public/javascripts/markitup/
|
491
|
-
- test/dummy/public/javascripts/markitup/
|
492
|
-
- test/dummy/public/javascripts/markitup/
|
493
|
-
- test/dummy/public/javascripts/markitup/
|
494
|
-
- test/dummy/public/javascripts/markitup/
|
495
|
-
- test/dummy/public/javascripts/markitup/
|
496
|
-
- test/dummy/public/javascripts/markitup/
|
497
|
-
- test/dummy/public/javascripts/markitup/
|
498
|
-
- test/dummy/public/javascripts/markitup/
|
499
|
-
- test/dummy/public/javascripts/markitup/
|
500
|
-
- test/dummy/public/javascripts/markitup/
|
501
|
-
- test/dummy/public/javascripts/markitup/
|
502
|
-
- test/dummy/public/javascripts/markitup/
|
503
|
-
- test/dummy/public/javascripts/markitup/
|
504
|
-
- test/dummy/public/javascripts/markitup/
|
505
|
-
- test/dummy/public/javascripts/markitup/
|
506
|
-
- test/dummy/public/javascripts/markitup/
|
507
|
-
- test/dummy/public/javascripts/markitup/
|
508
|
-
- test/dummy/public/javascripts/markitup/
|
509
|
-
- test/dummy/public/javascripts/markitup/
|
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/
|
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/
|
521
|
-
- test/functional/mail_engine/
|
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/
|
590
|
-
- test/functional/mail_engine/
|
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
|