General

Profile

NoKarma (Arthur Schreiber)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 5 5

Activity

11/07/2013

07:19 PM Ruby Bug #9089: rb_fix2uint no longer raises a RangeError when given negative values
That's weird. If you go back to the previous change that was made in numeric.c, the fix2uint specs do pass:
Arthurs-iMac-2:rubyspec arthur$ ../mspec/bin/mspec optional/capi/fixnum_spec.rb
ruby 2.1.0dev (2013-03-31 trunk 40017) [x86_...
NoKarma (Arthur Schreiber)
07:52 AM Ruby Bug #9089: rb_fix2uint no longer raises a RangeError when given negative values
=begin
I guess I somehow incorrectly formatted the issue description, so here it is again with proper formatting.
---
Up until the change that was made in ((<URL:https://github.com/ruby/ruby/commit/92f59c6d7937b14bb5eefb052099ef0a...
NoKarma (Arthur Schreiber)
07:34 AM Ruby Bug #9089 (Rejected): rb_fix2uint no longer raises a RangeError when given negative values
Up until the change that was made in ((<URL:https://github.com/ruby/ruby/commit/92f59c6d7937b14bb5eefb052099ef0a3ef3bcd0>)), (({rb_fix2uint})) would raise a (({RangeError})) if it was given a negative value like (({-1})) (e.g. when using... NoKarma (Arthur Schreiber)

08/15/2008

09:57 PM Ruby Bug #447 (Closed): [PATCH] Net::HTTPHeaders iterator methods should return Enumerators
=begin
Net::HTTPHeader#canonical_each, Net::HTTPHeader#each_capitalized_name,
Net::HTTPHeader#each_capitalized, Net::HTTPHeader#each_header,
Net::HTTPHeader#each and Net::HTTPHeader#each_value should return Enumerable::Enumerator
...
NoKarma (Arthur Schreiber)
09:47 PM Ruby Bug #446 (Closed): [PATCH] [DOC] Net::HTTPHeaders#fetch does not return nil but raises IndexError
=begin
As Hash#fetch, Net::HTTPHeaders#fetch does raise an IndexError when neither a default
value nor a block was passed and the requested key can not be found.

The attached patch updates the documentation for Net::HTTPHeaders#...
NoKarma (Arthur Schreiber)
09:42 PM Ruby Bug #445 (Closed): [PATCH] Net::HTTPHeaders#fetch raises NoMethodError instead of returning default values
=begin
require "net/http"

class Example
include Net::HTTPHeader

attr_accessor :body

def initialize
initialize_http_header({})
end
end

@headers = Example.new

@headers.fetch("My-Header", "b...
NoKarma (Arthur Schreiber)

07/18/2008

06:33 PM Ruby Feature #255: CGI element generation methods should convert keys/values to Strings before escaping.
=begin
Ok, the old patch is bugged.
Converting keys to Strings using #to_s might result in duplicated element attributes, so this change has been removed.

New patch attached.
=end
NoKarma (Arthur Schreiber)

07/11/2008

04:45 AM Ruby Feature #255: CGI element generation methods should convert keys/values to Strings before escaping.
=begin
Just wanted to say that this report and the patch are by me.
=end
NoKarma (Arthur Schreiber)

06/11/2008

09:03 AM Ruby Bug #140: [PATCH] Set#== performance improvement
=begin
Attached the benchmark script.
=end
NoKarma (Arthur Schreiber)
09:01 AM Ruby Bug #140 (Closed): [PATCH] Set#== performance improvement
=begin
Without this patch:

Set#== with Set: 2.350000 1.100000 3.450000 ( 3.670881)
Set#== with SortedSet: 2.430000 1.100000 3.530000 ( 3.721129)
SortedSet#== with SortedSet: 2.430000 1.090000...
NoKarma (Arthur Schreiber)

Also available in: Atom