summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-03[rubygems/rubygems] Don't re-resolve with prereleases if unlocked gem has no ↵David Rodriguez
prereleases https://github.com/rubygems/rubygems/commit/d76dc70d90
2023-10-03[rubygems/rubygems] Fix typoDavid Rodriguez
https://github.com/rubygems/rubygems/commit/64e7a2656a
2023-10-03[DOC] Link fixesBurdetteLamar
2023-10-03[rubygems/rubygems] Fix invalid links in documentation. - wrap ENV variables ↵Josef Šimánek
in <code> - fix rubygems.org link - fix zenspider.com link https://github.com/rubygems/rubygems/commit/9eaac94a63
2023-10-03[rubygems/rubygems] 🐛 Specification of branch or ref with tag is ambiguousPeter Boling
- Specs for GitProxy were incorrect and insufficient - Specs are now correct and less insufficient https://github.com/rubygems/rubygems/commit/63d0a8cfd0
2023-10-03[rubygems/rubygems] 🚨 Rubocop LintingPeter Boling
https://github.com/rubygems/rubygems/commit/2851e051c3
2023-10-03[rubygems/rubygems] Fix typo: eglible -> eligible.Josef Šimánek
https://github.com/rubygems/rubygems/commit/1e487e1337
2023-10-03[ruby/csv] [DOC] Fix broken linksBurdette Lamar
(https://github.com/ruby/csv/pull/283) https://github.com/ruby/csv/commit/af64a15b2f
2023-10-03[ruby/csv] Add CSV::InvalidEncodingErrorKosuke Shibata
(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
2023-10-03[DOC] State the precision of `Process.times` as platform-definedNobuyoshi Nakada
Remove the bad example that can lead to misunderstanding as if this precision is defined in Ruby.
2023-10-03Check by integer modulo instead of float stringNobuyoshi Nakada
2023-10-03Create dummy files in build dir in setup [ci skip]Nobuyoshi Nakada
2023-10-03[rubygems/rubygems] Update suggested variable for bindirHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/f9cc6fed25
2023-10-02YJIT: Fix assert_no_exits (#8579)Takashi Kokubun
2023-10-02Trigger Cirrus if YJIT tests are modifiedTakashi Kokubun
2023-10-02`yield` cannot be placed outside methods even in blocksNobuyoshi Nakada
2023-10-02Dump name of method for imemo callinfoPeter Zhu
This commit dumps the `mid` of the imemo callinfo when calling `ObjectSpace.dump_all`.
2023-10-02[ruby/prism] [DOC] Link fixBurdetteLamar
https://github.com/ruby/prism/commit/472bdc4d70
2023-10-02Adopt prism CallNode#name changesBenoit Daloze
2023-10-02Sync with prism CallNode#name changesBenoit Daloze
* https://github.com/ruby/prism/pull/1533
2023-10-02[ci skip] More docs for InstructionSequence.compileMatt Valentine-House
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); } ```
2023-10-02Include new node types into %printeryui-knk
2023-10-02[ruby/psych] Update SnakeYAML Engine to 2.7Charles Oliver Nutter
https://github.com/ruby/psych/commit/094c811588
2023-10-02[ruby/psych] Add test for code_point_limitCharles Oliver Nutter
Only supported on JRuby currently. https://github.com/ruby/psych/commit/0c1754eefe
2023-10-02[rubygems/rubygems] Support Ruby's preview version format (Ex: ↵Harshal Bhakta
3.3.0-preview2) in Gemfile https://github.com/rubygems/rubygems/commit/4c1a0511b6
2023-10-02[rubygems/rubygems] Include gemspec in ExtensionTask for native gem tasksGraham Marlow
https://github.com/rubygems/rubygems/commit/042cfb7007
2023-10-02Check the result of get_nd_recv before node type check for safetyYuichiro Kaneko
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2023-10-02Remove not used fields from call nodesyui-knk
2023-10-02Correctly casting node for accessing nd_recv, nd_mid and nd_args in compile.cyui-knk
2023-10-02Correctly casting node for accessing nd_args in parse.yyui-knk
2023-10-02Use rb_node_fcall_t instead of NODEyui-knk
2023-10-01[DOC] Another example for spawn (#8575)Burdette Lamar
2023-10-02Use the hexdigit character classNobuyoshi Nakada
2023-10-01[Bug #19906] Add the testNobuyoshi Nakada
2023-10-01Use reference counting to avoid memory leak in kwargsHParker
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>
2023-10-01tool/enc-unicode.rb: make the condition concice with flip-flopNobuyoshi Nakada
And regexps are not necessary here.
2023-10-01Use rb_node_block_pass_t instead of NODEyui-knk
2023-10-01Use rb_node_args_t and rb_node_args_aux_t instead of NODEyui-knk
2023-10-01Move repeating `matches` and `unmatches` to keyword argumentsNobuyoshi Nakada
And default to the corresponding instance variables.
2023-10-01Add tests for Unicode age property 15.0Nobuyoshi Nakada
2023-10-01Use rb_node_opt_arg_t and rb_node_kw_arg_t instead of NODEyui-knk
2023-09-30[ruby/irb] Fix Reline's test failure running with `make test-alltomoya ishida
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
2023-09-30[ruby/open3] [DOC] RDoc for Open3BurdetteLamar
https://github.com/ruby/open3/commit/0aadba9fe6
2023-09-30[ruby/open3] [DOC] RDoc for Open3Burdette Lamar
(https://github.com/ruby/open3/pull/15) https://github.com/ruby/open3/commit/f3191920aa
2023-09-30[rubygems/rubygems] Update SPDX list and warn on deprecated identifiers.Josef Šimánek
https://github.com/rubygems/rubygems/commit/61667028f5
2023-09-30Extract `ripper_parser_params`Nobuyoshi Nakada
2023-09-30Stop saving source locations unnecessarilyNobuyoshi Nakada
`node_newnode` and `parser_dispatch_delayed_token` do not use or change `ruby_sourceline`.
2023-09-30Take line number from the tracked token locationNobuyoshi Nakada
2023-09-30Remove not used fields from FOR_MASGNyui-knk
2023-09-30Fix failures when all network interfaces are downNobuyoshi Nakada