Activity
From 08/12/2019 to 08/18/2019
08/18/2019
-
08:09 PM Bug #16110 (Closed): Doesn't detect deadlock on Ruby 2.4 and 2.5 on Windows
- The following code is detected as a deadlock, except in Ruby 2.4 and 2.5 on Windows:
``` sh
ruby -r thread -ve 'Thread.new { Queue.new.shift }.join'
```
You can see it run in this code: https://github.com/JoshCheek/childprocess_e... -
06:40 PM Revision c100e385 (git): Workaround errors on multi-line commit message
- by using toJson with fields.
-
06:14 PM Revision e139d277 (git): Make Slack notification available
- for macOS / Windows as well.
Docker-based GitHub Action does not work on these OSes. - 04:50 PM Revision aa5fbb5a (git): * 2019-08-19 [ci skip]
-
04:49 PM Revision 2f6c8ed2 (git): Implement Slack notification for Actions
-
02:32 PM Revision e4c43207 (git): Revert "Try notifying Slack from Actions"
- This reverts commit d8807e8b1a9d09ee1543e18618b4ef7e8203c616.
We'd need more features. Reverting to customize this later. -
02:19 PM Revision d8807e8b (git): Try notifying Slack from Actions
- https://github.com/8398a7/action-slack
https://github.com/marketplace/actions/action-slack -
11:10 AM Misc #16109: Normalize legacy tag names
- Yeah, I personally like vX.Y.Z rather than vX_Y_Z too, especially because it's closer to what `rake release` does by default.
However, newer tags are also tagged as vX_Y_Z, and renaming the new tags would be disruptive unlike renaming... -
10:43 AM Misc #16109: Normalize legacy tag names
- Sorry for the off-track comment from me - quite an epic task. :)
It would be kind of cool if we'd have not only a "time travel" history of all
of ruby in general, including the very old ruby releases by matz (like in the
1990s or so... -
09:18 AM Misc #16109 (Closed): Normalize legacy tag names
- There are tags with inconsistent names. To browse the history more easily, I propose the following normalization.
**Before and after the renames, I'm going to record `git ls-remote` in this ticket. By doing so, we'd be able to revert t... -
10:10 AM Revision 829b800c (git): Reoder Travis matrix.include
- to clarify what's running for every commit.
-
09:08 AM Revision 51edcbad (git): Use master branch instead of trunk.
-
09:08 AM Revision 91321539 (git): Ignore tags on default gems from ruby core repository.
-
07:22 AM Bug #16105: heap-use-after-free in String#sub!
- ruby_2_6 r67747 merged revision(s) d5c33364e3c0efb15e11df417c925afee2cdb9c9.
-
07:22 AM Revision a2da0c2a (git): merge revision(s) d5c33364e3c0efb15e11df417c925afee2cdb9c9: [Backport #16105]
- Fixed heap-use-after-free
* string.c (rb_str_sub_bang): retrieves a pointer to the
replacement string buffer just before using it, for the case of
replacement with the receiver string itself. [Bug #16105]
g... -
06:55 AM Feature #15171 (Closed): [patch] Use OpenSSL 1.1.1 for Appveyor MinGW build
- Closing https://github.com/ruby/ruby/pull/1998#issuecomment-437700528
-
06:54 AM Bug #15235 (Closed): [patch] appveyor.yml - remove MinGW dll's from mswin testing PATH
- Closing as requested at https://github.com/ruby/ruby/pull/1998#issuecomment-437700528
-
06:53 AM Bug #16099: UTF-16LE BOM followed by '\0' is missed
- ruby_2_6 r67746 merged revision(s) 5b1bf8dd2d08ae7371ecf025967376bb794ed651.
-
06:53 AM Revision 1ea42115 (git): merge revision(s) 5b1bf8dd2d08ae7371ecf025967376bb794ed651: [Backport #16099]
- UTF LE is fixed at least the first 2 bytes
* io.c (io_strip_bom): if the first 2 bytes are 0xFF0xFE, it
should be a little-endian UTF, 16 or 32. [Bug #16099]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_... -
06:50 AM Revision ad0ea708 (git): Drop before_test for mswin too
- for consistency. In the pull request, `before_test` was dropped only for
msys2 to fix msys2-only failure. But there's no need to keep it
inconsistent now. -
06:47 AM Revision cba8166c (git): Appveyor - vc120 use OpenSSL 1.0.2, vc140 use 1.1.1 (#1998)
- * appveyor.yml - OpenSSL vc120 -> 1.0.2, vc140 -> 1.1.1
* Try just using build_script -
06:39 AM Revision 6b42b0c6 (git): Fix document of `GC.start` (#2382)
-
06:10 AM Bug #14834: rb_profile_frames SEGV when PC adjusted on IFUNC
- ruby_2_6 r67745 merged revision(s) 5d33f787169bcc3594d2264726695d58c4a06899,8b162ce9d1003e4e469d8f48cb9a2076fd45b47c.
-
06:10 AM Revision e1d3b318 (git): merge revision(s) 5d33f787169bcc3594d2264726695d58c4a06899,8b162ce9d1003e4e469d8f48cb9a2076fd45b47c: [Backport #14834]
- fix tracepoint + backtrace SEGV
PC modification in gc_event_hook_body was careless. There are (so
to say) abnormal iseqs stored in the cfp. We have to check sanity
before we touch the PC.
This has not ... -
06:02 AM Revision d3da1d57 (git): Skip open_spec.rb:L95 because ruby repo doesn't have json as default gems.
-
05:21 AM Bug #16019: please backport df317151a5b4e0c5a30fcc321a9dc6abad63f7ed
- ruby_2_6 r67744 merged revision(s) df317151a5b4e0c5a30fcc321a9dc6abad63f7ed.
-
05:21 AM Revision fb8c28d3 (git): merge revision(s) df317151a5b4e0c5a30fcc321a9dc6abad63f7ed: [Backport #16019]
- should not free local hook_list here.
exec_hooks_postcheck() clean executed hook_list if it is needed.
list_exec is freed if there are no events and this list is local
event (connected to specific iseq). However,... -
05:17 AM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
- New patch over at https://github.com/ruby/openssl/pull/269
-
05:07 AM Bug #16024: String#split with block. cannot use Regexp in the block.
- ruby_2_6 r67743 merged revision(s) f1b76ea63ce40670071a857f408a4747c571f1e9,1d1f98d49c9908f4e3928e582d31fd2e9f252f92.
-
05:07 AM Revision 54a470d0 (git): merge revision(s) f1b76ea63ce40670071a857f408a4747c571f1e9,1d1f98d49c9908f4e3928e582d31fd2e9f252f92: [Backport #16024]
- Occupy match data
* string.c (rb_str_split_m): occupy match data not to be modified
during yielding the block. [Bug #16024]
Reuse match data
* string.c (rb_str_split_m): reuse occupied match data. [... -
04:45 AM Revision a77b3b44 (git): [bundler/bundler] Remove unnecessary require
- https://github.com/bundler/bundler/commit/8ef571ed4e
-
04:45 AM Revision 683f9e1d (git): [bundler/bundler] No need to activate the `fileutils` default gem
- The version we're vendoring actually relaxed this restriction back to
2.3.0+, so we can always use the vendored version.
https://github.com/bundler/bundler/commit/d366cbfe5d -
04:45 AM Revision 4756c5f7 (git): [bundler/bundler] Remove unnecessary rubygems monkeypatch
- Instead, make sure we always load the local copy of bundler during
specs, and never end up using the default copy.
https://github.com/bundler/bundler/commit/ac655ffeda -
04:45 AM Revision 5a69a23a (git): [bundler/bundler] Don't use system bundler on this spec
- If we use system bundler, when booting the "outermost" bundler process,
bundler will save the path to the system bundler in BUNDLE_BIN_PATH, and
use it again when booting the "innermost" bundler process (`bundle exec
echo foo`).
That me... -
04:45 AM Revision 0653d8c6 (git): [bundler/bundler] Fix spec using the deprecated `bundle config` mode
- https://github.com/bundler/bundler/commit/789dd1864f
-
04:45 AM Revision c50c2354 (git): [bundler/bundler] Require relatively from exe/ when possible
- https://github.com/bundler/bundler/commit/e4cbb91b7d
-
04:44 AM Revision 99820488 (git): [bundler/bundler] Last relative requires
- https://github.com/bundler/bundler/commit/fb587b9ebb
-
04:44 AM Revision f7539616 (git): [bundler/bundler] Remove a bunch of unneeded rubygems requires
- https://github.com/bundler/bundler/commit/f9cb39e614
-
04:44 AM Revision 7659f00a (git): [bundler/bundler] Move local variable to only branch where it's used
- https://github.com/bundler/bundler/commit/3995b3345d
- 04:44 AM Revision d80f5399 (git): [bundler/bundler] Fix open default gem error
- https://github.com/bundler/bundler/commit/792d724752
-
04:44 AM Revision 98841b2b (git): [bundler/bundler] Wrap `open` specs with a context
- So I can add another context that doesn't run the `before` block.
https://github.com/bundler/bundler/commit/06d0acc45a -
04:44 AM Revision e6e8d2d8 (git): [bundler/bundler] Prefer `before` to `before :each`
- https://github.com/bundler/bundler/commit/6678747fae
-
04:44 AM Revision cc644c71 (git): [bundler/bundler] Fix `bundle doctor` command
- Previously `bundle doctor` would fail on any bundle that does not
include git gems or plugins. This is because the previously used
`Bundler.home` does not exist unless the bundle includes git gems or
plugins. For example, with `bundle co... - 04:43 AM Revision a02dbcec (git): [bundler/bundler] Bundler displays a duplicate gem entries warning even if gems only appear once per group
- https://github.com/bundler/bundler/commit/d18a83109e
-
04:40 AM Feature #9925 (Closed): rsock_addrinfo uses DNS family AF_UNSPEC for lookup causing high IPv6 AAAA volume
-
04:33 AM Bug #15992: An exception breaks monitor state and cause deadlock
- ruby_2_6 r67742 merged revision(s) f91879a7b548284c93743168acfd11e3d2aeefac.
-
04:32 AM Revision 9ab43c7a (git): merge revision(s) f91879a7b548284c93743168acfd11e3d2aeefac: [Backport #15992]
- handle_interrupt to defend monitor state [Bug #15992]
If an exception is raised from another thread for example Timeout
and this thread is just after `mon_exit`'s `@mon_owner = nil`,
the exception breaks the stat... -
04:25 AM Revision 3ecb5125 (git): Gem::ConfigMap is deprecated now
-
12:30 AM Revision a0e80c7c (git): Drop continue-on-error for make check
- Like macos.yml, we don't need to ignore `make check` failure.
08/17/2019
-
11:49 PM Feature #12093: Eval InstructionSequence with binding
- Indeed `eval` with an arbitrary `Binding` doesn't make a sense.
How about `eval` on a given object?
Currently, iseqs eval always on the top-level object without any argument, and I've needed code like:
```ruby
RubyVM::InstructionSe... -
11:05 PM Revision 50623f3d (git): Remove commented out debug print
-
11:05 PM Revision 113a5c1e (git): The "exe" dir doesn't exist in this repostiroy
-
10:52 PM Revision 0bbbe829 (git): Fix copy path of ruby/reline's test
-
10:43 PM Revision e9f82585 (git): Don't crash when deleting at the end of the line
- To reproduce this bug, type one character into irb, then press the
delete key on your keyboard. -
08:00 PM Bug #16108: gsub gives wrong results with regex backreferencing and triple backslash
- The source of your problem seem to be the behavior below:
```ruby
p ' \1 '.bytes # => [32, 92, 49, 32]
p ' \\ '.bytes # => [32, 92, 32]
p ' \ '.bytes # => [32, 92, 32]
```
as you can see, two backslashes in a single quote string l... -
06:41 PM Bug #16108: gsub gives wrong results with regex backreferencing and triple backslash
- I have written a script to convert LaTeX indexing files (.idx) to Macrex backup format (.mbk), so that I can import LaTeX-embedded indexes into the Macrex indexing program. A problem arises when I try to convert bold text. LaTeX indicate...
-
06:30 PM Bug #16108 (Rejected): gsub gives wrong results with regex backreferencing and triple backslash
- I have written a script to convert LaTeX indexing files (.idx) to Macrex backup format (.mbk), so that I can import LaTeX-embedded indexes into the Macrex indexing program. A problem arises when I try to convert bolded text. LaTeX indica...
-
04:07 PM Feature #9925: rsock_addrinfo uses DNS family AF_UNSPEC for lookup causing high IPv6 AAAA volume
- Thank you Craig! Since your patch was accepted, this ticket is now resolved for me. I'll also mark my Ruby Github PR as resolved by your PR.
-
03:34 PM Revision 7bb0a7d7 (git): Prefer exact ITEM to benchmark
-
03:34 PM Revision 74ca6b88 (git): Omit a tag unless loading with a wrapper module
-
03:34 PM Revision 1d11a8b1 (git): Ensure non-OPT_GLOBAL_METHOD_CACHE code valid
-
03:34 PM Revision 6db3051f (git): Ensure VM_DEBUG_VERIFY_METHOD_CACHE code valid
- 03:33 PM Revision aa00f7b8 (git): * 2019-08-18 [ci skip]
-
03:32 PM Revision 8b8e7e6e (git): $LOAD_PATH elements should be real paths
- Installed path may contain symbolic links.
-
02:50 PM Feature #11554 (Closed): Privatize {Single}Forwardable API
-
02:19 PM Feature #11554: Privatize {Single}Forwardable API
- Thanks to check this issue, so I think we don't need this change now. Please close this thicket.
-
02:14 PM Revision 765eb18a (git): Make VM_DEBUG_VERIFY_METHOD_CACHE derived from VMDEBUG
- VM_DEBUG_MODE has been used only here.
-
11:20 AM Revision 2a65498c (git): Remove CI files from list
-
11:20 AM Revision 15da2aad (git): Remove Travis CI workaround
-
11:20 AM Revision e095803c (git): Removed formatter_test_case and text_formatter_test_case from Gem::Specification#files.
-
11:20 AM Revision 3a06c11a (git): Removed autoload from Markup.
-
11:20 AM Revision 79fe84ed (git): Removed test_case files from lib directory.
-
09:20 AM Revision 37d0e6e4 (git): Skip teardown with JRuby
-
08:08 AM Revision 08c58e3c (git): [bundler/bundler] Extract a `gemspec_dir` helper
- https://github.com/bundler/bundler/commit/71a29e286a
-
08:08 AM Revision a2d7c97a (git): [bundler/bundler] Extract yet another helper method
- https://github.com/bundler/bundler/commit/948a863bd8
-
08:08 AM Revision 43184056 (git): [bundler/bundler] Extract a `root_gemspec` local variable
- https://github.com/bundler/bundler/commit/a4beba4cbf
-
08:08 AM Revision 09455301 (git): [bundler/bundler] Extract a `with_root_gemspec` helper
- https://github.com/bundler/bundler/commit/f20c2bdf6a
-
08:08 AM Revision 20c5154f (git): [bundler/bundler] Only chdir when necessary
- https://github.com/bundler/bundler/commit/07161ebc1a
-
08:08 AM Revision 580e093f (git): [bundler/bundler] Make sure gem has been built before deleteng it
- https://github.com/bundler/bundler/commit/32520c7020
-
08:08 AM Revision a56bf5bf (git): [bundler/bundler] Cleanup in a location independent way
- https://github.com/bundler/bundler/commit/5b503a4bf1
-
08:08 AM Revision 9c0fcd1d (git): [bundler/bundler] Remove obvious comment
- https://github.com/bundler/bundler/commit/91e7fe1b2f
-
08:08 AM Revision adfca752 (git): [bundler/bundler] Remve another unneeded `to_s`
- `FileUtils.rm` supports a `Pathname` argument.
https://github.com/bundler/bundler/commit/7d982a5be9 -
08:08 AM Revision 9925e1a1 (git): [bundler/bundler] Remove unneeded `to_s` calls
- They are implicit inside `gem_command!`.
https://github.com/bundler/bundler/commit/6bdb13c899 -
08:08 AM Revision f8823762 (git): [bundler/bundler] Consistently use `Path` over `Spec::Path`
- https://github.com/bundler/bundler/commit/a4cca66b79
-
08:08 AM Revision aef55091 (git): [bundler/bundler] Extract single gem installation logic
- https://github.com/bundler/bundler/commit/7888d621c8
-
08:08 AM Revision 20af44c2 (git): [bundler/bundler] Unalias `install_gem`
- Since I plan to reuse it for something else.
https://github.com/bundler/bundler/commit/5379382198 -
08:08 AM Revision 65069934 (git): [bundler/bundler] Use `join` consistently
- https://github.com/bundler/bundler/commit/096e53dfe6
-
08:08 AM Revision 6a299906 (git): [bundler/bundler] Extract a `lib_tracked_files` path helper
- https://github.com/bundler/bundler/commit/028dc46f5a
-
08:08 AM Revision 19dabfbe (git): [bundler/bundler] Rename a variable
- Otherwise I get conflicts when extracting the helper.
https://github.com/bundler/bundler/commit/314c64cd07 -
08:08 AM Revision c896f715 (git): [bundler/bundler] Extract a `tracked_files` path helper
- https://github.com/bundler/bundler/commit/d35e31d2e0
-
08:08 AM Revision b43f4bd2 (git): [bundler/bundler] Rename some variables
- I want to extract these to path helper methods, but the name `files`
conflict with some builder methods that are also available at the same
level.
https://github.com/bundler/bundler/commit/7844096af0 -
08:08 AM Revision 334e6150 (git): [bundler/bundler] Reconcile test
- The `:bundler` gem is not needed in the regular repo either.
https://github.com/bundler/bundler/commit/ca5ce01a9b -
08:08 AM Revision 122bc650 (git): [bundler/bundler] Reuse `gem_bin` helper inside `gem_command`
- The logic for choosing `gem_bin` should work here too even if it's not
identical.
https://github.com/bundler/bundler/commit/6ca0271b27 -
08:08 AM Revision 30a4ec1f (git): [bundler/bundler] Always use `--backtrace` when invoking `gem` CLI
- For debuggability.
https://github.com/bundler/bundler/commit/ac3e8db658 -
08:08 AM Revision 91c63828 (git): [bundler/bundler] Extract a `gem_bin` path helper
- https://github.com/bundler/bundler/commit/8eedbecac0
-
08:08 AM Revision e38994d2 (git): [bundler/bundler] Reuse `gem_command!` helper
- https://github.com/bundler/bundler/commit/37d5dedffe
-
08:08 AM Revision 63d78afc (git): [bundler/bundler] Remove more dead code
- https://github.com/bundler/bundler/commit/17d4d0de8e
-
08:08 AM Revision 2e650949 (git): [bundler/bundler] Remove dead code
- https://github.com/bundler/bundler/commit/cae948f514
-
08:08 AM Revision 3bebdda6 (git): [bundler/bundler] Remove unnecessary rubygems require
- https://github.com/bundler/bundler/commit/039604ff95
-
08:08 AM Revision 7af12a92 (git): [bundler/bundler] Use path helpers to find bundle bin
- https://github.com/bundler/bundler/commit/7985bb8e92
-
08:08 AM Revision 63575409 (git): [bundler/bundler] Fix bundle bin location in core repo
- https://github.com/bundler/bundler/commit/9437568ab4
-
08:08 AM Revision 7551117c (git): [bundler/bundler] Reuse more shared path helpers
- https://github.com/bundler/bundler/commit/79fdebd868
-
08:08 AM Revision 9995ce64 (git): [bundler/bundler] Remove unnecessary assignment
- https://github.com/bundler/bundler/commit/e483322519
-
08:08 AM Revision a2ca3a12 (git): [bundler/bundler] Remove unnecessary `let`
- Use shared helper instead.
https://github.com/bundler/bundler/commit/ef55470cc6 -
08:08 AM Revision 745b2861 (git): [bundler/bundler] Move `lib` helper together with path helpers
- https://github.com/bundler/bundler/commit/f2df73bdb4
-
08:08 AM Revision 50a91fcd (git): [bundler/bundler] Reuse `lib` method
- https://github.com/bundler/bundler/commit/4589a57852
-
08:08 AM Revision ef2d4158 (git): [bundler/bundler] Remove duplicated method
- https://github.com/bundler/bundler/commit/afdacd62ac
-
08:06 AM Revision 7664b5cb (git): Support the current stable version of Ruby like 2.5 and 2.6.
-
08:01 AM Revision 221ba9b6 (git): Revert "`Gem.load_path_insert_index always returns non-nil index after Ruby 1.9"
- This reverts commit 260ef51a73c067599826c8ab110c53994c1b6226.
This broke the stable versions of Ruby like 2.4 and 2.5 -
06:12 AM Revision d041c6ce (git): Added comments for extended require by RubyGems
-
06:12 AM Revision 260ef51a (git): `Gem.load_path_insert_index always returns non-nil index after Ruby 1.9
-
06:12 AM Revision 06fcf88d (git): Use the original require for test_race_exception
- The extension for require method with rubygems affects this test
case. We need to keep this test for the original method. -
06:12 AM Revision d8148650 (git): Try to continue on LoadError with gem_original_require
-
06:12 AM Revision 22d9bd94 (git): Keep the existance behavior with symlink path
-
06:12 AM Revision 273f1f44 (git): Move fixture path to last path
-
06:12 AM Revision dd16f852 (git): Revert "Revert "[rubygems/rubygems] [Require] Ensure -I beats a default gem""
- This reverts commit 75d29db8f965893bb6ab38b9008abc80cdda246e.
-
06:03 AM Revision 9d20d2b0 (git): Clean sample code biorhythm (#2375)
- * Standardize to load date libary code
> git grep 'require .date.' | wc -l
179
> ...
1
* Simplify -
05:56 AM Revision 72adc6cf (git): Simplify a sample code (#2374)
- 05:24 AM Revision dce1e14e (git): Use more different arguments in Fiber.yield documentation to make it clear (#2170)
- https://github.com/ruby/ruby/pull/2170#issuecomment-489880700
Documentation is for those who don't know, remember, or understand (to any degree) the language, it should attempt to be clear above all other things. The example given is ne... - 05:17 AM Revision 28267cea (git): NetBSD native support of explicit_bzero's like feature (#2145)
-
04:57 AM Revision ccbfb054 (git): Fix typos
-
04:27 AM Revision 2468466a (git): Added missing condition for test-bundler and test-bundled-gems.
-
04:27 AM Revision ea496e9f (git): Added test check to ubuntu on GitHub Actions
-
04:01 AM Bug #10965: logger.rb may not daily rotate
- I do not well understand the problem. Indeed, the logger sees `@dev.stat.mtime`, but it is on only at `#initialize` https://github.com/ruby/logger/blob/4278b3e4ac1d2b2df555f7cde8813c452dc85f03/lib/logger/log_device.rb#L24-L27.
The con... -
03:47 AM Bug #7303 (Closed): Logger fails on log rotation in Windows (log shifting failed. Permission denied)
-
03:46 AM Bug #7303: Logger fails on log rotation in Windows (log shifting failed. Permission denied)
- It looks the codes around specified are fairly changed from 1.9.3 now. This problem should already have been fixed.
Let me close once. If anyone finds same issue with the latest ruby, please let me know. -
03:42 AM Feature #9532 (Closed): Expose logger monitor
-
03:42 AM Feature #9532: Expose logger monitor
- This is already fixed via https://github.com/ruby/ruby/pull/541
-
03:32 AM Revision dc020b06 (git): Hoisted out search_refined_method
- [Bug #16107]
-
03:30 AM Bug #16107 (Closed): Module#refine and Module#using behaved unexpectedly
- Applied in changeset commit:git|11a9f7ab9431b0f361e43b4ac2bd6ee44827d88b.
----------
Search refinement module along nested usings
[Bug #16107] -
03:30 AM Revision 11a9f7ab (git): Search refinement module along nested usings
- [Bug #16107]
-
03:19 AM Revision 042be439 (git): Improve the doc example of `method_missing`
- Improvements are:
* Use `symbol` instead of `methId`, described in doc
* Add `*args` following method signature
* Rescue error in `roman_to_int` and calls `super`, recommended in doc
* Call invalid `foo` method to Roman object to raise N... -
01:54 AM Bug #16100: Visibility modifiers don't call super correctly when overridden in alternative ways
- Thanks for the explanation, Jeremy. I *think* I understand now. I took a look at the source and made another example to help me understand. I see now that the inconsistency only arises with the argument-less call of the visibility modifi...
-
01:44 AM Feature #14183: "Real" keyword argument
- I think the changes to support the keyword to last positional hash are minimal. I'm testing a patch now that provides the following behavior:
```ruby
def a(a=1, b:2) [a, b] end;
a('a'=>1, :b=>3)
# 2.6: => [{"a"=>1}, 3]
# my bra... -
12:33 AM Feature #14183: "Real" keyword argument
- jeremyevans0 (Jeremy Evans) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> ...
Okay, I'll talk with matz. And so quick rebase, thanks!
> Since this worked in 2.6, we probably want a warning and the same behavior, correct?
That'... -
12:43 AM Revision 045152df (git): Disable fail-fast of GitHub Actions
- This is default: true
https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast
When `make check` fails, we do not want to cancel `make test-bundler`. -
12:10 AM Bug #9115: Logger traps all exceptions; breaks Timeout
- > It makes sense for Logger to handle all exceptions by default
I'm not sure I agree with this. There must be some well-defined set of exceptions that could be raised by the code it's executing that should be handled/ignored, e.g. `IO...
08/16/2019
-
11:52 PM Revision 75d29db8 (git): Revert "[rubygems/rubygems] [Require] Ensure -I beats a default gem"
- This reverts commit 00cd5d74cecb6aa4a184e57e2b8246ef6e45d458.
-
11:52 PM Revision efd37f8f (git): Remove redundant each from `sum` example (#2190) [ci skip]
- It used to be `Enumerator#sum`, now it's range of string which calls
`Enumerable#sum` and causes TypeError. -
11:44 PM Revision 76241545 (git): Fixed Insecure Operation in require
- Caused by 00cd5d74ce
-
11:05 PM Feature #14183: "Real" keyword argument
- jeremyevans0 (Jeremy Evans) wrote:
> I am in favor of the merge and eager to see matz's decision. I'll rebase my branch against master today to make it easier for people to comparison test.
I've rebased my branch against master: htt... -
02:36 PM Feature #14183: "Real" keyword argument
- mame (Yusuke Endoh) wrote:
> > This Hash might contain numbers or strings as keys, and as such doesn't feel like "keywords arguments" to me.
> ...
I don't have a strong opinion about allowing non-Symbols for keyword hash keys.
With ... -
06:55 AM Feature #14183: "Real" keyword argument
- Let me reboot the discussion. The problems and some proposals are described in the slides:
https://docs.google.com/presentation/d/16rReiCVzUog3s5vV702LzcIFM2LNcX53AX8m5K8uCZw/edit?usp=sharing
My understanding is that Jeremy's prop... -
06:52 AM Feature #14183: "Real" keyword argument
- Sorry for leaving this ticket untouched.
Eregon (Benoit Daloze) wrote:
> With Jeremy's proposal, I think there is no need to support non-Symbol keywords.
> ...
Yes indeed, but in my opinion, the behavior is just for compatibility. ... - 10:49 PM Revision e0fc9b7c (git): * 2019-08-17 [ci skip]
-
10:47 PM Revision f30d38bd (git): Move lib directory to the last of $LOAD_PATH on ruby repository.
- https://github.com/rubygems/rubygems/pull/1868 changes the behavior
of require when it used with -I options. Therefore, the options of
ruby repository was different from rubygems/rubygems. -
10:35 PM Revision ae3002b5 (git): [rubygems/rubygems] Fixup #2844
- https://github.com/rubygems/rubygems/commit/5924286ae2
-
10:35 PM Revision 56a28a87 (git): [rubygems/rubygems] installer.rb - fix #windows_stub_script
- use ruby_exe in heredocs instead of ruby.exe
https://github.com/rubygems/rubygems/commit/9f1b7d6590 - 10:35 PM Revision 25a327d4 (git): [rubygems/rubygems] Do not mutate uri.query during s3 signature creation
- https://github.com/rubygems/rubygems/commit/c0275ee537
-
10:35 PM Revision c4f7c260 (git): [rubygems/rubygems] Make deprecate Gem::RubyGemsVersion and Gem::ConfigMap.
- https://github.com/rubygems/rubygems/commit/1133c2f700
-
10:35 PM Revision c7883990 (git): [rubygems/rubygems] Return `nil` to clarify return value is ignored
- https://github.com/rubygems/rubygems/commit/8702f59d32
-
10:35 PM Revision 5998012a (git): [rubygems/rubygems] Autoswitch to exact bundler version if present
- https://github.com/rubygems/rubygems/commit/bb02953a97
-
10:35 PM Revision 3587824d (git): [rubygems/rubygems] Don't unregister default specifications
- I think this should be more efficient?
https://github.com/rubygems/rubygems/commit/a1de78104f -
10:35 PM Revision 1ac6890b (git): [rubygems/rubygems] Fix removing unresolved default spec files from map
- https://github.com/rubygems/rubygems/commit/7964917bbc
-
10:35 PM Revision f42ad4a4 (git): [rubygems/rubygems] Little refactor
- There's already a method called `suffix_pattern`, that's different from
this local variable. So, move the local variable to a `suffix_regexp`
that clearly differenciates from `suffix_pattern`.
https://github.com/rubygems/rubygems/commit... - 10:35 PM Revision 89ad5df9 (git): [rubygems/rubygems] Replace domain parameter in Gem::Command#show_lookup_failure with a parameter to suppress suggestions
- https://github.com/rubygems/rubygems/commit/760b7d834f
-
10:35 PM Revision b8984370 (git): [rubygems/rubygems] Fix jruby issue
- https://github.com/rubygems/rubygems/commit/fc3f722164
-
10:35 PM Revision 37abd2c3 (git): [rubygems/rubygems] Fix old rubies compat
- https://github.com/rubygems/rubygems/commit/41e60cdb6b
-
10:35 PM Revision 00cd5d74 (git): [rubygems/rubygems] [Require] Ensure -I beats a default gem
- https://github.com/rubygems/rubygems/commit/6fbda98eb3
-
10:35 PM Revision d4feeb19 (git): [rubygems/rubygems] Make test also assert the gems that it should load
- https://github.com/rubygems/rubygems/commit/a6375920bf
-
10:35 PM Revision bb2a6580 (git): [rubygems/rubygems] Use `assert_require`
- For consistency with the other specs.
https://github.com/rubygems/rubygems/commit/44b93aec4c -
04:51 PM Bug #9156 (Closed): Not able to get tmp dir to work with Ruby 2.0.0
-
04:18 PM Bug #9115 (Assigned): Logger traps all exceptions; breaks Timeout
- It makes sense for Logger to handle all exceptions by default, as you don't want Logger breaking otherwise working code. So the default behavior is expected and not a bug.
I think the best way to handle this is to allow the user to s... -
03:40 PM Bug #9050 (Closed): I may have encountered a bug in the Ruby interpreter or extension libraries.
-
03:19 PM Bug #16107: Module#refine and Module#using behaved unexpectedly
- https://github.com/ruby/ruby/pull/2373
-
01:25 PM Bug #16107: Module#refine and Module#using behaved unexpectedly
- (FYI) It works if you `using M1` it in `refine A` .
```ruby
class A
end
module M1
refine A do
def foo
puts "foo"
end
end
end
module M2
refine A do
using M1
# OK
A.new.foo
end
end... -
01:19 PM Bug #16107: Module#refine and Module#using behaved unexpectedly
- I shortened the example a little.
```ruby
class A
end
module M1
refine A do
def foo
puts "foo"
end
end
end
module M2
using M1
refine A do
A.new.foo
end
end
```
It seems that a `refine... -
08:34 AM Bug #16107 (Closed): Module#refine and Module#using behaved unexpectedly
- The issue happened when I tried to run the code below:
``` ruby
# Main.rb
class A
end
class B
end
module M1
refine A do
def foo *args
puts "foo"
end
end
end
using M1
module M2
def self.enable_foo
refin... -
02:39 PM Feature #12093: Eval InstructionSequence with binding
- Understood, I’ve closed the pull request.
-
12:53 PM Feature #12093 (Rejected): Eval InstructionSequence with binding
- Ok. I reject this ticket, and pls remake your proposal if you find a good way.
-
12:36 PM Feature #12093: Eval InstructionSequence with binding
- Yes when I test out Koichi's sample, the iseq look like:
```
disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(1,6)> (catch: FALSE)
0000 putself ( 1)[Li]
0001 opt_send_without_... -
02:01 AM Feature #12093: Eval InstructionSequence with binding
- What the last line should output?
```ruby
def a; :m_a end
def b; :m_b end
def bind
a = :l_a
b = :l_b
binding
end
eval('p [a, b]', bind())
#=> [:l_a, :l_b]
RubyVM::InstructionSequence.compile("p [a, b]").eval
#=> [... -
12:27 PM Revision 229ae326 (git): lib/rdoc/store.rb: Use `Marshal.dump(obj, io)`
- instead of dumping obj to a string and then saving the string.
It omits object creation. -
08:44 AM Revision 619f82bb (git): Hoisted out unixsocket_len, triming NUL chars from sun_path
-
08:28 AM Revision 03f4a0b1 (git): [ruby/rdoc] Use assert_raise
- https://github.com/ruby/rdoc/commit/f2c63549f7
-
07:29 AM Feature #14784: Comparable#clamp with a range
- Here's a real life use case for `clamp` with Range support:
Our Rails app has quite a few app settings which define ranges of permitted values e.g. `goal_range = (10..1000)`. Values outside of those ranges are clamped which leads to t... -
05:52 AM Revision 02d0d424 (git): Revert "[bundler/bundler] Fixup #7297"
- This reverts commit b8d759806ff825e1b9344ba34b1a2bc4809d0988.
It's accidentally picked from the upstream repository. -
05:30 AM Revision b8d75980 (git): [bundler/bundler] Fixup #7297
- https://github.com/bundler/bundler/commit/1a0161b970
-
05:30 AM Revision 8cf90a2f (git): [bundler/bundler] Fixed rubocop error
- https://github.com/bundler/bundler/commit/9256177446
-
05:30 AM Revision e8fd7204 (git): [bundler/bundler] Remove mention to remembered options
- And instead educate users on the preferred, non deprecated, way.
https://github.com/bundler/bundler/commit/9cd6238da2 - 05:30 AM Revision 502ad4d3 (git): [bundler/bundler] Document upcoming changes to remembered options
- https://github.com/bundler/bundler/commit/a1c97fd7c3
-
05:30 AM Revision 3b61019a (git): [bundler/bundler] Add initial Bundler::BuildMetadata Spec
- https://github.com/bundler/bundler/commit/c6458b2727
-
05:30 AM Revision b587e8c7 (git): [bundler/bundler] Add `--[no-]git` option to `bundle gem`
- I think using `--no-git` can be useful when creating gems inside
monorepos.
https://github.com/bundler/bundler/commit/154c687310 -
05:30 AM Revision cb719303 (git): [bundler/bundler] Remove unexistent folder from exemptions
- https://github.com/bundler/bundler/commit/0b6d973543
-
05:30 AM Revision f48a61fb (git): [bundler/bundler] Commit man pages to source control
- This has the benefit that:
* Allows the installation of bundler as a default gem from rubygems to
include man pages.
* Removes the need to build man pages during our tests.
* Makes working with the manifest easier, because we only have ... -
05:30 AM Revision 8f28ae65 (git): [bundler/bundler] Remove misleading comment in Gemfile
- Since we no longer use `git` to find out the list of files, the comment
is misleading.
https://github.com/bundler/bundler/commit/54d85d5349 -
05:30 AM Revision cd15d27d (git): [bundler/bundler] Stop printing deprecation messages during specs
- Previously under some circunstances (met during some specs), bundler
would print deprecations to a separate UI different from "bundler's UI".
This UI would not be captured by the specs, and thus would be printed to
screen during the spec... -
05:30 AM Revision 4af3665f (git): [bundler/bundler] Use a newer debugging gem in docs
- So that the examples work in currently supported rubies.
https://github.com/bundler/bundler/commit/b7d4556cde -
05:30 AM Revision 4913c9b6 (git): [bundler/bundler] Remove unexistent file from exemptions
- https://github.com/bundler/bundler/commit/8601575490
- 05:30 AM Revision 6412121b (git): [bundler/bundler] Fix typo in comment: attibutes -> attributes
- https://github.com/bundler/bundler/commit/876545805e
-
05:30 AM Revision 94e26a97 (git): [bundler/bundler] Bump rspec dependency to 3.8
- Because we're using `config.bisect_runner` which is only available from
3.8.
https://github.com/bundler/bundler/commit/304a187f72 -
05:30 AM Revision 521a2d2b (git): [bundler/bundler] Revert "make system_bundle_bin_path helper and resolve failing tests for ruby < 2.6"
- This reverts commit e63e844bc7444c6a489fcde0dc7011c6c4807edd.
It was introduced to resolve some failing tests at the cost of making
the intention of the spec much less clear.
Thanks to the previous fixes we have added to this spec, we ... -
05:30 AM Revision 5bff72c9 (git): [bundler/bundler] Make sure spec fails if `bundle install` fails
- https://github.com/bundler/bundler/commit/2ed2bbfdec
-
05:30 AM Revision 7ff0b4fe (git): [bundler/bundler] Fix installation of system bundler
- Previously it was being installed to the :bundle_path
(`/tmp/bundled_app/.bundle`), but the `bundle` helper uses the
`system_gem_path("bin/bundle")`. That means the first `bundle install`in
the spec was actually failing, but not affectin... -
05:30 AM Revision 6c6c4c73 (git): [bundler/bundler] Use non deprecated way of setting bundler path
- https://github.com/bundler/bundler/commit/6013c93e81
-
05:30 AM Revision ee1f3038 (git): [bundler/bundler] Clarify spec description
- https://github.com/bundler/bundler/commit/b2abde04aa
-
05:30 AM Revision 0aed0bd9 (git): [bundler/bundler] Bump rack and sinatra to latest versions
- https://github.com/bundler/bundler/commit/09ecaf04fa
-
05:30 AM Revision 129657ab (git): [bundler/bundler] Normalize style with other artifice files
- https://github.com/bundler/bundler/commit/f11c9a2b3f
-
05:30 AM Revision 41534ce3 (git): [bundler/bundler] Make spec pass more resiliently
- Previously, if bundler-2.1.0.pre.1 would be installed globally, it would
fail. Now we force that a locally installed version of bundler is used,
so it always passed regardless of which bundler is installed globally.
https://github.com/b... -
05:30 AM Revision 3c23bb29 (git): [bundler/bundler] Remove unnecessary exclusions
- https://github.com/bundler/bundler/commit/c189dfdde0
-
05:30 AM Revision 3f0e19c9 (git): [bundler/bundler] Enable retries on flaky spec
- https://github.com/bundler/bundler/commit/da360659f7
-
05:30 AM Revision 2b0f3aa0 (git): [bundler/bundler] Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION
- * RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby.
* There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION.
https://github.com/bundler/bundler/commit/f9d910403b -
05:30 AM Revision 6711343d (git): [bundler/bundler] Fix inconsistent lockfile order
- When Gemfile would specify path sources as relative paths starting with
"./", the lockfile would have inconsistent order on `bundle install` and
`bundle update`.
https://github.com/bundler/bundler/commit/c7532ced89 -
05:30 AM Revision c11c8b69 (git): [bundler/bundler] Indentation tweak
- https://github.com/bundler/bundler/commit/5978a88f33
-
05:30 AM Revision 500c3cb6 (git): [bundler/bundler] Reuse `root` method
- https://github.com/bundler/bundler/commit/42363091da
-
02:36 AM Revision cd41378e (git): lib/rdoc/parser/ruby.rb: Avoid `.chars.to_a.last`
- The code creates a lot of useless objects.
Instead, using a regexp is shorter and faster. -
01:25 AM Revision 64bffddd (git): exit accepts true and false [ci skip]
-
01:25 AM Revision 12074ad0 (git): Use GNU make built-in funtion [ci skip]
-
12:57 AM Bug #16106: UnboundMethod owner points to base class
- Indeed, that's why I was surprised. I wasn't expecting `owner` to be a pointer to a class that I wasn't working with.
To correct the code I was working on, I now pass around both the UnboundMethod instance as well as the class, and ig...
08/15/2019
-
11:56 PM Bug #8982 (Feedback): NoMethodError#message produces surprising output when #inspect is defined on an anonymous class
- Starting in Ruby 2.3, you can do this:
```ruby
begin
instance = klass.new
puts "#inspect output: #{instance.inspect} (#{instance.inspect.length} chars)"
instance.undefined_method
rescue NoMethodError => e
puts "undefined method ... -
11:10 PM Bug #16106: UnboundMethod owner points to base class
- I guess the documentation could mention that behaviour so that other
rubyists won't be confused, as alanwu pointed out e. g:
https://ruby-doc.org/core/UnboundMethod.html#method-i-owner
(Or the other documentation site; I just happ... -
08:39 PM Bug #16106: UnboundMethod owner points to base class
- Yes, this behavior is expected. Changing it would not be backwards compatible.
I think owner in this case means the entity under which the method is originally defined.
Perhaps the documentation can be improved to reflect this. -
08:21 PM Bug #16106 (Closed): UnboundMethod owner points to base class
- This may not be a bug. It may be my misinterpretation of the feature.
When using UnboundMethod#owner on a class that was created with `Class.new(SomeBaseClass)`, the owner is reported as the `SomeBaseClass `rather than the new class.
... -
10:47 PM Bug #8946 (Closed): Segmentation fault while NoMemoryError expected
- From my testing, this was fixed between Ruby 2.2 and 2.3. Starting with Ruby 2.3, instead of segfaulting, I get:
```
t.rb:5:in `<main>': index 268435456 too big (IndexError)
``` -
10:26 PM Bug #8922 (Closed): Crash when calling Coverage.result
-
10:25 PM Bug #8855: {Single}Forwardable#def_delegators が、Stringでメソッド名を渡された時だけ __id__ と __send__ が取り除かれる
- This bug is still present in the master branch. I've submitted a pull request to fix it: https://github.com/ruby/forwardable/pull/4
-
10:10 PM Revision 1b02f6c0 (git): Set IRB::Context#return_format on test clarify
-
09:45 PM Revision a458317b (git): Use assert_raise and skip for test/unit
-
09:07 PM Revision f71bd747 (git): RDoc::Parser::C: Integrate do_classes and do_modules by one regexp match
- The full scan of the C source code (`@content.scan`) is very slow.
The old code invokes the scan six times in `do_classes` and
`do_modules`.
This change integrates the six scans into one by merging the regexps.
The integrated regexp is ... -
09:07 PM Revision b64911f4 (git): Parser was replaced
-
09:07 PM Revision bad937b0 (git): Gem::TestCase is based on Minitest
-
09:07 PM Revision daf5ce3b (git): Use omit instead of skip for test-unit.
-
09:07 PM Revision e87e10e5 (git): Use test/unit instead of test-unit. Because test-unit is only provided standalone gem.
-
09:07 PM Revision 2066dae9 (git): Cleanup commented-out code.
-
09:07 PM Revision 92186556 (git): Removed needless alias for capture_io.
-
09:07 PM Revision 8a18a639 (git): Use Gemfile instead of add_development_dependency.
-
09:07 PM Revision 71fd26b1 (git): Fallback for older Rubygems
-
09:07 PM Revision 787b437a (git): Use Gem.default_specifications_dir
- Gem::Specification.default_specifications_dir is deprecated.
-
09:07 PM Revision 5555e3ef (git): Renamed minitest_helper.rb as helper.rb
-
09:07 PM Revision 8045ebbf (git): Use locale directory for the tests
-
09:07 PM Revision 1a530422 (git): Use test-unit instead of minitest
- Minitest 6 will err `assert_equal` with `nil`.
https://github.com/seattlerb/minitest/issues/779 -
09:02 PM Revision 64f9f512 (git): Treat linking to Markdown label correctly
-
09:02 PM Revision 723a37d0 (git): Separate RDoc::TokenStream#add_tokens and #add_token
- The old version of `add_tokens` accepts an array of tokens, and
multiple arguments of tokens by using `Array#flatten`.
And `add_token` was an alias to `add_tokens`.
I think it is unnecessarily flexible; in fact, all callsites of
`add_to... -
09:02 PM Revision 0a0760aa (git): Refactor and improve performance of RDoc::Markup::Parser
- This change introduces a wrapper of StringScanner that is aware of the
current position (column and lineno).
It has two advantages: faster and more modular.
The old code frequently runs `@input.byteslice(0, byte_offset).length`
to get t... -
09:02 PM Revision 9d2fed2c (git): Don't echo results of assignment expressions
-
07:49 PM Bug #8590 (Closed): Second call of https.get results in timeout
- I think this was fixed by commit:711ece42cddc4737a4b1667b1f20ca74030d0255.
-
07:22 PM Bug #8542: BigMath::exp modifies its first argument
- As bigdecimal upstream is in a separate repository, I submitted a pull request for this: https://github.com/ruby/bigdecimal/pull/150.
-
07:06 PM Bug #8428 (Closed): Date#to_time yields incorrect value for Julian dates
-
06:59 PM Bug #8427 (Closed): gets method truncates strings longer than 255 characters in Windows 7
- I tried using `gets` with a string with 300 characters on Windows 10, and was not able to reproduce the error (no string truncation). I tried with various versions of Ruby as far back as 1.9.3. I'm not sure if this is still a problem o...
-
06:07 PM Bug #8274: No tests for PKCS7::write_smime
- I've added a pull request to add tests for read_smime and write_smime: https://github.com/ruby/openssl/pull/268
-
05:21 PM Revision 74726691 (git): Add details about parameters to define_method doc (#2165)
- When we use `define_method` and `define_singleton_method`,
if we supply block parameters to a block then a generated
method has corresponding parameters.
However, the doc doesn't mention it, so this info has been added. -
04:51 PM Revision 409ce8c3 (git): Also clean up branch for worktree
-
04:45 PM Revision d21616ee (git): Clean up temporary git resources
- after `make update-github`
-
04:38 PM Revision 2665e585 (git): Adding missing test for Net::HTTPGenericRequest initializer (#1835)
- A new exception is raised if an URI::HTTP is received and that object doesn't
have a hostname property.
Complementary to #1278 -
04:37 PM Revision 2f919a92 (git): Improve `make update-github` to avoid configure
- after doing it once.
-
04:18 PM Revision 789f1766 (git): Make `make update-github` idempotent
-
04:11 PM Revision d013d8e0 (git): Fix crash on $(PULL_REQUEST) expansion
- by directly passing it to Ruby without passing a shell.
Formerly it was broken when $(PULL_REQUEST) included quotes. -
03:42 PM Revision 7c46aa69 (git): Avoid confusion in Array#- and Array#difference docs (#2070)
- My previous attempt to correct #2068 apparently failed and the confusing
wording ("instances") was merged into trunk instead.
This should address any potential confusion. -
03:28 PM Bug #7475 (Closed): Unexpected behavior of Module#append_features on singleton class
- I believe this is not a bug, it is expected behavior. Class variable lookup for singleton classes is different from regular classes. Class variable lookup for singleton classes is (with example class A):
* Singleton Class (A.singlet... -
03:28 PM Revision 7704bbd6 (git): Marked up command line options [ci skip]
- 03:20 PM Revision d2070f2e (git): Fix doc in Object#respond_to_missing? (#2239)
- 03:02 PM Revision 715218c4 (git): * 2019-08-16 [ci skip]
-
03:00 PM Revision 40806793 (git): Fixed class, module and method references [ci skip]
-
02:59 PM Revision b1003301 (git): Fixed a markup in different format [ci skip]
-
02:50 PM Bug #16105 (Closed): heap-use-after-free in String#sub!
- Applied in changeset commit:git|d5c33364e3c0efb15e11df417c925afee2cdb9c9.
----------
Fixed heap-use-after-free
* string.c (rb_str_sub_bang): retrieves a pointer to the
replacement string buffer just before using it, for the case of
... -
02:39 PM Revision d5c33364 (git): Fixed heap-use-after-free
- * string.c (rb_str_sub_bang): retrieves a pointer to the
replacement string buffer just before using it, for the case of
replacement with the receiver string itself. [Bug #16105] -
12:34 PM Revision c4152b11 (git): Prepare to pull commits notes [ci skip]
-
12:26 PM Revision fff2b231 (git): Simplified GITHUB_TOKEN argument [ci skip]
-
06:54 AM Feature #16104: Introduce merge_if and merge_if!
- akash (Akash Gupta) wrote:
> The method `merge_if` / `merge_if!` will merge the passed hash in parameter only if the block evaluates to true, otherwise not. Similar to `count` method with a block.
What if the callee has more than one... -
04:49 AM Feature #16090: RUBY_ON_BUG envval to debug
- There is no comment so I pushed this change.
-
04:49 AM Feature #16090 (Closed): RUBY_ON_BUG envval to debug
- Applied in changeset commit:git|53a55aeff3d409b4894d077f2b3b874fac53e387.
----------
introduce RUBY_ON_BUG envval. (#2331)
`rb_bug()` is called at critical bug, MRI can't run anymore.
To make debug easy, this patch introduces RUBY_ON_B... -
04:48 AM Revision 53a55aef (git): introduce RUBY_ON_BUG envval. (#2331)
- `rb_bug()` is called at critical bug, MRI can't run anymore.
To make debug easy, this patch introduces RUBY_ON_BUG environment
variable to specify the process which is called with pid.
[Feature #16090] [GH #2331]
RUBY_ON_BUG='gdb -p' ... -
01:56 AM Bug #7311 (Closed): DRb test suite fails when hostname cannot be reached
- I also think the `0001-Fallback-to-localhost-if-hostname-is-not-associated-.patch` is a bad approach. We should not force localhost if the hostname given is not associated with an IP address. That sounds like a issue that should be rep...
-
01:52 AM Bug #6864 (Closed): bad value for range when using infinity with date or time
- I think this issue is now solved by beginless and endless ranges.
-
01:49 AM Bug #6527 (Rejected): WEBrick::HTTPResponse.header is a hash
- I don't think this is a bug. `WEBrick::HTTPResponse.header` is a hash, but the values are arrays. So if a request comes in with multiple `WWW-Authenticate` headers, `header['www-authenticate']` should contain an array of all `WWW-Authe...
-
01:41 AM Bug #6436 (Closed): Byte counting incorrect in BufferedIO (net/protocol.rb)
- It looks like this issue was fixed between Ruby 2.4 and 2.5:
```
$ ruby24 -rnet/http -e "p Net::HTTP.start('www.falcom.co.jp', 443, :use_ssl=>true){|http| http.request_get('/'){|res| res.read_body{|c| p c.bytesize; c.force_encoding ...
08/14/2019
-
11:55 PM Bug #6332 (Closed): Error compiling readline due username_completion_function being undeclared (GCC 4.6)
-
11:53 PM Bug #5618: Exceptions cause DRb connection to be closed
- This issue is unrelated to whether the client defines the same exception class as the server, and the behavior in my testing appears to be the same on 1.8 as in the master branch.
The underlying issue is that the example code here use... -
11:18 PM Bug #6275 (Closed): symbol not found: _environ on Mac OS X
- This should be fixed by commit:af35f2a61d8027df2e70012ae736f91ee0e41b85.
-
11:16 PM Bug #15449 (Closed): Range#=== is not using cover in Ruby 2.6
- Applied in changeset commit:git|6954ff1dcb538ee6c042872088b64464a1ef6089.
----------
Make Range#=== operate like cover? instead of include? for string ranges
Previously, Range#=== treated string ranges that were not endless or
beginles... - 11:16 PM Revision 132b7eb1 (git): * expand tabs. [ci skip]
-
09:25 PM Bug #5527 (Closed): set_trace_func binding incorrect
-
09:24 PM Feature #16104: Introduce merge_if and merge_if!
- Do
```ruby
a.each_with_object(b: 'Ball') {|(k, v), h| h[k] = v if v == 'Apple'}
```
or
```ruby
{b: 'Ball'}.merge(a.select{|k, v| v == 'Apple'})
```
-
08:51 PM Feature #16104: Introduce merge_if and merge_if!
- Hmmm. I have mixed feelings about it. I think being able to add something
into e. g. a Hash, based on a conditional inside of the method, may be useful.
We also have at the least one example of "_if", such as for Array:
.dele... -
06:09 PM Feature #16104: Introduce merge_if and merge_if!
- akash (Akash Gupta) wrote:
> The method `merge_if` / `merge_if!` will merge the passed hash in parameter only if the block evaluates to true, otherwise not. Similar to `count` method with a block.
For ex:
`a = {a: 'Apple'}`
`a.... -
06:07 PM Feature #16104 (Open): Introduce merge_if and merge_if!
- The method `merge_if` / `merge_if` will merge the passed hash in parameter only if the block evaluates to true, otherwise not. Similar to `count` method with a block.
-
09:18 PM Bug #5467 (Closed): ENABLE_VM_OBJSPACE on Windows
-
09:14 PM Revision 6954ff1d (git): Make Range#=== operate like cover? instead of include? for string ranges
- Previously, Range#=== treated string ranges that were not endless or
beginless the same as include?, instead of the same as cover?.
I think this was an oversight in 989e07c0f2fa664a54e52a475c2fcc145f06539d,
as the commit message did not ... -
09:11 PM Revision 082424ef (git): Fold to lowercase intead of uppercase for String#casecmp
- strcasecmp(3) and String#casecmp? both fold to lowercase.
-
07:41 PM Bug #16105 (Closed): heap-use-after-free in String#sub!
- #15946 caught my eye, so I ran the reproducer there through a build with AddressSanitizer (ASAN) enabled. It looks like String#sub! still has some corruption going on even after the memmove change.
Reproducer:
```
a = "AAAAAAAAAAAAA... -
06:23 PM Bug #15807 (Closed): Range#minmax is slow and never returns for endless ranges
- Applied in changeset commit:git|d5c60214c45bafc1cf2a516f852394986f9c84bb.
----------
Implement Range#minmax
Range#minmax was previous not implemented, so calling #minmax on
range was actually calling Enumerable#minmax. This is a simpl... -
06:23 PM Bug #15867 (Closed): Enumerable#minmax inconsistent behavior with Time ranges
- Applied in changeset commit:git|d5c60214c45bafc1cf2a516f852394986f9c84bb.
----------
Implement Range#minmax
Range#minmax was previous not implemented, so calling #minmax on
range was actually calling Enumerable#minmax. This is a simpl... -
06:22 PM Revision d5c60214 (git): Implement Range#minmax
- Range#minmax was previous not implemented, so calling #minmax on
range was actually calling Enumerable#minmax. This is a simple
implementation of #minmax by just calling range_min and range_max.
Fixes [Bug #15867]
Fixes [Bug #15807] -
06:22 PM Revision 661927a4 (git): Switch to using a VM stack argument instead of 2nd operand for getconstant
- Some tooling depends on the current bytecode, and adding an operand
changes the bytecode. While tooling can be updated for new bytecode,
this support doesn't warrant such a change. -
06:03 PM Bug #11718: Constant access on `nil`
- > I think it can be an operand of getconst than an argument on the stack, while it is always a constant.
No. It should not be an new operand because we need to change tools which depends on current bytecode. -
04:51 PM Bug #11718 (Closed): Constant access on `nil`
- Applied in changeset commit:git|fbcd0652944568c43a6ae427960d909d62ce6a8d.
----------
Remove support for nil::Constant
This was an intentional bug added in 1.9.
The approach taken here is to add a second operand to the
getconstant inst... -
04:08 PM Bug #11718: Constant access on `nil`
- nobu: I agree, making it an operand instead of a stack argument makes more sense. I'm currently testing a patch for that and will commit if it passes.
-
07:19 AM Bug #11718: Constant access on `nil`
- I think it can be an operand of `getconst` than an argument on the stack, while it is always a constant.
-
06:35 AM Bug #11718: Constant access on `nil`
- :+1: great patch! could you commit it?
-
05:51 AM Bug #11718: Constant access on `nil`
- This bug is still present in the master branch. Attached is a patch that fixes it. It adds a second argument to the getconstant instruction. It would probably be better for performance to add a separate instruction for the case where ...
-
05:44 PM Bug #15784 (Closed): RUBY_DEBUG=gc_stress dumps core
-
04:59 PM Revision 6ac6de84 (git): Use Qtrue/Qfalse instead of 1/0 for 2nd operand to getconstant
- Fixes error when using -Werror,-Wshorten-64-to-32.
- 04:51 PM Revision d053a570 (git): * expand tabs. [ci skip]
-
04:50 PM Revision fbcd0652 (git): Remove support for nil::Constant
- This was an intentional bug added in 1.9.
The approach taken here is to add a second operand to the
getconstant instruction for whether nil should be allowed and
treated as current scope.
Fixes [Bug #11718] -
04:17 PM Bug #16052 (Closed): net/http get_fields doesn't return correct value for set-cookie
- 04:00 PM Revision 7d32cb76 (git): * 2019-08-15 [ci skip]
-
04:00 PM Revision 938e0752 (git): Add `make update-github PR=1234` to refresh PR (#2368)
-
02:41 PM Revision e173012f (git): Drop obsoleted `make merge-github` task
-
02:35 PM Revision 7da40d74 (git): backtrace and backtrace_locations can be nil (#2358)
- Exception#backtrace and Exception#backtrace_locations can both be nil if
not set. The former can be set via `Exception#set_backtrace`, but the
later is only ever set at runtime via `setup_backtrace`. -
02:14 PM Feature #16101 (Assigned): Proc#to_s returns "... file:line" instead of "...@file:line"
- This change broke the minitest.
https://github.com/ruby/ruby/pull/2365/checks?check_run_id=193322770#step:10:168
-
07:25 AM Feature #16101 (Closed): Proc#to_s returns "... file:line" instead of "...@file:line"
- Applied in changeset commit:git|182a408c2c4113eb316c2a87e35880144afb4498.
----------
change Proc#to_s format ('@...' -> ' ...') (#2362)
Now Proc#to_s returns
"#<Proc:0x00000237a0f5f170@t.rb:1>".
However, it is convenient to select a fi... -
06:58 AM Feature #16101 (Closed): Proc#to_s returns "... file:line" instead of "...@file:line"
- In [Feature #14145],
https://bugs.ruby-lang.org/issues/14145#note-25
> I think (a space) is better, and it's what we use for Method#inspect in TruffleRuby.
> ...
I tried to introduce this change (`@` -> ` `).
# Compatibility issu... - 02:13 PM Revision 48e9155e (git): Remove strange formatting from English [ci skip]
- \vref is not valid doc syntax
-
02:02 PM Revision 9874dca3 (git): Mark bundler / bundled-gems as continue-on-failure
- because these tests have failed too often and it's false-positive for
checking healthiness of the master branch. -
01:36 PM Revision bf77f43b (git): Update the description of check_branch
-
01:22 PM Revision 8be52166 (git): Rename check_branch.master to pull_request.check_branch
- because it's shown as just "master" on a pull request which does not
have the check_branch.master job yet.
"check_branch" would be easier to understand and now we can grep it from
master branch. -
12:40 PM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #16103] Make the dot-colon method reference frozen
-
12:23 PM Feature #16103 (Closed): Make the dot-colon method reference frozen
- I made a PR to freeze the dot-colon method reference result object (https://github.com/ruby/ruby/pull/2267). Nobu asked to make an issue out of that. I initially discussed that with Matz and Ko1 during the hack challenge in Bristol.
H... -
10:36 AM Feature #15912: Allow some reentrancy during TracePoint events
- The idea is to avoid recursive calls to the same event, but allow other kind of reentrancy. With a real script:
```ruby
line_handler1 = TracePoint.trace(:line) do |tp| # L1
puts "Handler 1 starts (triggered fro... -
06:07 AM Feature #15912: Allow some reentrancy during TracePoint events
- > But then I thought that we could even allow events of the same type, as long as we forbid handlers currently being run from being triggered.
> ...
...
> The idea is running any possible relevant event handler as long as it's not alre... -
09:00 AM Feature #16102: `Symbol#call`
- I agree that `ary1.zip(ary2, ary3)` is asymmetric and uncool, but I don't like solving the issue by adding a method of Symbol. `:zip.(*arrays)` looks too cryptic and semantically hacky to me. Rather, I like your #8970: `Array.zip(ary1,...
-
08:37 AM Feature #16102: `Symbol#call`
- I have no particular pro/con opinion on the suggested functionality here itself.
In my opinion, this is mostly a design consideration for how "useful" matz
wants to see symbols being used in ruby. (This may not be directly related
t... -
07:00 AM Feature #16102: `Symbol#call`
- Related to #6499, #6727, #7444, #8970, #11262.
-
06:59 AM Feature #16102 (Open): `Symbol#call`
- Since symbols have a `to_proc` method, it is natural to expect that they would appear in a method chain like:
```ruby
:some_symbol.to_proc.call(...)
```
In fact, I have use cases like this:
```ruby
arrays = [["a", "b"], ["c"]... -
08:51 AM Feature #6727 (Feedback): Add Array#rest (with implementation)
- Now we have an endless range which allows us to write `arr[1..]`. It is much less hideous than `arr[1..-1]`, IMO. Do you still want `Array#rest`?
-
08:13 AM Bug #16097 (Closed): [PATCH] Don't accidentally name anonymous module/class
- Applied in changeset commit:git|c8f97596b7dd6ffbeb98970f9cc664b0a8a2336e.
----------
Don't accidentally name anonymous module/class
b00f280d4b9569e7153365d7e1c522b3d6b3c6cf introduced
an accidental behavior change in that defining a mo... -
01:23 AM Bug #16097: [PATCH] Don't accidentally name anonymous module/class
- Done. The [latest commit](https://github.com/ruby/ruby/pull/2337/commits/36e00760a42a09266521fc503a0bda7af632a4e3) has a reference to this ticket.
-
08:13 AM Revision c8f97596 (git): Don't accidentally name anonymous module/class
- b00f280d4b9569e7153365d7e1c522b3d6b3c6cf introduced
an accidental behavior change in that defining a module/class under
`m` gives `m` a name when `m` is anonymous.
`ruby -ve 'Module.new { class self::A; end; p name }'` outputs a name
si... -
07:30 AM Revision 1cffd5b4 (git): fix last commit.
- 07:25 AM Revision 0971460e (git): * expand tabs.
-
07:25 AM Revision 182a408c (git): change Proc#to_s format ('@...' -> ' ...') (#2362)
- Now Proc#to_s returns
"#<Proc:0x00000237a0f5f170@t.rb:1>".
However, it is convenient to select a file name by (double-)clicking
on some terminals by separating ' ' instead of '@' like
"#<Proc:0x00000237a0f5f170 t.rb:1>"
[Feature #16101] -
03:59 AM Feature #15915: `@1` cannot be achieved in meta-programming
- When I debug a proc which use the numbered parameters, I can not inspect the numbered parameters.
Because irb use Binding to evaluate input but the numbered parameters can not get from binding.
```ruby
square = -> {
binding.irb
... -
03:52 AM Bug #15924 (Closed): Ripper::Lexer RuntimeError - Ripper FATAL - master/trunk
-
03:51 AM Bug #15767 (Closed): .rvm/rubies/ruby-2.4.4/lib/ruby/2.4.0/timeout.rb:86: [BUG] Segmentation fault at 0x000000010ae58a3a
-
03:50 AM Bug #16100: Visibility modifiers don't call super correctly when overridden in alternative ways
- This issue is related to scope. In all cases, your call to `private` is calling ruby's default behavior. However, when you call `super`, it just changes the scope of the `super` call to `private`. The scope of your overridden `private...
-
03:05 AM Bug #16100 (Closed): Visibility modifiers don't call super correctly when overridden in alternative ways
- It seems that the method visibility modifiers don't call `super` correctly when they are overridden in certain ways. I expected the following examples to all behave the same since they are all being defined on the singleton class, but on...
-
03:08 AM Bug #15984 (Closed): deleting from a collection while iterating on it
-
03:08 AM Bug #15876 (Closed): 1.to_s.encoding != Encoding.default_internal
-
03:07 AM Bug #15904 (Closed): Ruby crashes when executing Pronto gem with Rubocop
-
03:07 AM Bug #15888 (Closed): Segmentation fault at 0x000070000afc2450 ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin18]
-
03:06 AM Bug #15835 (Closed): Path traversal symlink - WEBrick
-
03:06 AM Bug #15866 (Closed): [BUG] Segmentation fault at 0x0000000000000020
-
02:47 AM Revision 0623e2b7 (git): Suppress Uninitialized variables by Coverity Scan
- Coverity Scan says:
```
** CID 1452284: Uninitialized variables (UNINIT)
/eval.c: 223 in rb_ec_cleanup()
```
```
>>> CID 1452284: Uninitialized variables (UNINIT)
> ...
``` -
02:35 AM Feature #15371: IRB with ARGV
- I think this is a feature request, not a bug report. It does seem like a useful feature, so I've submitted a pull request to irb for it: https://github.com/ruby/irb/pull/22
-
02:20 AM Revision c744b626 (git): io.c: export rb_io_extract_modeenc
- * include/ruby/io.h (rb_io_enc_t): add typedef.
* io.c (rb_io_extract_modeenc): export. -
02:20 AM Revision cad41bb6 (git): [ruby/stringio] Supported BOM
- https://github.com/ruby/stringio/commit/b249631c43
-
02:20 AM Revision 22e942de (git): [ruby/stringio] Supported `mode:` option
- https://github.com/ruby/stringio/commit/53def32ba0
-
02:20 AM Revision 8b443078 (git): [ruby/stringio] Allow bignum mode
- https://github.com/ruby/stringio/commit/d28927b561
-
02:20 AM Revision e54d349a (git): [ruby/stringio] Added support for older versions
- https://github.com/ruby/stringio/commit/c4a13d41cd
https://github.com/ruby/stringio/commit/359c9f395c -
02:20 AM Revision c8f9e9a2 (git): [ruby/stringio] stringio: encoding support
- https://github.com/ruby/stringio/commit/7b20075ab0
-
01:52 AM Revision 765d6031 (git): Try to fix variable reference on Windows (#2361)
- https://github.com/ruby/ruby/runs/192869165
-
01:22 AM Revision 8a687b8a (git): Stop using official actions/checkout
- because it has been unstable, and also it sometimes does not work for a
pull request like:
https://github.com/ruby/ruby/pull/2358/checks?check_run_id=192685048#step:4:17 -
01:15 AM Bug #15244: Method #extname return empty string if filename is dot ('.')
- I agree that this is a bug. The comparison that nobu made with `basename(1)` is relevant, but unlike `File.basename`, `basename(1)` does not handle `.*` specially. You can see that `basename(1)` does actually strip the extension even f...
08/13/2019
-
11:49 PM Bug #15267: File.basename + File.extname does not restore the original name
- Attached is a patch that fixes this issue. With the patch:
```ruby
name = 'file.'
File.basename(name, '.*')
# => "file."
File.extname(name)
# => ""
``` -
11:48 PM Bug #16097: [PATCH] Don't accidentally name anonymous module/class
- Could you rebase the PR with adding this reference `[Bug #16097]` to the commit log?
-
11:10 PM Bug #15082 (Closed): Memory leak in net/http/response and net/http/header
-
10:44 PM Revision 216d2300 (git): Move some assertions to CoreAssertions. (#2354)
- They are used by default gems like forwardable.
* assert_raise_with_message
* assert_warning
* assert_warn -
09:27 PM Feature #15955: UnboundMethod#apply
- > I wonder that people use this pattern! (I'd never used it except test).
This pattern currently represents substantial fraction of allocations that Sorbet runtime does, so building a way to not allocate in this pattern might have a s... -
08:09 PM Misc #16094: Allow only "Rebase and merge" or "Squash and merge" on GitHub master branch, and sync it on git.ruby-lang.org update hook
- It's a good idea since it can save a lot of time for maintainers.
-
12:36 PM Misc #16094 (Closed): Allow only "Rebase and merge" or "Squash and merge" on GitHub master branch, and sync it on git.ruby-lang.org update hook
- While this feature is still experimental, I wrote a script to automatically check the consistency between Git repositories every 10 minutes. So it's somewhat safe now, and we'd be able to always restore the repository from logs. I'll tak...
-
04:56 PM Feature #15609: Kernel#sleep returns Float instead of Integer
- Hi, I don't know if anyone still wants this feature, but, since I wanted to get started contributing to ruby, I have implemented the following changes in my patch. Should an integer be entered into the function, the function acts like it...
- 03:23 PM Revision 930e637c (git): * 2019-08-14
-
03:23 PM Revision 8827697e (git): Compare actual result
-
02:42 PM Bug #16099 (Closed): UTF-16LE BOM followed by '\0' is missed
- Applied in changeset commit:git|5b1bf8dd2d08ae7371ecf025967376bb794ed651.
----------
UTF LE is fixed at least the first 2 bytes
* io.c (io_strip_bom): if the first 2 bytes are 0xFF0xFE, it
should be a little-endian UTF, 16 or 32. [Bug... -
02:22 PM Bug #16099 (Closed): UTF-16LE BOM followed by '\0' is missed
- ```
$ ruby -e 'File.binwrite("u.txt", "\xff\xfe\x00\x01")'
$ file u.txt
u.txt: Little-endian UTF-16 Unicode text, with no line terminators
$ ruby -e 'p File.open("u.txt", "rb:bom|utf-8", &:external_encoding)'
#<Encoding:UTF-8>
```... -
02:38 PM Revision 5b1bf8dd (git): UTF LE is fixed at least the first 2 bytes
- * io.c (io_strip_bom): if the first 2 bytes are 0xFF0xFE, it
should be a little-endian UTF, 16 or 32. [Bug #16099] -
02:36 PM Revision 79f9c626 (git): Use the official actions/checkout again (#2357)
- because clone does not checkout exact commit sha, and also we'd need to handle
pull_request on fork, so I tentatively stopped to do this. - 02:00 PM Revision c393734c (git): * expand tabs.
-
02:00 PM Revision dd1344b8 (git): Add compaction callbacks for Enumerator
- This commit gives Enumerator compaction support
-
01:56 PM Revision 94ca848c (git): Update the comment in check_branch [ci skip] (#2355)
-
01:48 PM Bug #16026: `Set#count` performance issues
- it might not be able to be generic in Enumerable
for example an Widget might be Enumerable with the child widgets, but its size would be `[width, height]`
for Set#count
```ruby
class Set
def count(*args)
return size if ... -
11:19 AM Bug #16026: `Set#count` performance issues
- I agree that the `return size if !block_given? && respond_to?(:size)` logic should belong to Enumerable. (oh, and also if `item` is not given)
-
01:04 AM Bug #16026: `Set#count` performance issues
- I was okay with changing my implementation to use `#size` - which is what I've done. However, I don't think there is anything wrong with optimising this use case if it doesn't add any overhead to existing use case. Because `Array` does i...
-
01:21 PM Feature #15912: Allow some reentrancy during TracePoint events
- Yes, that was initial proposal (to prohibit other events of the same type, while a handler for a certain event type is running). But then I thought that we could even allow events of the same type, as long as we forbid handlers currently...
-
08:14 AM Feature #15912: Allow some reentrancy during TracePoint events
- Your proposal is, prohibit "same" tracepoint object, right? I misreading that your suggestion is to prohibit same event (when line event handler is working, other line event handler can't be fired, but :class event handler can fire).
... -
12:11 PM Revision e75e548c (git): spec/bundler needs the specific command [ci skip]
-
10:15 AM Feature #15815: Add option to raise NoMethodError for OpenStruct
- What about adding block arguments to `OpenStruct.new` like `Hash` instead of options?
```ruby
h = Hash.new {|hash, key|
raise(IndexError, "hash[#{key}] has no value")
}
# Error: in `block in <main>': hash[1] has no value (Inde... -
09:30 AM Feature #15815: Add option to raise NoMethodError for OpenStruct
- ko1-san
Sorry for being late.
I've added https://bugs.ruby-lang.org/issues/15996?next_issue_id=15993&prev_issue_id=15998#note-17 -
09:29 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #15815] Add option to raise NoMethodError for OpenStruct (mtsmfm)
* We can use `Symbol#to_proc` with enumerable stuff when we use OpenStruct instead of Hash. For example: `OpenStruct.new(JSON.parse(users)).map(&:id)`
* B... -
06:39 AM Revision d0b2e641 (git): Pass rb_execution_context_t* in ruby_run_node
-
06:27 AM Revision ffab84fa (git): Fix a typo [ci skip]
-
05:31 AM Bug #15070 (Closed): configure fails with (probably spurious) 'something wrong with CFLAGS="-g -O2 "' on macOS High Sierra
-
05:31 AM Bug #15001 (Closed): Peek causes cursor to advance when enumerating the lines of a file
-
05:29 AM Bug #14976 (Closed): /usr/local/lib/ruby/gems/2.6.0/gems/fluentd-1.2.4/lib/fluent/event.rb:193: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.6.0preview1 (2018-02-24 trunk 62554) [x86_64-linux]
-
05:28 AM Bug #14910 (Closed): /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/x86_64-darwin17/openssl.bundle: [BUG] Segmentation fault at 0x0000000000000001
-
05:27 AM Bug #14879 (Closed): Time#+ and Time#- do not preserve receiver's utc_offset if ENV['TZ'] is modified after receiver is created
-
05:27 AM Bug #14849 (Closed): rbenv install 2.4.0 on AWS EC2 on AMI linux box
-
05:26 AM Bug #14810 (Closed): Segfault during travis build (Ruby trunk 63545)
-
05:26 AM Bug #14740 (Closed): You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome.
-
05:22 AM Bug #14614 (Closed): Error when running `make update-gems`
-
05:22 AM Bug #14583 (Closed): #method() is reporting the wrong self in exception
-
05:21 AM Bug #14569 (Closed): Ruby dumps core involving XML file
-
05:15 AM Bug #14026 (Closed): RUBY ERROR ON DIVISION with FDIV
-
05:10 AM Bug #13811 (Closed): Ruby 2.4.1 fails to compile inside qemu armhf - signal 11 (Segmentation fault)
-
05:09 AM Bug #13783 (Closed): Memory allocation / GC does not free unused memory
-
04:54 AM Bug #12787 (Closed): Stackoverflow over when alias_method and prepend are used in combination
-
04:52 AM Bug #12679 (Closed): Failed to build ruby on aarch64 with musl libc and gcc 6
-
04:52 AM Bug #12603 (Closed): Segmentation fault random in irb with ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux-musl]
-
04:50 AM Bug #12476 (Closed): Cygwin current Ruby 2.2.4p230 fails where prev Ruby 2.2.3p173 does not
-
04:50 AM Bug #12465 (Closed): I encountered this issue when I ran rspec
-
04:47 AM Bug #12207 (Closed): [BUG] Segmentation fault at 0x00000000000000 ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
-
04:40 AM Bug #11869 (Closed): random hang/SegFault when accessing a missing constant in irb
-
04:20 AM Bug #11542 (Closed): Zlib::DataError: incorrect data check
-
04:18 AM Bug #11511 (Closed): Problem with cyrillic letter И
-
04:18 AM Bug #11490 (Closed): Allocation tracer sometimes attributes allocations to the wrong source file/line
-
04:16 AM Bug #11459 (Closed): Ruby leaks several MB of memory every setup/eval/cleanup cycle.
- `ruby_cleanup` should only be called once per process, before exiting (either via `main`->`ruby_run_node` or `ruby_stop`). It is not expected to free all memory allocated earlier, since the process will be exiting and the operating syst...
-
04:03 AM Bug #11443 (Closed): DNS name resolution takes twice as long as it should when primary name server is unavailable
-
03:24 AM Revision 75d9fa8b (git): Detect VCS from the current directory by default [ci skip]
-
03:24 AM Revision 0d1af9f9 (git): Push commits notes too [ci skip]
- 02:20 AM Revision f78916e3 (git): * expand tabs.
-
02:03 AM Revision c215a6f2 (git): Removed non-VM_OBJSPACE code
- It has not been used for 4 years, since r60856,
e33b1690d06f867e45750bd8e3e8b06d78b5bc26. -
01:56 AM Revision 2f744f53 (git): Refactored `objspace_each_objects`
- As `rb_objspace_each_objects_without_setup` doesn't reset and
restore `dont_incremental` flag, renamed the bare iterator as
`objspace_each_objects_without_setup`. `objspace_each_objects`
calls it when called with the flag disabled, wrap... -
01:33 AM Revision 0c1c42c4 (git): Move rb_objspace_t* in objspace_reachable_objects_from_root to an argument
- 12:50 AM Revision aec93417 (git): * expand tabs.
-
12:47 AM Revision ac656bc2 (git): Hoisted out GPR_DEFAULT_REASON
-
12:47 AM Revision 917d7665 (git): Move rb_objspace_t* in gc_verify_internal_consistency to an argument
-
12:47 AM Revision 0c2d81da (git): Renamed ruby_finalize_{0,1}
- And pass rb_execution_context_t as an argument.
-
12:00 AM Bug #11478 (Closed): symlinks support broken on win32
08/12/2019
-
11:59 PM Bug #11467 (Closed): Memory leak in win32 signal init
-
11:57 PM Bug #11442 (Closed): Bug: Symbols should be taintable.
- Ruby makes `taint` and `untaint` just return the receiver if called on any object that is not considered taintable. That includes all immediate objects (symbols, integers(fixnums), true, false, nil), as well as integers(bignums) and flo...
-
11:37 PM Bug #11437 (Closed): IO.pipe problem on windows console
-
11:35 PM Bug #11399 (Rejected): Regexp's free-spacing mode adding whitespace to character classes
- This is not a bug. The documentation suggestions the use of character classes if you want to match whitespace (https://docs.ruby-lang.org/en/trunk/regexp_rdoc.html#label-Free-Spacing+Mode+and+Comments).
-
11:33 PM Bug #11381 (Closed): String のサブクラスをハッシュのキーに指定した時に hash メソッドが呼ばれない
-
11:33 PM Bug #11359 (Closed): scalar_scanner segmentation fault
-
11:27 PM Bug #11261 (Closed): Time.parse of javascript formatted timestamp: wrong results in certain timezones
-
11:22 PM Bug #11214 (Closed): Cannot Get Correct Binding from inside of C Method
-
11:21 PM Bug #11205 (Closed): Problem with __dir__ or it's description
- I don't think this is a bug in `__dir__`. It's just that `__FILE__` inside `eval` depends on either the binding or file argument given to `eval` (in Ruby 3, it will only depend on the file argument, see #4352).
If you rewrite your ex... -
11:06 PM Bug #4352 (Open): [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
-
10:59 PM Bug #11189: alias prepended module
- ko1 (Koichi Sasada) wrote:
> ちなみに、私の予想は
> ...
This output would be against my expection. If `C1` prepends `P`, then methods in `P` must be considered before methods in `C1`. Consider `C1.ancestors`:
```ruby
[P, C1, C0, Object, Ke... -
10:23 PM Bug #11188: Method#inspect for chaining alias methods
- I agree with ko1's opinion. Attached is a patch that implements his proposal.
Note that this change cannot be made in `method_inspect`, because at that time, the necessary information has already been lost. To implement ko1's propos... -
09:13 PM Bug #14972: Net::HTTP inconsistently raises EOFError when peer closes the connection
- naruse (Yui NARUSE) wrote:
> joshc (Josh C) wrote:
> ...
If you save the first response body, and make a new request with ```Range: bytes=X-Y```, then the `Content-Length` header in the second response should specify the number of byte... -
08:44 PM Revision aac4d9d6 (git): Rename rb_gc_mark_no_pin -> rb_gc_mark_movable
- Renaming this function. "No pin" leaks some implementation details. We
just want users to know that if they mark this object, the reference may
move and they'll need to update the reference accordingly. -
06:08 PM Bug #11175 (Closed): possible fibers memory leak or risky GC behavior
-
06:02 PM Bug #11160 (Closed): Subclasses of Proc converted when passed to a block
- This was fixed between Ruby 2.2 and 2.3:
`t.rb`:
```ruby
class MyClass < Proc
end
def foo (&x)
p [:foo, x.class]
end
x = Proc.new {|&x| p [:x, x.class]}
z = MyClass.new {}
foo &z
x.call &z
```
output:
```
$ ruby2... -
05:55 PM Bug #11152: Resolv::DNS should use Search Domains provided in /etc/resolv.conf by default
- It looks like the problem is a kubernetes-specific issue. With your `resolv.conf` file, I get the following for `Resolv::DNS::Config.default_config_hash`:
```
{:nameserver=>["10.7.240.10"], :search=>["staging.svc.cluster.local", "sv... -
05:25 PM Bug #11134 (Closed): resolution of "localhost" in windows server 2012 (ipv6 over ipv4)
- I don't think this is a bug. `TCPServer.new` binds to the first address that matches for the hostname. In your example, you are explicitly binding to the IPv6 address and not the IPv4 address, so if the DNS resolution in your environme...
-
05:13 PM Bug #11102 (Closed): Segmentation fault while running the db:create command in Rails
-
05:01 PM Bug #10691 (Closed): Bad or Non-existent class names listed on 'Index of Files, Classes & Methods in Ruby' page.
- Applied in changeset commit:git|404850e13446c79fb6142f1b32b219753e5cd726.
----------
Remove documentation that fatal cannot be rescued [ci skip]
You can rescue it:
f = ObjectSpace.each_object(Class){|c| break c if c.name == 'fatal'}
b... -
05:34 AM Bug #10691: Bad or Non-existent class names listed on 'Index of Files, Classes & Methods in Ruby' page.
- ```ruby
Thread.start{Thread.stop}
begin
Thread.stop
rescue Exception => fatal
p fatal.class #=> fatal
end
``` -
04:56 AM Bug #10691: Bad or Non-existent class names listed on 'Index of Files, Classes & Methods in Ruby' page.
- The documentation is not accurate indeed.
To be accurate, it is impossible to rescue the `fatal` raised by `rb_fatal` function. -
02:49 AM Bug #10691: Bad or Non-existent class names listed on 'Index of Files, Classes & Methods in Ruby' page.
- `Complex::compatible`, `unknown`, `Rational::compatible` were removed by Ruby 2.6.0. `fatal` is still documented, but that exists even though you cannot reference it directly:
```ruby
f = ObjectSpace.each_object(Class){|c| break c i... -
04:56 PM Revision 404850e1 (git): Remove documentation that fatal cannot be rescued [ci skip]
- You can rescue it:
f = ObjectSpace.each_object(Class){|c| break c if c.name == 'fatal'}
begin
raise f
rescue f
2
end # => 2
It's not a good idea to rescue fatal exceptions you didn't generate
yourself, though.
Fixes [Bug #10691] -
04:53 PM Misc #16094 (Assigned): Allow only "Rebase and merge" or "Squash and merge" on GitHub master branch, and sync it on git.ruby-lang.org update hook
- This is almost implemented. It's still under testing and only available for admin now, but you may see some usages for testing. I'll add one more guard and then enable "write" to merge pull requests for ruby-committers team.
I also no... -
11:26 AM Misc #16094: Allow only "Rebase and merge" or "Squash and merge" on GitHub master branch, and sync it on git.ruby-lang.org update hook
- Experimentally, I'll move GitHub sync from post-receive hook to update hook, which blocks git push a little more. Still most of the behavior would be the same, but you might feel git push became slower.
-
08:09 AM Misc #16094: Allow only "Rebase and merge" or "Squash and merge" on GitHub master branch, and sync it on git.ruby-lang.org update hook
- > we found that we could automatically attach notes to "Rebase and merge"d commits on our git.ruby-lang.org's post-commit hook.
I implemented this in https://github.com/ruby/ruby-commit-hook/blob/d05f66c9df2eabe45f7cb1d8bd3d51c356144e... -
04:45 PM Revision 3979f22c (git): Explain the current status of branches [ci skip] (#2350)
- 04:34 PM Revision e688ab26 (git): * expand tabs.
-
04:34 PM Revision 6749682f (git): also unpin `final` on weak maps
-
04:34 PM Revision 76a928ba (git): Unpin default value objects
- We're already updating the location of default values, so we may as well
unpin them. -
04:29 PM Revision 4e418a6c (git): Update check_branch description a little [ci skip]
-
04:21 PM Revision 957bdfba (git): Update docs to use more natural English
- Just a few updates to make the English sound a bit more natural
-
04:03 PM Revision 0f10828f (git): Fix a typo [ci skip]
- 03:51 PM Revision 4d3fb247 (git): * 2019-08-13
-
03:48 PM Revision b8b5e7d5 (git): Stop rewriting message to include PR URL
-
02:44 PM Revision edd25382 (git): Add a quick job to be used for branch protection
-
02:28 PM Revision 8d302c91 (git): string.c (rb_str_sub, _gsub): improve the rdoc
- This change:
* Added an explanation about back references except \n and \k<n>
(\` \& \' \+ \0)
* Added an explanation about an escape (\\)
* Added some rdoc references
* Rephrased and clarified the reason why double escape is needed, ... -
11:41 AM Revision 3fc10eff (git): date_parse.c: trim off
- * ext/date/date_parse.c (date_zone_to_diff): trim off by zone name
length. -
11:41 AM Revision d96feee3 (git): date_parse.c: avoid copying
- * ext/date/date_parse.c (date_zone_to_diff): get rid of copying
the whole argument string. -
11:40 AM Revision e6a0a954 (git): Add another test for frame omitted inlining
-
11:20 AM Revision a5f93060 (git): Simplify sudo specification
-
11:11 AM Revision 18838105 (git): added --disable-install-doc to Windows workflow of GitHub Actions
- Closes: https://github.com/ruby/ruby/pull/2346
-
11:11 AM Revision ab3ab07b (git): Removed configuration of Azure Pipelines
-
11:11 AM Revision 8d50bf40 (git): Try to nmake test
-
11:11 AM Revision 0fd0f745 (git): Try to merge windows 2016 and 2019
-
11:11 AM Revision 040bf4c0 (git): Added windows-2019 workflow
-
11:11 AM Revision 981f0be6 (git): Try to nmake
-
11:11 AM Revision bbc5e97b (git): Migrate Windows 2016 env to GitHub Actions from AzurePipelines
-
10:52 AM Revision 1bec27f0 (git): Add exec to apt-get update
- to propagate exit status to travis_retry properly.
-
10:13 AM Revision f9149c55 (git): Minor wording fix in NEWS [ci skip]
- pushing a trivial commit for testing post-receive hook
-
10:02 AM Revision 066a3498 (git): Include commits notes in ChangeLog
-
09:34 AM Misc #16091 (Closed): gsub
-
08:55 AM Revision 5edf921e (git): Revert "Roughly retry `brew update` on GitHub Actions"
- This reverts commit 5ee11a95ffbf194a73d1bea300a35f5d6250d203.
Sorry, timeout(1) was missing. -
08:46 AM Revision 927a43a5 (git): Drop unused ccache
- unlike Travis, it seems not used.
-
08:44 AM Revision 5ee11a95 (git): Roughly retry `brew update` on GitHub Actions
- because it has failed often on Travis.
-
08:15 AM Feature #14164: [Suggestion] Type system for ruby 3x to be usable for e. g. rubocop or autogenerating crystal code and so forth
- >> Crystal is in many ways similar to ruby;
> ...
To the best of my memory/understanding, it is not a myth, but a _historical_ fact: Crystal started as an attempt to just make a "compiled Ruby" (probably with type system, but "invisib... -
07:37 AM Revision d5250808 (git): Try testing openssl@1.1 on GitHub Actions
- because somebody may want to remove the duplicated Travis osx usage
later. - 07:11 AM Revision 765cc17c (git): Update IRB man page
-
06:14 AM Revision 0d0ff827 (git): rb_trap_exec has been removed since 1.9
-
05:37 AM Revision b1ef1417 (git): We did not have tool/ before checkout
- anyway we don't need authorization here.
Also retry does not seem to work in the original version, so let's
extend this with retries as a separate github action later. -
05:30 AM Revision 4f10a61e (git): Stop relying on actions/checkout
- because it randomly fails on authorization like:
https://github.com/ruby/ruby/runs/190887455
Also the backoff seems too short. Maybe we need tool/travis_retry.sh for
this too.
Cloning ruby/ruby does not need authorization. We don't need... -
05:11 AM Revision 2b3d84d5 (git): Use rev-parse
- Use simpler rev-parse to check if pull request was fetched.
-
04:48 AM Bug #10453: NUM2CHR() does not perform additional bounds checks
- As `CHR` should stand for `char` type of C, so exceeding the limit of `char` will make confusion, I guess.
I'm curious for what purpose @silverhammermba needs the range check.
If it is to get a codepoint, I don't think extracting the... -
02:41 AM Bug #10453: NUM2CHR() does not perform additional bounds checks
- Attached is a patch that will add a range check to `NUM2CHR`. However, it breaks a test:
```
1) Error:
TestStringIO#test_putc_nonascii:
RangeError: value to large to convert to char: 12356
/home/jeremy/tmp/ruby/test/stringio/... -
04:45 AM Revision b1ad628c (git): Resurrect travis_wait for test-all
- as we dropped -v.
-
04:37 AM Bug #10778 (Rejected): `defined?(expr)` should be equivalent to `defined? (expr)` not `(defined? expr)`
- In Ruby, a space before an opening parenthesis often has significant meanings.
Combining `defined?(a)` higher than `&&` is considered reasonable. -
02:21 AM Bug #10778: `defined?(expr)` should be equivalent to `defined? (expr)` not `(defined? expr)`
- There isn't a description of the actual problem caused by this behavior, but I'm guessing, it is something like this:
```ruby
defined? a && defined? b # defined?(a && defined? b)
# => "expression"
defined? (a) && defined? (b) # d... -
04:02 AM Bug #11055: autoload resets private_constant
- I doubt dropping the existing constant visibility information is intentional behavior. You can work around the current behavior by resetting `private_constant`/`deprecate_constant` inside the autoloaded file, but that leads to duplicati...
- 03:59 AM Revision 63d3c4fe (git): * 2019-08-12
-
03:58 AM Revision bf1f8729 (git): Removed duplicated jobs with GitHub Actions.
- Closes: https://github.com/ruby/ruby/pull/2340
-
03:45 AM Bug #16098 (Closed): SEGV with RUBY_ISEQ_DUMP_DEBUG=to_binary make check
- I get a SEGV in `TestSetTraceFunc` when I run `env RUBY_ISEQ_DUMP_DEBUG=to_binary make check`.
The crash doesn't happen when I run just that test file with `make test-all TESTOPTS="test/ruby/test_settracefunc.rb"`.
I only investigated ... -
03:14 AM Revision ed9d59af (git): Added example filter for Linux of GitHub Actions.
-
03:14 AM Revision 8a8f680f (git): Re-use GITHUB_ACTION variables for filtering bundler examples.
-
03:14 AM Revision e96321d0 (git): Removed make check
-
03:14 AM Revision fc97aa93 (git): Fixed the world writable dirs on Ubuntu environment.
-
03:14 AM Revision cfb192a7 (git): Added test-bundled-gems to GitHub Actions
-
03:01 AM Revision 11a09d78 (git): Port ubuntu workflow based on macos
-
02:51 AM Bug #10895 (Closed): /usr/lib/ruby/2.2.0/socket.rb:232: [BUG] rb_sys_fail(getaddrinfo) - errno == 0
-
02:23 AM Bug #10655 (Closed): Segmentation fault on chef-client run
-
02:23 AM Bug #10788 (Closed): Timeout not work with socket
-
02:23 AM Bug #10789 (Closed): X-forwarded-Proto required when using Reverse Proxy
-
02:22 AM Bug #10842 (Closed): rake update to 10.4.2 -> Segmentation fault : ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]
-
01:58 AM Bug #10626 (Closed): BUS error from nesting lambda's and calls to methods defined with define_method
-
01:58 AM Bug #10632 (Closed): 2.2rc1 Fails to Compile with Mingw64 NET_LUID