General

Profile

sambostock (Sam Bostock)

  • Login: sambostock
  • Registered on: 07/04/2020
  • Last sign in: 06/11/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

02/05/2023

01:37 AM Ruby master Revision 45a2f1c5 (git): [rubygems/rubygems] Replace "prior to" with "immediately after"
Currently, the instructions and placeholder contradict each other.
The commit that introduced this placeholder (42bc...
sambostock (Sam Bostock)

04/29/2022

07:07 PM Ruby master Feature #18611: Promote best practice for combining multiple values into a hash code
I found some _interesting_ implementations while working on the Rubocop Cop, including some in Ruby itself. For examp... sambostock (Sam Bostock)

08/30/2021

07:50 PM Ruby master Feature #16817: attr_predicate or attr_query or attr_something for ? methods
> `attr_predicate :cat` would define a method named `:cat?` that returned the value for ivar `@cat`.
I think it wo...
sambostock (Sam Bostock)

07/07/2020

08:56 PM Ruby master Bug #17017: Range#max & Range#minmax incorrectly use Float end as max
Add documentation change as an option sambostock (Sam Bostock)
08:43 PM Ruby master Bug #17017: Range#max & Range#minmax incorrectly use Float end as max
Add full array example sambostock (Sam Bostock)
08:41 PM Ruby master Bug #17017: Range#max & Range#minmax incorrectly use Float end as max
Add .to_a examples to clarify unexpected behaviour. sambostock (Sam Bostock)
08:16 PM Ruby master Bug #17017 (Closed): Range#max & Range#minmax incorrectly use Float end as max
While continuing to add edge cases to [`Range#minmax` specs](https://github.com/ruby/spec/pull/777), I discovered the... sambostock (Sam Bostock)

07/05/2020

04:42 PM Ruby master Bug #17014 (Closed): Range#minmax returns incorrect results on non-numeric exclusive ranges
The implementation of `Range#minmax` added in [d5c60214c45](https://github.com/ruby/ruby/commit/d5c60214c45bafc1cf2a5... sambostock (Sam Bostock)

07/04/2020

05:02 PM Ruby master Revision bf1a6771 (git): Fix non-numeric exclusive Range#minmax bug
The implementation of Range#minmax added in d5c60214c45 causes the
following incorrect behaviour:
('a'...'c').minm...
sambostock (Sam Bostock)

Also available in: Atom