Project

General

Profile

Activity

From 10/09/2024 to 10/15/2024

10/15/2024

11:56 PM Bug #20799 (Closed): Bug in forwarding to struct methods
This program crashes:
```ruby
Thing = Struct.new(:value)
Obj = Thing.new("ok")
def delegate(...)
Obj.val...
tenderlovemaking (Aaron Patterson)
10:59 PM Revision ed993b5b (git): [ruby/rdoc] Generate meta tags based on page's content
(https://github.com/ruby/rdoc/pull/1091)
https://github.com/ruby/rdoc/commit/716bc16a7d
Vinicius Stock
07:44 PM Feature #16986: Anonymous Struct literal
That's pretty slow and inefficient as it creates a new Struct subclass for every Hash it's applied to.
The core idea...
Eregon (Benoit Daloze)
06:54 PM Feature #16986: Anonymous Struct literal
Adding this here because a new method, something like `as_struct`, feels more Rubyish to me than a new syntax.
I'v...
danh337 (Dan H)
06:34 PM Revision f45eb3dc (git): Use GC.respond_to?(:compact) in bootstraptest/test_yjit.rb
defined?(GC.compact) will always return true even when compaction is not
supported. We should use GC.respond_to?(:com...
peterzhu2118 (Peter Zhu)
06:33 PM Revision 644153bf (git): [DOC] Tweaks for Array#shuffle! (#11891)
burdettelamar (Burdette Lamar)
06:02 PM Feature #18242: Parser makes multiple assignment sad in confusing way
These `and` & `or` operators are good things. They are much more readable for one-liners in some cases.
@matz @nob...
danh337 (Dan H)
01:10 PM Revision 3da3cabf (git): Remove a puts in test_finalizer_thread_raise
peterzhu2118 (Peter Zhu)
11:48 AM Revision 48f953d6 (git): [ruby/json] Added license files on gemspec
https://github.com/ruby/json/commit/81092639e8 hsbt (Hiroshi SHIBATA)
11:47 AM Revision 914608be (git): The part of ext/json/generator/generator.c is replaced from CVTUTF code.
* https://github.com/ruby/json/pull/567
* https://github.com/ruby/json/commit/c96351f874
hsbt (Hiroshi SHIBATA)
11:35 AM Revision 7eed1df1 (git): [ruby/json] Update gemspec files
https://github.com/ruby/json/commit/0f9564104f byroot (Jean Boussier)
10:01 AM Feature #20770: A *new* pipe operator proposal
Reflecting on the opposing points raised, I believe the pipe operator could work differently, avoiding the issue of "... AlexandreMagro (Alexandre Magro)
05:52 AM Revision d58ec119 (git): [Bug #20797] Yet another test
nobu (Nobuyoshi Nakada)
03:39 AM Feature #15554: warn/error passing a block to a method which never use a block
In this ticket, `Warning[:strict_unused_block]` is accepted by Matz.
We should discuss `:strict` category in diffe...
ko1 (Koichi Sasada)
02:44 AM Revision 6c7209cd (git): Bump github/codeql-action from 3.26.12 to 3.26.13
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.12 to 3.26.13.
- [Release notes](http...
dependabot[bot]

10/14/2024

07:43 PM Revision 8240fe88 (git): [rubygems/rubygems] Prevent some test suite warnings about missing extensions
We fixed some issues recently where Bundler would try to activate a
pysch spec with missing extensions and crash. How...
deivid (David Rodríguez)
07:24 PM Feature #20792: String#with_encoding(encoding)
> I think the advantage right now is that it doesn't require a mutable string to check.
`with_encoding` would alwa...
Eregon (Benoit Daloze)
05:41 PM Feature #20792: String#with_encoding(encoding)
I think the advantage right now is that it doesn't require a mutable string to check. It seems like all of these othe... kddnewton (Kevin Newton)
05:51 PM Revision 48fdb9fa (git): [rubygems/rubygems] Fix `gem contents` for default gems
A default gem does not always live in the same place. For example,
Bundler may be installed to `site_dir` when RubyGe...
deivid (David Rodríguez)
05:00 PM Bug #20798 (Closed): Missing spaces/punctuation in SyntaxError message.
kddnewton (Kevin Newton)
05:00 PM Bug #20798: Missing spaces/punctuation in SyntaxError message.
kddnewton (Kevin Newton) wrote in #note-1:
> This is an issue with the syntax suggest gem. Could you open an issue h...
sanjioh (Fabio Sangiovanni)
04:55 PM Bug #20798: Missing spaces/punctuation in SyntaxError message.
This is an issue with the syntax suggest gem. Could you open an issue here please? https://github.com/ruby/syntax_sug... kddnewton (Kevin Newton)
04:49 PM Bug #20798 (Closed): Missing spaces/punctuation in SyntaxError message.
Hi all,
with the following simple snippet of Ruby code:
``` ruby
def x.y.z
end
```
the interpreter rais...
sanjioh (Fabio Sangiovanni)
02:51 PM Revision 57404e43 (git): [rubygems/rubygems] Fix duplicated specs when they have been previously activated
https://github.com/rubygems/rubygems/commit/b44bf2ac74 deivid (David Rodríguez)
09:54 AM Feature #20205: Enable `frozen_string_literal` by default
We just submitted a PR with @etienne: https://github.com/ruby/ruby/pull/11893
Now the default warning is: `warning...
byroot (Jean Boussier)
07:01 AM Revision 1001ea96 (git): Update bundled gems list as of 2024-10-13
git[bot]
06:55 AM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
This PR seems relevant, and fits in the (rather large) preview1/preview2 window: https://github.com/ruby/ruby/pull/11519 Earlopain (Earlopain _)
05:24 AM Bug #20797 (Closed): UTC offset seconds part is not checked
Applied in changeset commit:git|9611c619ac60e9aeb0341b0c8cf322a42707ce38.
----------
[Bug #20797] Check seconds in U...
nobu (Nobuyoshi Nakada)
04:38 AM Bug #20797 (Closed): UTC offset seconds part is not checked
While this raise ArgumentError:
```ruby
Time.new(2024, 12, 25, 0, 0, 0, "+09:99") # ... expected for utc_offset (...
nobu (Nobuyoshi Nakada)
04:55 AM Revision 9611c619 (git): [Bug #20797] Check seconds in UTC offset as well as minutes
nobu (Nobuyoshi Nakada)
04:17 AM Revision 0641951e (git): `2digits` macros
nobu (Nobuyoshi Nakada)

10/13/2024

10:59 PM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
The segmentation fault does not reproduce when running the test individually:
```console
$ bundle exec rake TESTO...
tikkss (Tsutomu Katsube)
09:44 PM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
Yes, that's correct. I'm using an Intel-based Mac running macOS. Here are the details of my environment:
* Archite...
tikkss (Tsutomu Katsube)
08:11 PM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
I'm not able to reproduce this, but I'm on an ARM mac. It looks like this is an Intel machine running macos? Is that... tenderlovemaking (Aaron Patterson)
12:22 AM Bug #20796 (Closed): Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
Steps to reproduce
---
```console
$ git clone [email protected]:rubyzip/rubyzip
$ cd rubyzip
$ bundle
$ bundle e...
tikkss (Tsutomu Katsube)
04:46 PM Bug #20795: Timeout method doesn't check for negative time values
Could you make a PR to https://github.com/ruby/timeout ? (or if not open an issue there?) Eregon (Benoit Daloze)
01:00 PM Revision cf8388f7 (git): [ruby/irb] Remove bignum check from save_history
(https://github.com/ruby/irb/pull/1018)
IRB need to accept bignum history size, but we don't want explicit bignum ch...
tompng (tomoya ishida)
12:22 PM Revision 6393d295 (git): [ruby/prism] Supress string_query function warning
https://github.com/ruby/prism/commit/0635814327 S_H_ (Shun Hiraoka)
04:55 AM Revision 98fce00c (git): [ruby/reline] Support continuous tab completion
(https://github.com/ruby/reline/pull/761)
Continuous tab completion is possible in GNU Readline.
If dig_perfect_matc...
tompng (tomoya ishida)
04:30 AM Revision c12c9546 (git): [ruby/irb] Fix rendering test broken by conflict
(https://github.com/ruby/irb/pull/1016)
https://github.com/ruby/irb/commit/a21b953a99
tompng (tomoya ishida)

10/12/2024

07:07 PM Bug #20795 (Closed): Timeout method doesn't check for negative time values
```ruby
require 'timeout'
# Case 1: Negative timeout with quick execution
Timeout.timeout(-5) do
puts "This s...
kanakchaudhari12 (kanak chaudhari)
02:36 PM Revision 81910a93 (git): [DOC] Tweaks for Array#shift (#11886)
burdettelamar (Burdette Lamar)
12:48 PM Revision afacb8ad (git): [DOC] Fix spelling
John Bampton
04:24 AM Revision 199b2980 (git): [ruby/irb] Make rendering test faster using updated yamatanooroti
(https://github.com/ruby/irb/pull/1001)
https://github.com/ruby/irb/commit/2c2956bc1f
tompng (tomoya ishida)

10/11/2024

09:08 PM Revision ad5641fd (git): Support `IO#timeout` for `rsock_connect`. (#11880)
Samuel Williams
09:00 PM Revision 2e6ddd96 (git): Don't enable GC.auto_compact in EnvUtil.under_gc_compact_stress when not supported
peterzhu2118 (Peter Zhu)
07:34 PM Revision 5f62522d (git): [ruby/prism] Prism::StringQuery
Introduce StringQuery to provide methods to access some metadata
about the Ruby lexer.
https://github.com/ruby/prism...
kddnewton (Kevin Newton)
07:29 PM Revision 8aeb60ae (git): Rename supports_auto_compact? to supports_compact?
It's testing whether GC compaction is supported in general. peterzhu2118 (Peter Zhu)
07:29 PM Revision 6a88e9d4 (git): Used respond_to? check for compaction in test_gc_compact.rb
peterzhu2118 (Peter Zhu)
04:34 PM Revision 95abf679 (git): [ruby/irb] Document infinite history
(https://github.com/ruby/irb/pull/1012)
As introduced in 824473e8
https://github.com/ruby/irb/commit/15e3f50c3f
Gert Goet
04:34 PM Revision eccfb6e6 (git): [ruby/irb] History refactors (https://github.com/ruby/irb/pull/1013)
* Extract logic save_history in separate helper
* Extract logic history_file in helper
* Allow for readonly history...
Gert Goet
03:35 PM Revision 2dab5993 (git): Remove defined check for GC.config in test_gc.rb
GC.config is always defined. peterzhu2118 (Peter Zhu)
03:30 PM Revision 77c7d880 (git): [DOC] Tweaks for Array#rotate! (#11875)
burdettelamar (Burdette Lamar)
03:25 PM Revision 628da153 (git): [DOC] Tweaks for Array#sample (#11876)
burdettelamar (Burdette Lamar)
03:16 PM Revision 5e799cc1 (git): Fix spelling
John Bampton
03:13 PM Revision c0447775 (git): [DOC] Tweaks for Array#rotate
burdettelamar (Burdette Lamar)
03:12 PM Revision c5194767 (git): [DOC] Tweaks for Array#repeated_permutation (#11873)
burdettelamar (Burdette Lamar)
03:04 PM Feature #20792: String#with_encoding(encoding)
> as a short-hand for Encoding.find(enc).valid_string?(str).
I suspect most of the time you'd check a specific enc...
byroot (Jean Boussier)
08:05 AM Feature #20792: String#with_encoding(encoding)
nirvdrum (Kevin Menard) wrote in #note-6:
> I'm partial to this one. Alternatively, it could be nice to have the inv...
nobu (Nobuyoshi Nakada)
02:24 PM Revision a9fb0a20 (git): YJIT: Improve build instructions for non-hackers (#11878)
alanwu (Alan Wu)
02:22 PM Revision 11e7ab79 (git): Remove 1 allocation in Enumerable#each_with_index (#11868)
* Remove 1 allocation in Enumerable#each_with_index
Previously, each call to Enumerable#each_with_index allocates 2
...
alanwu (Alan Wu)
01:02 PM Revision 372bb990 (git): Remove unused PRELOADENV macro in ruby-runner.h
peterzhu2118 (Peter Zhu)
01:02 PM Revision df2fb880 (git): Remove unused SOEXT macro in ruby-runner.h
peterzhu2118 (Peter Zhu)
12:56 PM Revision d641b7d1 (git): Improve RUBY_GC_LIBRARY
Instead of passing the full GC SO file name to RUBY_GC_LIBRARY, we now
only need to pass the GC name.
For example, b...
peterzhu2118 (Peter Zhu)
12:49 PM Feature #18033: Time.new to parse a string
matz (Yukihiro Matsumoto) wrote in #note-27:
> Currently, `Time.new` only takes numeric arguments, so adding extra a...
Eregon (Benoit Daloze)
10:12 AM Feature #20205: Enable `frozen_string_literal` by default
> The problem is that the warning does not point where you are doing StringIO.new("")
We can improve that by displ...
byroot (Jean Boussier)
05:10 AM Feature #20205: Enable `frozen_string_literal` by default
byroot (Jean Boussier) wrote in #note-59:
> Yes, for code that have a `String#frozen?` conditional, the source of th...
mame (Yusuke Endoh)
09:59 AM Revision 047a7750 (git): [ruby/time] [DOC] Escape the word "Date" that does not mean Date class
https://github.com/ruby/time/commit/933eccf8d9 nobu (Nobuyoshi Nakada)
09:42 AM Revision aad4bfd7 (git): [rubygems/rubygems] Fix `gem install` on NFS shares
NFS shares seem to support flock these days, but they need read-write
permissions.
https://github.com/rubygems/rubyg...
deivid (David Rodríguez)
09:40 AM Revision 01abc2f7 (git): [rubygems/rubygems] Check that the binstub was actually reset
https://github.com/rubygems/rubygems/commit/d46fca6126 deivid (David Rodríguez)
07:52 AM Revision b4eb7e22 (git): Refine assertion failure message
nobu (Nobuyoshi Nakada)
07:37 AM Revision 2c3d26cf (git): Fix an implicit conversion that loses integer precision
Both `rb_ensure` and `udp_bind_internal` return `VALUE`. nobu (Nobuyoshi Nakada)
05:36 AM Revision c43be94f (git): Update `rsock_connect` to take `VALUE io` argument. (#11847)
Samuel Williams

10/10/2024

08:18 PM Misc #20781: DevMeeting-2024-11-07
* [Feature #20794] Expose information about the currently running GC Module (@eightbitraptor)
* This adds a dynami...
eightbitraptor (Matt V-H)
08:12 PM Feature #20794 (Closed): Expose information about the currently running GC module
## Summary
[[Github PR #11872]](https://github.com/ruby/ruby/pull/11872)
Currently it's not possible for the us...
eightbitraptor (Matt V-H)
08:03 PM Revision 09100508 (git): [DOC] Tweaks for Array#reverse_each (#11855)
burdettelamar (Burdette Lamar)
07:46 PM Revision 1ad990a3 (git): [rubygems/rubygems] Only pristine executables for default gems
https://github.com/rubygems/rubygems/commit/1cfc1d626c deivid (David Rodríguez)
06:34 PM Revision 3d8fe462 (git): Move return value of rb_gc_impl_config_set to gc.c
peterzhu2118 (Peter Zhu)
06:31 PM Revision ebbb0930 (git): [ruby/prism] Short-circuit if possible for start line and unused warning
https://github.com/ruby/prism/commit/2745c81d31 kddnewton (Kevin Newton)
06:02 PM Revision 7a198af7 (git): [ruby/prism] Prism::CodeUnitsCache
Calculating code unit offsets for a source can be very expensive,
especially when the source is large. This commit in...
kddnewton (Kevin Newton)
05:57 PM Revision b77ff342 (git): [rubygems/rubygems] Revert "Fix `bundle.bat` re-execution"
This reverts commit https://github.com/rubygems/rubygems/commit/e04e00f7bb5b.
https://github.com/rubygems/rubygems/c...
deivid (David Rodríguez)
04:54 PM Revision caf0d205 (git): [ruby/time] [DOC] nodoc VERSION
This file is parsed as a part of Ruby documentation, and this constant
appears in the built-in Time class unexpectedl...
nobu (Nobuyoshi Nakada)
04:54 PM Revision e6b9348e (git): [ruby/time] [DOC] Escape the word "Time" that does not mean Time class
https://github.com/ruby/time/commit/8572a306bb nobu (Nobuyoshi Nakada)
04:54 PM Revision db352a51 (git): [ruby/time] [DOC] RDoc does not use backticks
https://github.com/ruby/time/commit/aefa245a20 nobu (Nobuyoshi Nakada)
04:32 PM Revision 5f3e9f18 (git): [DOC] Mention that Enumerable#each_with_index calls self.each
alanwu (Alan Wu)
04:32 PM Revision 25c4629e (git): Remove duplicate struct declaration
alanwu (Alan Wu)
04:24 PM Revision ae6bd3b4 (git): [DOC] Tweak "Timezone Objects"
- Make method descriptions plain pragraphs in each method.
- Make "Argument" and "Returns" note-lists.
nobu (Nobuyoshi Nakada)
04:24 PM Revision e8a7d169 (git): [DOC] Tweak "Time Internal Representation"
- Remove `T_BIGNUM` word
- Mark up function names and type names as code
- Mark up struct member names as variables
nobu (Nobuyoshi Nakada)
04:24 PM Revision 605698c7 (git): [DOC] Link labels cannot contain attributes for now
nobu (Nobuyoshi Nakada)
04:09 PM Revision a778562f (git): [ruby/rdoc] Make methods and attributes linkable
(https://github.com/ruby/rdoc/pull/1189)
* Use the same color for both class/module and method highlight
* Make met...
st0012 (Stan Lo)
03:44 PM Revision 9df86a86 (git): Fix typo in test_gc.rb [ci skip]
peterzhu2118 (Peter Zhu)
03:15 PM Revision 71a59543 (git): [DOC] Tweaks for Array#repeated_combination (#11839)
burdettelamar (Burdette Lamar)
03:13 PM Bug #20788 (Closed): Prism issues unused variable warnings for negative line numbers
Applied in changeset commit:git|b5ecb03ae40e01ffe57b4dc409f8c96b15e32b12.
----------
[ruby/prism] Do not warn for un...
kddnewton (Kevin Newton)
03:13 PM Revision b5ecb03a (git): [ruby/prism] Do not warn for unused variables on negative lines
Fixes [Bug #20788]
https://github.com/ruby/prism/commit/27e91f21af
kddnewton (Kevin Newton)
02:54 PM Revision d12c8cbf (git): [rubygems/rubygems] Fix `gem pristine etc` resetting gem twice sometimes
If a default version and a regular version of etc are present at the
same time, RubyGems will end up duplicating work...
deivid (David Rodríguez)
02:54 PM Revision 36e9a6bb (git): [rubygems/rubygems] Improve some indentations
https://github.com/rubygems/rubygems/commit/30f228a97f deivid (David Rodríguez)
02:52 PM Revision cd611bec (git): [ruby/fiddle] Cast via `VALUE` function pointer between object
pointer
(https://github.com/ruby/fiddle/pull/150)
With gcc 13 and -pedantic:
```
../../../src/ext/fiddle/function.c...
nobu (Nobuyoshi Nakada)
02:51 PM Revision 3fdf0e7e (git): [rubygems/rubygems] Fix specs with missing extensions getting activated
https://github.com/rubygems/rubygems/commit/c80998a22a deivid (David Rodríguez)
02:51 PM Revision f63873e7 (git): [rubygems/rubygems] Remove more compatibility code with old RubyGems
https://github.com/rubygems/rubygems/commit/74e8eff779 deivid (David Rodríguez)
02:51 PM Revision f8e3afd2 (git): [rubygems/rubygems] Remove code that's not needed for the spec to pass
https://github.com/rubygems/rubygems/commit/ce9f6285c4 deivid (David Rodríguez)
02:51 PM Revision 2f0b1874 (git): [rubygems/rubygems] Fix warnings about old C style
https://github.com/rubygems/rubygems/commit/f40610b699 deivid (David Rodríguez)
02:51 PM Revision a1492ffd (git): [rubygems/rubygems] Run specs that now pass on JRuby
https://github.com/rubygems/rubygems/commit/2af077ee38 deivid (David Rodríguez)
02:45 PM Revision 82c76f18 (git): [ruby/prism] Reject invalid splat as last statement of parentheses
https://github.com/ruby/prism/commit/3a0b1c6110 kddnewton (Kevin Newton)
02:45 PM Revision 146ff661 (git): [ruby/digest] Cast via `uintptr_t` function pointer between object pointer
https://github.com/ruby/digest/commit/661d4643ef nobu (Nobuyoshi Nakada)
01:43 PM Revision 4f9836be (git): [ruby/prism] Update rescue node doc
Its `exception` field was renamed to `reference` in #1204 but the
documentation was not updated.
https://github.com/...
Stan Lo
01:41 PM Revision 2bb7cbff (git): Directly call rb_gc_impl_writebarrier_unprotect
peterzhu2118 (Peter Zhu)
01:41 PM Revision fc40bd7c (git): Directly call rb_gc_impl_copy_finalizer
peterzhu2118 (Peter Zhu)
12:17 PM Revision 243d48c0 (git): [DOC] Generate HTML doc when importing from ruby/rdoc
nobu (Nobuyoshi Nakada)
11:21 AM Feature #20793: Allow Multiple Arguments for the .is_a? Method
Eregon (Benoit Daloze) wrote in #note-2:
> I think pattern matching should be used here instead
Very nice, thank yo...
artemb (Artem Borodkin)
10:48 AM Feature #20793: Allow Multiple Arguments for the .is_a? Method
I think pattern matching should be used here instead of making `is_a?` more complicated:
```
irb(main):001:0> name = ...
Eregon (Benoit Daloze)
09:55 AM Feature #20793: Allow Multiple Arguments for the .is_a? Method
Also `kind_of?` method? nobu (Nobuyoshi Nakada)
08:50 AM Feature #20793 (Rejected): Allow Multiple Arguments for the .is_a? Method
I propose allowing multiple arguments to be passed to the .is_a? Method imply "OR" semantics:
``` ruby
name.is_...
artemb (Artem Borodkin)
09:45 AM Revision c5f0fe12 (git): [ruby/rdoc] Improve method source toggling
(https://github.com/ruby/rdoc/pull/1176)
* Move method source block to the top
Currently, if a method description i...
st0012 (Stan Lo)
06:15 AM Revision 2cf4aa08 (git): [ruby/fiddle] Only print Fiddle::VERSION when flag is true
(https://github.com/ruby/fiddle/pull/151)
The test of current HEAD revision occurred `unknown command` on
`ruby/ruby...
hsbt (Hiroshi SHIBATA)
06:15 AM Revision 43d14d50 (git): Revert "Commented out to print fiddle version"
This reverts commit a1db8dbe166d82d7238b3d375344799e057dab2b. hsbt (Hiroshi SHIBATA)
05:44 AM Revision 15bb5717 (git): test/resolv/test_dns.rb: Keep `UDPSocket`s until a free port is found
Follow up to 589f1978d8c368b8eccf34453463ad46a58d36da
I suspect `UDPSocket.new` grabs the same port number because t...
mame (Yusuke Endoh)
04:42 AM Bug #20631 (Assigned): Build failure with Xcode 16 beta and macOS 15 (Sequoia) Beta
hsbt (Hiroshi SHIBATA)
04:41 AM Bug #20631 (Closed): Build failure with Xcode 16 beta and macOS 15 (Sequoia) Beta
Applied in changeset commit:git|c77f0b91342935f661c6e5ba0f6f5c19427da174.
----------
[Bug #20631] Workaround for mac...
katei (Yuta Saito)
04:40 AM Revision 63f94e12 (git): Revert "TestProcess#test_daemon_noclose is only working with macOS 15.1 beta, we should skip with macOS 15.0"
This reverts commit 3830bca5edd6964131971866c80107c89fac5362. katei (Yuta Saito)
04:40 AM Revision c77f0b91 (git): [Bug #20631] Workaround for macOS 15.0 fork crash
macOS 15.0 24A5331b seems to have a weird issue that
`CFStringCreateWithBytesNoCopy` does not return `NSTaggedPointer...
katei (Yuta Saito)
04:23 AM Revision e00b746b (git): Suppress warnings with `RUBYPOT=-w`
```
-:3: warning: assigned but unused variable - var
-:3: warning: assigned but unused variable - var
-:3: warning: a...
nobu (Nobuyoshi Nakada)
04:20 AM Revision a1db8dbe (git): Commented out to print fiddle version
hsbt (Hiroshi SHIBATA)
03:53 AM Revision 5792bd71 (git): Emit warning for other method redefinition types
This commit ensures warnings about `object_id` and `__send__` method
redefinitions are emitted for other method types...
thomasmarshall (Thomas Marshall)
03:44 AM Feature #20792: String#with_encoding(encoding)
Eregon (Benoit Daloze) wrote in #note-1:
> I have wanted this feature too, how about adding an optional argument to ...
nirvdrum (Kevin Menard)
03:23 AM Revision a985695b (git): Make test_hash_symbol_colon_key pass on LANG=en_US
It failed on a platform with LANG=en_US
```
1) Failure:
PPTestModule::PPSingleLineTest#test_hash_symbol_colon_key [...
mame (Yusuke Endoh)
02:30 AM Revision 51fdd2c6 (git): Move directives outside `rb_ary_new3` call
This function may be a macro for optimization, which will be expanded
to `rb_ary_new_from_values`.
```
ext/socket/an...
nobu (Nobuyoshi Nakada)
02:29 AM Revision 6f673589 (git): Cast via `uintptr_t` function pointer between object pointer
nobu (Nobuyoshi Nakada)
01:54 AM Revision 133bacc0 (git): Rename win32-sspi to net-http-sspi
hsbt (Hiroshi SHIBATA)
01:06 AM Revision f1a94a49 (git): [ruby/fiddle] test jruby: fix a typo
https://github.com/ruby/fiddle/commit/d76c87b804 Sutou Kouhei
01:06 AM Revision da3c4087 (git): [ruby/fiddle] test jruby: fix a wrong message
https://github.com/ruby/fiddle/commit/00b3521f5e Sutou Kouhei
01:06 AM Revision d7fc90d2 (git): [ruby/fiddle] test jruby: fix a typo
https://github.com/ruby/fiddle/commit/5bc55e0533 Sutou Kouhei
01:05 AM Revision a47f153d (git): Import JRuby implementation (#147)
Fix GH-104
lib/fiddle/jruby.rb is based on
https://github.com/jruby/jruby/blob/master/lib/ruby/stdlib/fiddle/jruby....
Sutou Kouhei
01:03 AM Revision a392ee14 (git): Update vendored net-http
Signed-off-by: Samuel Giddins <[email protected]> segiddins (Samuel Giddins)

10/09/2024

10:34 PM Feature #20792: String#with_encoding(encoding)
Right, that would also solve this specific usage.
However I think `String#with_encoding` is a good general method to...
Eregon (Benoit Daloze)
07:07 PM Feature #20792: String#with_encoding(encoding)
Eregon (Benoit Daloze) wrote in #note-3:
> I think I discussed this with @byroot a couple times as well, what about ...
austin (Austin Ziegler)
06:53 PM Feature #20792: String#with_encoding(encoding)
I think I discussed this with @byroot a couple times as well, what about `String#with_encoding(Encoding)`, which is l... Eregon (Benoit Daloze)
06:23 PM Feature #20792: String#with_encoding(encoding)
In terms of performance though, both methods need 2 code range scans if the String is then `force_encoding(Encoding::... Eregon (Benoit Daloze)
06:20 PM Feature #20792: String#with_encoding(encoding)
I have wanted this feature too, how about adding an optional argument to `String#valid_encoding?`?
Like `binary_strin...
Eregon (Benoit Daloze)
03:44 PM Feature #20792 (Rejected): String#with_encoding(encoding)
I would like to add a method to String called `forcible_encoding?(encoding)`. This would return true or false dependi... kddnewton (Kevin Newton)
09:31 PM Revision a838f980 (git): `me->defined_class` should be T_CLASS/T_ICLASS
`me->defined_class` will be used for ancestor searching
so that it should be T_CLASS or T_ICLASS.
This patch will re...
ko1 (Koichi Sasada)
08:57 PM Revision d0bff661 (git): Remove unused timeout in parsey CI.
This is unset and has no fallback. it's causing an error in the CI
output
Error: An error occurred when attempting t...
eightbitraptor (Matt V-H)
06:05 PM Revision f7fdf6cc (git): [DOC] Tweaks for Array#rindex
burdettelamar (Burdette Lamar)
06:02 PM Revision 1962be26 (git): [DOC] Tweaks for Array#reverse!
burdettelamar (Burdette Lamar)
05:54 PM Revision 377d0228 (git): [DOC] Tweaks for Array#reverse
burdettelamar (Burdette Lamar)
04:36 PM Revision 6dac070a (git): Add `--with-parser` configure option
nobu (Nobuyoshi Nakada)
03:42 PM Revision e39e5825 (git): [ruby/prism] Attempt to assume binary is UTF-8
https://github.com/ruby/prism/commit/343197e4ff kddnewton (Kevin Newton)
03:31 PM Revision 2e2a5e4f (git): [rubygems/rubygems] Remove unused variable
https://github.com/rubygems/rubygems/commit/b31f33d55c deivid (David Rodríguez)
02:58 PM Bug #20789 (Closed): `->a=1...{}` is syntax error in 3.4.0dev parse.y
Applied in changeset commit:git|1c762d95664796275460025b37379753c0ac8e36.
----------
[Bug #20789] Fix an invalid syn...
ydah (Yudai Takada)
01:59 PM Bug #20789: `->a=1...{}` is syntax error in 3.4.0dev parse.y
https://github.com/ruby/ruby/pull/11850 ydah (Yudai Takada)
03:24 AM Bug #20789 (Closed): `->a=1...{}` is syntax error in 3.4.0dev parse.y
`->a=1...{}` is syntax error since https://github.com/ruby/ruby/pull/11751
tompng (tomoya ishida)
02:58 PM Revision 1c762d95 (git): [Bug #20789] Fix an invalid syntax error when `->a=1...{}`
https://bugs.ruby-lang.org/issues/20789 ydah (Yudai Takada)
02:07 PM Revision e50754fc (git): [ruby/prism] Avoid breaking code units offset on binary encoding
https://github.com/ruby/prism/commit/25a4cf6794
Co-authored-by: Kevin Newton <[email protected]>
Vinicius Stock
12:54 PM Feature #20205: Enable `frozen_string_literal` by default
> `--debug-frozen-string-literal` does not work well for `StringIO.new("")` case.
Yes, for code that have a `Strin...
byroot (Jean Boussier)
05:37 AM Feature #20205: Enable `frozen_string_literal` by default
`--debug-frozen-string-literal` does not work well for `StringIO.new("")` case.
```
$ ruby --enable-frozen-string...
mame (Yusuke Endoh)
04:12 AM Feature #20205: Enable `frozen_string_literal` by default
I did quick investigation on the warnings that @hsbt said.
> ```
> ruby-dev/lib/ruby/3.4.0+0/open-uri.rb:455: war...
mame (Yusuke Endoh)
03:18 AM Feature #20205 (Open): Enable `frozen_string_literal` by default
I and @yhonda try to fix this warnings at `httpclient`.
https://github.com/nahi/httpclient/pull/462
I surprised...
hsbt (Hiroshi SHIBATA)
12:35 PM Revision 615a0872 (git): [ruby/json] Restore the simple standlone benchmark for iterating
https://github.com/ruby/json/commit/7b68800991 byroot (Jean Boussier)
12:35 PM Bug #20791: RbCONFIG::CONFIG does not have a LIBRUBY_RELATIVE key on mswin
Thank you @nobu! deivid (David Rodríguez)
11:58 AM Bug #20791 (Closed): RbCONFIG::CONFIG does not have a LIBRUBY_RELATIVE key on mswin
Applied in changeset commit:git|3aa044f10c1db1608974ba4bc282c7dd1c9db3f5.
----------
[Bug #20791] Set LIBRUBY_RELATI...
nobu (Nobuyoshi Nakada)
10:22 AM Bug #20791 (Closed): RbCONFIG::CONFIG does not have a LIBRUBY_RELATIVE key on mswin
I noticed that mswin Ruby does not provide `RbCONFIG::CONFIG["LIBRUBY_RELATIVE"]`. My understanding is that all Windo... deivid (David Rodríguez)
12:18 PM Revision d10e09b7 (git): [rubygems/rubygems] Add `Gem::Specification#gem_dir` back
If old Bundler versions that unconditionally try to remove this method
are run with RubyGems versions _without_ this ...
deivid (David Rodríguez)
11:45 AM Revision 3aa044f1 (git): [Bug #20791] Set LIBRUBY_RELATIVE on mswin
nobu (Nobuyoshi Nakada)
10:48 AM Revision 438ef21a (git): Update `Socket#recvfrom` to use `rb_io_blocking_region`.
Samuel Williams
10:48 AM Revision 04ddb7e8 (git): Update `Socket#accept` to use `rb_io_blocking_region`.
Samuel Williams
10:48 AM Revision 3031bf6b (git): Update `UDPSocket#send` to use `rb_io_blocking_region`.
Samuel Williams
10:09 AM Revision 67d6e89b (git): Added byroot to JSON maintainer
[Misc #20746] hsbt (Hiroshi SHIBATA)
10:07 AM Revision 48410af5 (git): [rubygems/rubygems] Fix a `gem install` crash during "done installing" hooks
It would happen when the gem is already installed to multiple GEM_PATHS.
RubyGems was removing duplicate specs withou...
deivid (David Rodríguez)
08:55 AM Revision 5eee2698 (git): Make mkconfig.rb string literals frozen
nobu (Nobuyoshi Nakada)
08:05 AM Revision 823f29a3 (git): Update `IPSocket` to use `rb_io_descriptor` and `rb_io_mode`.
Samuel Williams
08:05 AM Revision d78bf437 (git): Update `UNIXSocket` to use `rb_io_blocking_region`.
Samuel Williams
08:05 AM Revision dee15211 (git): Update `BasicSocket` to use `rb_io_blocking_region`.
Samuel Williams
06:21 AM Revision 9f812522 (git): [rubygems/rubygems] Allow `gem pristine` to reset default gems too
https://github.com/rubygems/rubygems/commit/c9e665eb8a deivid (David Rodríguez)
05:54 AM Revision 73834f11 (git): [rubygems/rubygems] Fix `Gem::Specification#gem_dir` losing custom source for some reason
https://github.com/rubygems/rubygems/commit/f8f589b1b8 deivid (David Rodríguez)
05:26 AM Revision 83456d1e (git): [rubygems/rubygems] Fix plugin command loading
The `LoadError` needs to be ignored because command may have been
defined and registered from a rubygems_plugin.rb fi...
deivid (David Rodríguez)
04:56 AM Revision fc08f726 (git): Update default gems list at 4eda289a13c61347c28cbb327d07e5 [ci skip]
git[bot]
04:55 AM Revision 4eda289a (git): Sync from ruby/win32-registry
hsbt (Hiroshi SHIBATA)
04:55 AM Revision fc2efc2b (git): Added win32-registry
hsbt (Hiroshi SHIBATA)
03:56 AM Revision 3e98abc4 (git): Update bundled gems list at bd85e88d3190556fc59ad9665b8e6f [ci skip]
git[bot]
03:55 AM Revision bd85e88d (git): Support `The following bundled gems are added.`
znz (Kazuhiro NISHIYAMA)
03:53 AM Bug #20790 (Open): Syntax acceptance of `*x = p rescue p 1` is different between parse.y and prism
~~~ruby
*x = p rescue p 1 # syntax error in prism
*x = p 1 rescue p 1 # both syntax ok
x = p rescue p 1 # both syn...
tompng (tomoya ishida)
03:27 AM Revision ed11a244 (git): Bump actions/cache in /.github/actions/setup/directories
Bumps [actions/cache](https://github.com/actions/cache) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/act...
dependabot[bot]
03:05 AM Revision 75c3c0b0 (git): Update NEWS entry for repl_type_completor
hsbt (Hiroshi SHIBATA)
02:28 AM Revision 589f1978 (git): mingw environment can't bind free port with 10 times. We should omit it instead of test failure.
```
1) Error:
TestResolvDNS#test_multiple_servers_with_timeout_and_truncated_tcp_fallback:
Errno::EACCES: Permis...
hsbt (Hiroshi SHIBATA)
01:28 AM Revision 09d5f3c1 (git): [DOC] Generate document HTMLs only when document commit/PR
nobu (Nobuyoshi Nakada)
01:05 AM Revision 5840b436 (git): [DOC] Use the recent RDoc always to generate the doc of ruby itself
nobu (Nobuyoshi Nakada)
 

Also available in: Atom