aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [rubygems/rubygems] Fix invalid links in documentation. - wrap ENV variables ↵Josef Šimánek2023-10-034-4/+4
| | | | | | in <code> - fix rubygems.org link - fix zenspider.com link https://github.com/rubygems/rubygems/commit/9eaac94a63
* [rubygems/rubygems] 🐛 Specification of branch or ref with tag is ambiguousPeter Boling2023-10-032-29/+91
| | | | | | | - Specs for GitProxy were incorrect and insufficient - Specs are now correct and less insufficient https://github.com/rubygems/rubygems/commit/63d0a8cfd0
* [rubygems/rubygems] 🚨 Rubocop LintingPeter Boling2023-10-037-12/+12
| | | | https://github.com/rubygems/rubygems/commit/2851e051c3
* [rubygems/rubygems] Fix typo: eglible -> eligible.Josef Šimánek2023-10-034-54/+54
| | | | https://github.com/rubygems/rubygems/commit/1e487e1337
* [ruby/csv] [DOC] Fix broken linksBurdette Lamar2023-10-031-12/+4
| | | | | | (https://github.com/ruby/csv/pull/283) https://github.com/ruby/csv/commit/af64a15b2f
* [ruby/csv] Add CSV::InvalidEncodingErrorKosuke Shibata2023-10-034-10/+17
| | | | | | | | | (https://github.com/ruby/csv/pull/287) To handle encoding errors in CSV parsing with the appropriate error class https://github.com/ruby/csv/commit/68b44887e5
* [DOC] State the precision of `Process.times` as platform-definedNobuyoshi Nakada2023-10-032-27/+1
| | | | | Remove the bad example that can lead to misunderstanding as if this precision is defined in Ruby.
* Check by integer modulo instead of float stringNobuyoshi Nakada2023-10-031-2/+2
|
* Create dummy files in build dir in setup [ci skip]Nobuyoshi Nakada2023-10-034-10/+19
|
* [rubygems/rubygems] Update suggested variable for bindirHiroshi SHIBATA2023-10-031-2/+2
| | | | https://github.com/rubygems/rubygems/commit/f9cc6fed25
* YJIT: Fix assert_no_exits (#8579)Takashi Kokubun2023-10-021-7/+7
|
* Trigger Cirrus if YJIT tests are modifiedTakashi Kokubun2023-10-021-1/+1
|
* `yield` cannot be placed outside methods even in blocksNobuyoshi Nakada2023-10-023-2/+10
|
* Dump name of method for imemo callinfoPeter Zhu2023-10-022-0/+14
| | | | | This commit dumps the `mid` of the imemo callinfo when calling `ObjectSpace.dump_all`.
* [ruby/prism] [DOC] Link fixBurdetteLamar2023-10-021-1/+1
| | | | https://github.com/ruby/prism/commit/472bdc4d70
* Adopt prism CallNode#name changesBenoit Daloze2023-10-021-1/+1
|
* Sync with prism CallNode#name changesBenoit Daloze2023-10-02584-2848/+2871
| | | | * https://github.com/ruby/prism/pull/1533
* [ci skip] More docs for InstructionSequence.compileMatt Valentine-House2023-10-021-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit documents that you can also pass a `File` object to `RubyVM::InstructionSequence.compile`, instead of a string, and this will behave in a similar way to `RubyVM::InstructionSequence.compile_file` e.g. ``` ❯ ./ruby -e "puts RubyVM::InstructionSequence.compile(File.open('test.rb')).disasm" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(2,21)> local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 1] name@0 0000 putstring "Ruby" ( 1)[Li] 0002 setlocal_WC_0 name@0 0004 putself ( 2)[Li] 0005 putobject "Hello, " 0007 getlocal_WC_0 name@0 0009 dup 0010 objtostring <calldata!mid:to_s, argc:0, FCALL|ARGS_SIMPLE> 0012 anytostring 0013 concatstrings 2 0015 opt_send_without_block <calldata!mid:puts, argc:1, FCALL|ARGS_SIMPLE> 0017 leave ~/git/ruby master* ≡ ⇡ ❯ ./ruby -e "puts RubyVM::InstructionSequence.compile(File.open('test.rb').read).disasm" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(2,21)> local table (size: 1, argc: 0 [opts: 0, rest: -1, post: 0, block: -1, kw: -1@-1, kwrest: -1]) [ 1] name@0 0000 putstring "Ruby" ( 1)[Li] 0002 setlocal_WC_0 name@0 0004 putself ( 2)[Li] 0005 putobject "Hello, " 0007 getlocal_WC_0 name@0 0009 dup 0010 objtostring <calldata!mid:to_s, argc:0, FCALL|ARGS_SIMPLE> 0012 anytostring 0013 concatstrings 2 0015 opt_send_without_block <calldata!mid:puts, argc:1, FCALL|ARGS_SIMPLE> 0017 leave ``` This is explicitly allowed by this code path in `rb_iseq_compile_with_option` so we should document it. ``` if (RB_TYPE_P(src, T_FILE)) { parse = rb_parser_compile_file_path; } else { parse = rb_parser_compile_string_path; StringValue(src); } ```
* Include new node types into %printeryui-knk2023-10-021-3/+3
|
* [ruby/psych] Update SnakeYAML Engine to 2.7Charles Oliver Nutter2023-10-021-1/+1
| | | | https://github.com/ruby/psych/commit/094c811588
* [ruby/psych] Add test for code_point_limitCharles Oliver Nutter2023-10-021-0/+19
| | | | | | Only supported on JRuby currently. https://github.com/ruby/psych/commit/0c1754eefe
* [rubygems/rubygems] Support Ruby's preview version format (Ex: ↵Harshal Bhakta2023-10-022-1/+17
| | | | | | 3.3.0-preview2) in Gemfile https://github.com/rubygems/rubygems/commit/4c1a0511b6
* [rubygems/rubygems] Include gemspec in ExtensionTask for native gem tasksGraham Marlow2023-10-022-4/+12
| | | | https://github.com/rubygems/rubygems/commit/042cfb7007
* Check the result of get_nd_recv before node type check for safetyYuichiro Kaneko2023-10-021-3/+3
| | | Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Remove not used fields from call nodesyui-knk2023-10-022-18/+0
|
* Correctly casting node for accessing nd_recv, nd_mid and nd_args in compile.cyui-knk2023-10-021-29/+96
|
* Correctly casting node for accessing nd_args in parse.yyui-knk2023-10-021-2/+30
|
* Use rb_node_fcall_t instead of NODEyui-knk2023-10-021-13/+15
|
* [DOC] Another example for spawn (#8575)Burdette Lamar2023-10-011-8/+14
|
* Use the hexdigit character classNobuyoshi Nakada2023-10-021-4/+4
|
* [Bug #19906] Add the testNobuyoshi Nakada2023-10-011-0/+10
|
* Use reference counting to avoid memory leak in kwargsHParker2023-10-014-2/+18
| | | | | | | | Tracks other callinfo that references the same kwargs and frees them when all references are cleared. [bug #19906] Co-authored-by: Peter Zhu <peter@peterzhu.ca>
* tool/enc-unicode.rb: make the condition concice with flip-flopNobuyoshi Nakada2023-10-011-2/+1
| | | | And regexps are not necessary here.
* Use rb_node_block_pass_t instead of NODEyui-knk2023-10-011-8/+11
|
* Use rb_node_args_t and rb_node_args_aux_t instead of NODEyui-knk2023-10-014-48/+54
|
* Move repeating `matches` and `unmatches` to keyword argumentsNobuyoshi Nakada2023-10-011-46/+48
| | | | And default to the corresponding instance variables.
* Add tests for Unicode age property 15.0Nobuyoshi Nakada2023-10-011-24/+101
|
* Use rb_node_opt_arg_t and rb_node_kw_arg_t instead of NODEyui-knk2023-10-016-49/+54
|
* [ruby/irb] Fix Reline's test failure running with `make test-alltomoya ishida2023-09-304-3/+5
| | | | | | | | | | | TESTS='reline irb'` (https://github.com/ruby/irb/pull/722) * Specify TestInputMethod in test to avoid RelineInputMethod to be used * Reset Reline in teardown to avoid test failure of `make test-all TESTS="irb reline"` https://github.com/ruby/irb/commit/5d67967eb1
* [ruby/open3] [DOC] RDoc for Open3BurdetteLamar2023-09-301-12/+86
| | | | https://github.com/ruby/open3/commit/0aadba9fe6
* [ruby/open3] [DOC] RDoc for Open3Burdette Lamar2023-09-301-22/+81
| | | | | | (https://github.com/ruby/open3/pull/15) https://github.com/ruby/open3/commit/f3191920aa
* [rubygems/rubygems] Update SPDX list and warn on deprecated identifiers.Josef Šimánek2023-09-304-57/+117
| | | | https://github.com/rubygems/rubygems/commit/61667028f5
* Extract `ripper_parser_params`Nobuyoshi Nakada2023-09-301-76/+42
|
* Stop saving source locations unnecessarilyNobuyoshi Nakada2023-09-301-19/+1
| | | | | `node_newnode` and `parser_dispatch_delayed_token` do not use or change `ruby_sourceline`.
* Take line number from the tracked token locationNobuyoshi Nakada2023-09-301-4/+1
|
* Remove not used fields from FOR_MASGNyui-knk2023-09-302-4/+0
|
* Fix failures when all network interfaces are downNobuyoshi Nakada2023-09-302-1/+7
|
* Remove not used fields from OP_ASGN_AND, OP_ASGN_ORyui-knk2023-09-302-4/+0
|
* Remove not used fields from HASHyui-knk2023-09-302-2/+0
|
* Remove not used fields from BEGINyui-knk2023-09-302-4/+0
|