Fix syntax and quotes for 1.8.7.

This commit is contained in:
Samuel Cochran 2011-06-02 08:15:50 +08:00
parent 290d2db96a
commit 811a3ac47f

View File

@ -1,10 +1,10 @@
require 'active_support/all'
require 'eventmachine'
require rbconfig
require 'rbconfig'
require 'thin'
def windows?
Config::CONFIG[host_os] =~ /mswin|mingw/
Config::CONFIG['host_os'] =~ /mswin|mingw/
end
module MailCatcher
@ -21,7 +21,7 @@ module MailCatcher
:http_ip => '127.0.0.1',
:http_port => '1080',
:verbose => false,
:daemon => true unless windows?,
:daemon => (true unless windows?),
}
def self.parse! arguments=ARGV, defaults=@@defaults