Sha256: 90954e9f17984bd98c86f0274b7da1c91957db886a811f1ca13a067a2ca0ca23

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

require 'premailer'
require 'premailer-rails3/css_loaders'
require 'premailer-rails3/css_helper'
require 'premailer-rails3/premailer'
require 'premailer-rails3/hook'

module PremailerRails
  @config = {
    :input_encoding     => 'UTF-8',
    :inputencoding      => 'UTF-8',
    :generate_text_part => true
  }
  class << self
    attr_accessor :config
  end
end

ActionMailer::Base.register_interceptor(PremailerRails::Hook)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
premailer-rails3-1.3.1 lib/premailer-rails3.rb
premailer-rails3-1.3.0 lib/premailer-rails3.rb