mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-08-13 17:03:45 -04:00
Fix syntax and quotes for 1.8.7.
This commit is contained in:
parent
290d2db96a
commit
811a3ac47f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user