Sha256: 3d774396edd5cd0d6978d3849f219a53993b4cf0b490500d1effd48ad19d15bd

Contents?: true

Size: 530 Bytes

Versions: 4

Compression:

Stored size: 530 Bytes

Contents

require 'premailer'
require 'action_mailer'

require 'premailer/rails/css_loaders'
require 'premailer/rails/css_helper'
require 'premailer/rails/customized_premailer'
require 'premailer/rails/hook'
require 'premailer/rails/nokogiri_fix'

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

ActionMailer::Base.register_interceptor(Premailer::Rails::Hook)

Version data entries

4 entries across 2 versions & 2 rubygems

Version Path
premailer-rails3-1.3.2 lib/premailer/rails.rb
premailer-rails3-1.3.2 lib/premailer/rails3.rb
premailer-rails-1.3.2 lib/premailer/rails.rb
premailer-rails-1.3.2 lib/premailer/rails3.rb