Skip to content

Commit

Permalink
==== Fri Oct 26 02:21:13 GMT 2007 Mikel Lindsaar <raasdnil@gmail.com>
Browse files Browse the repository at this point in the history
* Deleted incompatabilities from the root folder (it is in www/outdated)
  • Loading branch information
mikel committed Oct 26, 2007
1 parent 5e88811 commit 215d73a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 101 deletions.
11 changes: 0 additions & 11 deletions lib/tmail/interface.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ def bcc=( *strs )
set_string_array_attr 'Bcc', strs
end


#
# originator
#
Expand Down Expand Up @@ -285,7 +284,6 @@ def subject=( str )
set_string_attr 'Subject', str
end


#
# identity & threading
#
Expand Down Expand Up @@ -326,7 +324,6 @@ def references=( *strs )
set_string_array_attr 'References', strs
end


#
# MIME headers
#
Expand All @@ -353,7 +350,6 @@ def mime_version=( m, opt = nil )
m
end


def content_type( default = nil )
if h = @header['content-type']
h.content_type || default
Expand Down Expand Up @@ -393,7 +389,6 @@ def set_content_type( str, sub = nil, param = nil )
store 'Content-Type', "#{main}/#{sub}"
end
@header['content-type'].params.replace param if param

str
end

Expand Down Expand Up @@ -426,7 +421,6 @@ def charset=( str )
str
end


def transfer_encoding( default = nil )
if h = @header['content-transfer-encoding']
h.encoding || default
Expand All @@ -444,7 +438,6 @@ def transfer_encoding=( str )
alias content_transfer_encoding transfer_encoding
alias content_transfer_encoding= transfer_encoding=


def disposition( default = nil )
if h = @header['content-disposition']
h.disposition || default
Expand Down Expand Up @@ -492,7 +485,6 @@ def create_reply
mail
end


def base64_encode
store 'Content-Transfer-Encoding', 'Base64'
self.body = Base64.folding_encode(self.body)
Expand All @@ -505,7 +497,6 @@ def base64_decode
end
end


def destinations( default = nil )
ret = []
%w( to cc bcc ).each do |nm|
Expand All @@ -528,7 +519,6 @@ def each_destination( &block )

alias each_dest each_destination


def reply_addresses( default = nil )
reply_to_addrs(nil) or from_addrs(nil) or default
end
Expand All @@ -541,7 +531,6 @@ def error_reply_addresses( default = nil )
end
end


def multipart?
main_type('').downcase == 'multipart'
end
Expand Down
2 changes: 1 addition & 1 deletion test/test_mbox.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'fileutils'
require 'test/unit'

class MhMailboxTester < Test::Unit::TestCase
class MailboxTester < Test::Unit::TestCase
include FileUtils

MAILBOX = '_mh'
Expand Down
89 changes: 0 additions & 89 deletions www/Incompatibilities

This file was deleted.

0 comments on commit 215d73a

Please sign in to comment.