~mark-mims/ubuntu/oneiric/ruby-actionmailer-2.3/fix-2.3.14

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-06-01 16:49:50 UTC
  • Revision ID: james.westby@ubuntu.com-20110601164950-zd4413lamwzyln51
Tags: upstream-2.3.11
Import upstream version 2.3.11

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.7'
 
6
rescue Gem::LoadError
 
7
  $:.unshift "#{File.dirname(__FILE__)}/tmail-1.2.7"
 
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