~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb

  • Committer: Richard Lee (Canonical)
  • Date: 2010-10-15 15:17:58 UTC
  • mfrom: (190.1.3 use-case-mapper)
  • Revision ID: richard.lee@canonical.com-20101015151758-wcvmfxrexsongf9d
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Prefer gems to the bundled libs.
2
 
require 'rubygems'
3
 
 
4
 
begin
5
 
  gem 'tmail', '~> 1.2.3'
6
 
rescue Gem::LoadError
7
 
  $:.unshift "#{File.dirname(__FILE__)}/tmail-1.2.3"
8
 
end
9
 
 
10
 
module TMail
11
 
end
12
 
 
13
 
require 'tmail'
14
 
 
15
 
silence_warnings do
16
 
  TMail::Encoder.const_set("MAX_LINE_LEN", 200)
17
 
end