General

Profile

mmb (Matthew Boedicker)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

11/18/2016

04:42 AM Ruby Bug #12951 (Third Party's Issue): JSON.parse allows invalid string escapes
According to jq and jsonlint, the following JSON is invalid:
~~~
{"x":"\$"}
~~~
but JSON.parse will parse it without complaint:
~~~
irb(main):002:0> JSON.parse('{"x":"\$"}')
=> {"x"=>"$"}
~~~
mmb (Matthew Boedicker)

07/17/2013

02:10 PM Ruby Feature #8649 (Closed): Make ENV.fetch KeyError give key name in error message.
The KeyError raised by ENV.fetch('test') when the 'test' key does not exist does not give the name of the key in the error message.
This patch makes it give a better error message and behave like Hash.fetch.
mmb (Matthew Boedicker)

12/06/2009

10:08 AM Ruby Bug #2446 (Closed): documentation fix for strftime %l
=begin
%l should be 1..12 instead of 0..12
=end
mmb (Matthew Boedicker)

Also available in: Atom