[#2748] Proposal: New Bignum — "Evan Webb" <evan@...>
During some experiments with ruby cryptography, I found some problems with
11 messages
2004/04/06
[#2749] Re: Proposal: New Bignum
— matz@... (Yukihiro Matsumoto)
2004/04/06
Hi,
[#2764] RDoc :enddoc: — Tanaka Akira <akr@...17n.org>
I found that RDoc document some method after :enddoc:. Is it
7 messages
2004/04/10
[#2788] Problems building ext/io/wait.c in 1.8 branch — Gavin Sinclair <gsinclair@...>
I can't get io/wait installed. The main problem is that it doesn't
6 messages
2004/04/17
[#2799] Re: Problems building ext/io/wait.c in 1.8 branch
— Gavin Sinclair <gsinclair@...>
2004/04/21
On Saturday, April 17, 2004, 4:42:14 PM, Gavin wrote:
[#2800] Re: Problems building ext/io/wait.c in 1.8 branch
— ts <decoux@...>
2004/04/21
>>>>> "G" == Gavin Sinclair <gsinclair@soyabean.com.au> writes:
[#2801] Re: Problems building ext/io/wait.c in 1.8 branch
— Gavin Sinclair <gsinclair@...>
2004/04/21
On Thursday, April 22, 2004, 1:21:29 AM, ts wrote:
[#2805] Bug 1318 — Steven Jenkins <steven.jenkins@...>
Any comments on
9 messages
2004/04/23
[#2814] Tempfile strangeness in 1.9.0 — Steven Jenkins <steven.jenkins@...>
I didn't open a bug for this because it's from the CVS head, but it
5 messages
2004/04/24
Re: Proposed patch to add SSL support to net/pop.rb
From:
nobu.nokada@...
Date:
2004-04-02 00:06:37 UTC
List:
ruby-core #2736
Hi,
At Fri, 2 Apr 2004 03:03:58 +0900,
Austin Ziegler wrote in [ruby-core:02733]:
> >> Net::POP3.start(address, port, account, password, isapop = false) {
> >> |pop| ... }
> >> Net::POP3.start_with_ssl(address, port, account, password, certs,
> >> verify, isapop = false) { |pop| ... }
> > That might work.
> > What about the case where I want a client that can do either POP or POP
> > over SSL depending on a users input? In the first case I just set usessl
> > = true and pass that to #start. In this case I have to call a whole
> > separate method. This seems less elegant to me.
>
> Perhaps a third method could be provided that could serve this dual-duty.
What about:
Net::POP3.witH_ssl(certs, verify).start(address, port, account, password) do |pop|
...
end
In the case you mentioned:
pop = Net::POP3.APOP($is_apop)
pop = pop.witH_ssl(certs, verify) if $use_ssl
pop.start(address, port, account, password) do |pop|
...
end
> Alternatively:
>
> Net::POP3.start(address, port, account, password, isapop = false) { |pop|
> pop.use_ssl(certs, verify)
> ...
> }
It's too late.
--
Nobu Nakada