Граф коммитов

242 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Evans 4adb012926 Anonymous block forwarding allows a method to forward a passed
block to another method without having to provide a name for the
block parameter.

Implements [Feature #11256]

Co-authored-by: Yusuke Endoh mame@ruby-lang.org
Co-authored-by: Nobuyoshi Nakada nobu@ruby-lang.org
2021-11-18 14:17:57 -08:00
Jeremy Evans ab737b1919 Update documentation for Module#{private,public,protected,module_function}
Also, update NEWS for this change and the Kernel#load change.
2021-11-18 10:51:14 -08:00
Samuel Williams 4b89034218 IO::Buffer for scheduler interface. 2021-11-10 19:21:05 +13:00
Kazuhiro NISHIYAMA 56b90cf944
Fix a typo and add `IO.` [ci skip] 2021-11-10 14:09:08 +09:00
Kazuhiro NISHIYAMA 1d609707b4
Fix a link [ci skip] 2021-11-09 11:30:03 +09:00
Peter Zhu e014c9d607 [ci skip] Update NEWS.md for [Feature #18290] 2021-11-08 16:41:03 -05:00
Yusuke Endoh aa5bccfc65 NEWS.md: Mention Process._fork [[Feature #17795]] 2021-11-09 03:38:42 +09:00
Kazuhiro NISHIYAMA ffd8592ebc
Update stdlib version 2021-10-29 10:58:56 +09:00
osyo-manga d51ba1e1be
Add changes Enumerable#each_cons and each_slice in NEWS [ci skip] 2021-10-28 18:21:27 +09:00
Kazuhiro NISHIYAMA 9fc2f5375d
Sort URLs by issue numbers [ci skip] 2021-10-27 16:55:29 +09:00
Kazuhiro NISHIYAMA 219f54152a
Update stdlib versions 2021-10-27 16:22:04 +09:00
Jeremy Evans 717ab0bb2e
Add Class#descendants
Doesn't include receiver or singleton classes.

Implements [Feature #14394]

Co-authored-by: fatkodima <fatkodima123@gmail.com>
Co-authored-by: Benoit Daloze <eregontp@gmail.com>
2021-10-26 12:35:21 -07:00
Kazuhiro NISHIYAMA aa09c8dae0
Fix links [ci skip] 2021-10-25 08:38:44 +09:00
Sutou Kouhei 53dcb3541b NEWS: StringScanner 3.0.1 is released 2021-10-24 05:57:48 +09:00
Sutou Kouhei 76e277a081 NEWS: CSV 3.2.1 is released 2021-10-24 05:57:33 +09:00
Sutou Kouhei 7246c5b811 NEWS: Fiddle 1.1.0 is released 2021-10-23 06:03:57 +09:00
Koichi Sasada 199ba9c377 update NEWS about last commits. 2021-10-23 01:38:05 +09:00
Maxime Chevalier-Boisvert 32a8cb965c
Add link to YJIT blog post to NEWS.md
Requested by @nurse
2021-10-21 12:49:58 -04:00
Hiroshi SHIBATA d74f1e1623
Added version of readline-ext 2021-10-21 21:19:16 +09:00
Hiroshi SHIBATA 03fd60937d
Update the merged versions of default gems. 2021-10-21 21:07:23 +09:00
Shugo Maeda 6606597109
Deprecate include/prepend in refinements and add Refinement#import_methods instead
Refinement#import_methods imports methods from modules.
Unlike Module#include, it copies methods and adds them into the refinement,
so the refinement is activated in the imported methods.

[Bug #17429] [ruby-core:101639]
2021-10-21 16:31:54 +09:00
Maxime Chevalier-Boisvert 8684946b21 Add bit about YJIT to NEWS.md 2021-10-20 19:15:45 -04:00
Hiroshi SHIBATA 5322745b29
Added entries about default gems and bundled gems 2021-10-20 20:13:09 +09:00
Yusuke Endoh 7c01cf4908 NEWS.md: Add error_highlight section 2021-10-20 11:05:05 +09:00
Koichi Sasada 07b87f7979 add NEWS entries about debug.gem 2021-10-20 10:18:54 +09:00
卜部昌平 e2976fd1f6 add NEWS entry for https://github.com/ruby/ruby/pull/4815 2021-09-22 17:59:28 +09:00
Nobuyoshi Nakada aa3d8388c0
NEWS for [Feature #18172] [ci skip] 2021-09-16 19:55:31 +09:00
Shugo Maeda 5f1385bec0
Add a newline [ci skip] 2021-09-16 17:31:39 +09:00
Shugo Maeda 81fd91ab1b
Add details of Hash value ommission [ci skip] 2021-09-16 17:29:48 +09:00
Shugo Maeda 297f9b8d4c
Add documentation and tests for keyword argument value omission
[Feature #14579]
2021-09-11 20:23:36 +09:00
Nobuyoshi Nakada d05ef38865
[DOC] NEWS for [Feature #14579] [ci skip] 2021-09-11 19:20:16 +09:00
Nobuyoshi Nakada 8e832ea031
[DOC] Fixed indents in NEWS.md [ci skip] 2021-09-11 19:19:39 +09:00
Kazuhiro NISHIYAMA d7da5ca5e1
Fix links [ci skip] 2021-08-22 22:27:29 +09:00
Martin Dürst 21fd83a823 Mention update to Unicode Version 13.0.0 and Emoji Version 13.1
Mention the update to Unicode Version 13.0.0 and Unicode Emoji
Version 13.1 in NEWS.md. This completes issue #17750. [ci skip]
2021-08-17 17:08:59 +09:00
Takashi Kokubun ee362302c0
Revert "Pause an MJIT worker when JIT is cancelled"
This reverts commit b64f81c817.

It seems to cause a problem in --jit / --jit-wait CIs. Reverting for now.
2021-08-13 09:13:09 -07:00
Takashi Kokubun ac4d53bd46
Don't cancel JIT-ed code on TracePoint :class
events get enabled
2021-08-12 23:26:44 -07:00
Takashi Kokubun b64f81c817
Pause an MJIT worker when JIT is cancelled 2021-08-12 23:15:34 -07:00
Takashi Kokubun b3f8c491ef
Print JIT cancel when all JIT-ed code is cancelled 2021-08-12 23:11:38 -07:00
Kazuhiro NISHIYAMA a97837de1a
Fix a link [ci skip] 2021-08-05 17:25:17 +09:00
Nobuyoshi Nakada 8cc18703cf
[NEWS] added [Feature #17798] [ci skip] 2021-07-23 12:43:51 +09:00
Nobuyoshi Nakada 5385731374
[NEWS] adjusted formats [ci skip] 2021-07-23 12:41:01 +09:00
Kazuki Tsujimoto eed5e8f796
One-line pattern matching is no longer experimental
https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20210715Japan.md#feature-17724-make-the-pin-operator-support-instanceclassglobal-variables-jeremyevans0
2021-07-17 11:13:52 +09:00
Nobuyoshi Nakada 301d194ee3 Add Integer.try_convert [Feature #15211] 2021-07-16 17:49:53 +09:00
Nobuyoshi Nakada 25689024cf
Added code fence to the example in [Feature #17724] [ci skip] 2021-07-16 11:26:30 +09:00
Jeremy Evans fa87f72e1e Add pattern matching pin support for instance/class/global variables
Pin matching for local variables and constants is already supported,
and it is fairly simple to add support for these variable types.

Note that pin matching for method calls is still not supported
without wrapping in parentheses (pin expressions).  I think that's
for the best as method calls are far more complex (arguments/blocks).

Implements [Feature #17724]
2021-07-15 09:56:02 -07:00
NARUSE, Yui 835c63cd88 Add tests and NEWS [Feature #18008] 2021-07-15 18:21:49 +09:00
Patrik Ragnarsson 8f62f12c35 Fix typo in flag in NEWS.md 2021-07-15 16:16:51 +09:00
Samuel Williams 42130a64f0
Replace copy coroutine with pthread implementation. 2021-07-01 11:23:03 +12:00
Kazuhiro NISHIYAMA 87e52ee38b
Fix a link [ci skip] 2021-06-23 09:23:54 +09:00
Samuel Williams eef3c08edc
Fix NEWS formatting. 2021-06-22 23:18:40 +12:00