General

Profile

baweaver (Brandon Weaver)

  • Login: baweaver
  • Email: [email protected]
  • Registered on: 11/10/2013
  • Last sign in: 11/08/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 10 11 21

Activity

11/14/2025

06:32 AM Ruby Revision dabc86a5 (git): [ruby/rubygems] Add pattern matching support to Gem::NameTuple
https://github.com/ruby/rubygems/commit/9b19e1f555 baweaver (Brandon Weaver)

11/12/2025

10:23 PM Ruby Revision 3efabc83 (git): [ruby/rubygems] Add pattern matching support to Gem::Platform
https://github.com/ruby/rubygems/commit/b59917447c baweaver (Brandon Weaver)
10:23 PM Ruby Revision 2247b0be (git): [ruby/rubygems] Add documentation for pattern matching methods
https://github.com/ruby/rubygems/commit/18f64c6b29 baweaver (Brandon Weaver)

11/09/2025

03:40 AM Ruby Feature #21675: Advent of Pattern Matching
### Net::HTTP
I think this provides good coverage so far, but might look into others later:
* [Add pattern matching support to Net::HTTPGenericRequest](https://github.com/ruby/net-http/pull/241)
* [Add pattern matching support to ...
baweaver (Brandon Weaver)

11/08/2025

11:28 PM Ruby Feature #21675 (Open): Advent of Pattern Matching
Ruby pattern matching is a very useful feature, but many of the core classes to not leverage it currently. Given this I would like to directly invest in opening PRs to add this functionality and see how many cases we can reasonably add a... baweaver (Brandon Weaver)

06/01/2025

09:56 PM Ruby Misc #21385: Namespace: Suggesting a rename
Some other ideas:
* Package - Some conflict with Packwerk, but then again would likely be used with it very quickly.
* Capsule - Similar to Package
* Realm - Bit Tolkien-esque, but no significant precedence in Ruby of this name bein...
baweaver (Brandon Weaver)

05/24/2025

03:37 AM Ruby Misc #21367: Remove link to ruby-doc.org from www.ruby-lang.org/en/documentation/
I had tried to purchase it earlier today, but it appears that it has already been bought and I cannot see who owns it as it has domain privacy on. Let us hope the buyer has good intentions. baweaver (Brandon Weaver)

05/06/2025

05:46 AM Ruby Feature #21311: Namespace on read (revised)
As a proof of concept this is a very valuable idea, and will give users a chance to experiment with it.
I wonder about the long-term ergonomics of this though, and if it may make sense to potentially introduce in Ruby 4 a new keyword ...
baweaver (Brandon Weaver)

04/20/2025

02:58 AM Ruby Feature #3388: regexp support for start_with? and end_with?
I have admittedly found this confusing recently when I had attempted to use `end_with?(/regex/)` in a book example.
Would it be acceptable to consider a non-ideal implementation of this feature, and then continue to optimize it in fut...
baweaver (Brandon Weaver)

11/09/2024

03:21 AM Ruby Feature #20770: A *new* pipe operator proposal
I'd written on the previous iteration of the pipeline operator a while ago here: https://dev.to/baweaver/ruby-2-7-the-pipeline-operator-1b2d
The ending example of what I thought, at the time, was an ideal state of it was:
```ruby
...
baweaver (Brandon Weaver)

Also available in: Atom