Fix rake bug.(Move functions inside namespace)
This commit is contained in:
parent
27deea2610
commit
80e1362ab6
|
@ -64,7 +64,6 @@ namespace :epaper do
|
||||||
paper.save
|
paper.save
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
def verify_email(from_addr,check_emails,tls) #true if check_email is ok
|
def verify_email(from_addr,check_emails,tls) #true if check_email is ok
|
||||||
s = Timeout.timeout(@open_timeout, Net::OpenTimeout) do
|
s = Timeout.timeout(@open_timeout, Net::OpenTimeout) do
|
||||||
TCPSocket.open(@address, @port)
|
TCPSocket.open(@address, @port)
|
||||||
|
@ -140,3 +139,5 @@ def new_internet_message_io(s)
|
||||||
io.debug_output = @debug_output
|
io.debug_output = @debug_output
|
||||||
io
|
io
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue