[#7955] Failing tests in ruby since 1.8.2 — "Caleb Tennis" <caleb@...>
The following tests have been failing in Ruby for a long time, including
[#7978] Patch for Unix socket peer credentials — "James F. Hranicky" <jfh@...>
This patch adds support for getting the uid and gid of the peer
In article <200606091528.30171.jfh@cise.ufl.edu>,
On Friday 16 June 2006 11:51, Tanaka Akira wrote:
In article <200606161327.35948.jfh@cise.ufl.edu>,
On Saturday 17 June 2006 06:27, Tanaka Akira wrote:
In article <200607101352.16804.jfh@cise.ufl.edu>,
On Tuesday 11 July 2006 00:10, Tanaka Akira wrote:
Hi,
On Thursday 13 July 2006 22:48, nobu@ruby-lang.org wrote:
On Jul 18, 2006, at 12:27 PM, James F. Hranicky wrote:
On Tuesday 18 July 2006 15:52, Eric Hodel wrote:
[#7994] Ruby Kaigi date confusion — "Charles O Nutter" <headius@...>
I'm quite confused by the dates I have seen reported on various Ruby Kaigi
[#8013] Download page on ruby-lang has numeric URL — Hugh Sasse <hgs@...>
This is off-topic to ruby-core, but possibly core to ruby's uptake:
On Jun 19, 2006, at 3:32 AM, Hugh Sasse wrote:
[#8038] bug in $. ? — Wybo Dekker <wybo@...>
wybo>cat t
Wybo Dekker schrieb:
Pit Capitain wrote:
[#8050] Thank-you to the Rails Core Team — Dave Teare <devlists-ruby-core@...>
While we were listening to Dave Thomas' Keynote address today at
[#8061] Win32 Extension Issues Wanted! — "Austin Ziegler" <halostatue@...>
Everyone. I had a conversation with folks from Microsoft today about
[#8065] Core documentation patches — Alex Young <alex@...>
Hi there,
Hi,
Yukihiro Matsumoto wrote:
[#8073] 1.8.5p1 build failure on Solaris 10 — "Daniel Berger" <Daniel.Berger@...>
Solaris 10
Hi,
Yukihiro Matsumoto wrote:
>>>>> "D" == Daniel Berger <Daniel.Berger@qwest.com> writes:
ts <decoux@moulon.inra.fr> wrote on 28.06.2006 17:37:00:
Hi,
Yukihiro Matsumoto <matz@ruby-lang.org> wrote on 29.06.2006 20:02:11:
Hi,
Yukihiro Matsumoto <matz@ruby-lang.org> wrote on 29.06.2006 20:53:20:
ville.mattila@stonesoft.com wrote:
[#8087] optparse.rb to RDoc documentation patch — <noreply@...>
Patches item #4879, was opened at 2006-06-28 20:50
On Jun 28, 2006, at 11:50 AM, <noreply@rubyforge.org>
[#8102] Reorganizing configure.in by platform? — "Daniel Berger" <Daniel.Berger@...>
Hi,
Re: [ ruby-Bugs-4820 ] XMLRPC's conv2value does not handle DateTime at all (it chops the time off)
On Jun 20, 2006, at 3:02 PM, <noreply@rubyforge.org>
<noreply@rubyforge.org> wrote:
> Bugs item #4820, was opened at 2006-06-20 15:12
> You can respond by visiting:
> http://rubyforge.org/tracker/?
> func=detail&atid=1698&aid=4820&group_id=426
>
> Category: Standard Library
> Group: None
> Status: Open
> Resolution: None
> Priority: 3
> Submitted By: Philip Hallstrom (phallstrom)
> Assigned to: Nobody (None)
> Summary: XMLRPC's conv2value does not handle DateTime at all (it
> chops the time off)
>
> Initial Comment:
> I have been building a XML-RPC web service using Rails. I have
> several :datetime fields in my database. Upon receiving the result
> of the XML-RPC call those fields would have their time truncated to
> 00:00:00. Tracking the process all the way through it seems the
> error is near line 297 of /usr/local/lib/ruby/1.8/xmlrpc/create.rb:
>
> --------------------------------------------------------------------
> when Date
> t = param
> @writer.tag("dateTime.iso8601",
> format("%.4d%02d%02dT00:00:00", t.year, t.month, t.day))
> --------------------------------------------------------------------
>
> I don't know why, but "case param" when param.class == DateTime
> would still match the Date clause. param.is_a?(Date) would return
> true.
$ ruby -rdate -e 'p DateTime.ancestors'
[DateTime, Date, Comparable, Object, Kernel]
> I changed the above to look like this:
>
>
> --------------------------------------------------------------------
> when Date
> @writer.tag("dateTime.iso8601", param.strftime("%Y%m%dT%H:%M:%S"))
> --------------------------------------------------------------------
>
> Which seems to work well for both DateTime's and Date's.
An extra when for DateTime above Date would work too...
--
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant
http://trackmap.robotcoop.com